linkedin / linkedin/dr-elephant

./compile.sh: line 53: play: command not found

Open
#700 25 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
839
PR merge metrics
No merged PRs in 30d

Description

[root@azitshdpmst01p dr-elephant-master]# ./compile.sh
Checking for required programs...
Program requirement is fulfilled!
Using the default configuration
Hadoop Version : 2.3.0
Spark Version : 1.4.0
Other opts set :
############################################################################
npm installation found, we'll compile with the new user interface
############################################################################
+ sleep 3
+ ember_assets=/usr/local/dr-elephant-master/public/assets
+ ember_resources_dir=/usr/local/dr-elephant-master/public/assets/ember
+ ember_web_directory=/usr/local/dr-elephant-master/web
+ cd /usr/local/dr-elephant-master/web
+ npm install
up to date in 5.689s
+ node_modules/bower/bin/bower install
bower ESUDO Cannot be run with sudo

Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814

You can however run a command with sudo using "--allow-root" option
+ node_modules/ember-cli/bin/ember build --prod
WARNING: Node v8.1.1 has currently not been tested against Ember CLI and may result in unexpected behaviour.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Built project successfully. Stored in "dist/".
File sizes:
- dr-elephant.css: 8.61 KB (2.49 KB gzipped)
- dr-elephant.js: 277.74 KB (28.33 KB gzipped)
- aggregated-metrics.css: 207 B (156 B gzipped)
- application-menu.css: 334 B (218 B gzipped)
- application.css: 34 B (54 B gzipped)
- breadcrumbs.css: 1.36 KB (566 B gzipped)
- dashboard-header.css: 609 B (340 B gzipped)
- heuristic-detail.css: 127 B (109 B gzipped)
- heuristics-summary.css: 536 B (281 B gzipped)
- jobs-severity.css: 333 B (202 B gzipped)
- loading-panel.css: 129 B (126 B gzipped)
- navbar.css: 920 B (282 B gzipped)
- not-found.css: 76 B (74 B gzipped)
- search-panel.css: 39 B (59 B gzipped)
- search.css: 569 B (300 B gzipped)
- user-detail.css: 988 B (435 B gzipped)
- user-tabs.css: 725 B (321 B gzipped)
- user-tags.css: 76 B (75 B gzipped)
- vendor.css: 143.24 KB (24.08 KB gzipped)
- vendor.js: 1.22 MB (357.84 KB gzipped)
+ rm -r /usr/local/dr-elephant-master/public/assets/ember
+ mkdir /usr/local/dr-elephant-master/public/assets/ember
+ cp dist/assets/dr-elephant.css /usr/local/dr-elephant-master/public/assets/ember/
+ cp dist/assets/dr-elephant.js /usr/local/dr-elephant-master/public/assets/ember/
+ cp dist/assets/vendor.js /usr/local/dr-elephant-master/public/assets/ember/
+ cp dist/assets/vendor.css /usr/local/dr-elephant-master/public/assets/ember/
+ cp -r dist/fonts /usr/local/dr-elephant-master/public/assets/
+ cd /usr/local/dr-elephant-master
+ trap exit SIGINT SIGTERM
+ set +x
Command is: play -Dhadoopversion=2.3.0 -Dsparkversion=1.4.0 clean compile test
./compile.sh: line 53: play: command not found
Build failed...
[root@azitshdpmst01p dr-elephant-master]#

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading compile.sh at line 53 and inspect how the Play command is expected to be installed or located. Run ./compile.sh with the reported Hadoop 2.3.0 and Spark 1.4.0 settings; done means the clean compile test completes without "play: command not found".

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.