-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./compile.sh: line 53: play: command not found #700
Comments
Hi Guys, Run the main command alongwith the extra commands passed as arguments to compile.shecho "Command is: play $OPTS clean compile test $extra_commands" |
Hi, You must have play or activator command installed. PS : duplicated issue : 44 |
Hi, [info] Compiling 98 Scala sources and 160 Java sources to /usr/local/dr-elephant-master/target/scala-2.10/classes... Can you please help me on this. |
[error] (compile:compileIncremental) java.io.IOException: Cannot run program "javac" (in directory "/usr/local/dr-elephant-master"): error=2, No such file or directory |
Can anyone help me on this. When i running compile.sh script and throwing below error in SparkDataCollection file in below path and error. [warn] /usr/local/dr-elephant-master/app/org/apache/spark/deploy/history/SparkDataCollection.scala:313: abstract type pattern T is unchecked since it is eliminated by erasure |
@vempadh the real issue is
For SparkDataCollection, there is just a warning and nothing else. I have never faced this issue so not sure how to resolve this issue. From the message seems like Java is not available in the path. Kindly check by executing any simple Java script. |
@ShubhamGupta29 : Thanks for your replay. We resolved the issue and started Dr.Elephant and can be see the Web UI as well. But we didn't find any jobs in UI level. Any suggestions on this. |
I was facing below error because of unable to see the Spark and Hive jobs in UI. 2020-09-29 09:00:33,745 - [ERROR] - from play.nettyException in New I/O worker #7 |
Hi All, 09-29-2020 12:40:51 ERROR [dr-el-executor-thread-0] com.linkedin.drelephant.ElephantRunner : Failed to analyze TEZ application_1599981649784_4661 Caused by: java.net.UnknownHostException: null |
@vempadh seems like the endpoint which Dr.Elephant is trying to call is not available, kindly check if some information exists at the link which you provided above as the failure reason. |
What was the reason for this issue and how did you resolve it? It would be good if you can mention details so if some other user faces this issue than would be unblocked by your resolution. |
@ShubhamGupta29 : Still not yet resolved this issue. [error] p.nettyException - Exception caught in Netty |
@vempadh check if you are calling the Dr.Elephant's REST endpoint have HTTPs? If yes then try without HTTPs |
@ShubhamGupta29 : I have login Dr.elephant web UI through http only. Can you please provide more information about Dr.Elephant REST and do you need to made any configuration changes in dr.elephant. |
Kindly add dr-elephant/logs/application.log and dr-elephant/dr.log here. Also mention the changes you made to Dr.Elephant, especially if you changed the Play version. I am still of opinion that Dr.Elephant is getting requests with HTTPS instead of HTTP only. |
@ShubhamGupta29 : Attached requested logs. i didn't made any changes in HTTPS and HTTP in dr.elephant. |
So your UI is loading, so you don't need to concern for the Netty logs for now. The main issue is that there are not jobs or applications shown in Dr.Elephant. Check the logs at the location |
@ShubhamGupta29 : Thank you! I have attached the dr-elephant.lof file. |
@vempadh quite evident that Dr.E could not get the Spark History Url from SPARK_HOME or SPARK_CONF_DIR (if properly set). Kindly check for |
@ShubhamGupta29 : The mentioned configuration parameter configured to spark-defaults.conf file in below. spark.yarn.historyServer.address azitshdpgtw01p.ecolab.com:18081 Is it correct? |
@ShubhamGupta29 : Yes, i have set properly in both Spark_Home & Spark_Conf_Dir. I have attached few xml files and fetcher xml file as well. |
@shahrukhkhan489 : We are using timeline service version :1.5 |
@ShubhamGupta29 : In yarn, we configured the below parameters. Can you please help me on this |
[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
############################################################################
up to date in 5.689s
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
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:
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]#
The text was updated successfully, but these errors were encountered: