Member since
10-01-2015
7
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2515 | 10-23-2015 08:40 AM | |
3676 | 10-02-2015 10:18 AM |
10-23-2015
08:40 AM
This seems to be related to the maven version I used. Not a livy problem.
... View more
10-22-2015
03:57 PM
I was running livy fine before. After a recent merge from the main branch, I am seeing the following error starting livy even i am running it the same way as before. Does this mean a JDK version problem? Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/ProcessBuilder$Redirect at com.cloudera.hue.livy.server.Main$.sparkSubmitVersion(Main.scala:130) at com.cloudera.hue.livy.server.Main$.testSparkSubmit(Main.scala:105) at com.cloudera.hue.livy.server.Main$.main(Main.scala:50) at com.cloudera.hue.livy.server.Main.main(Main.scala) Caused by: java.lang.ClassNotFoundException: java.lang.ProcessBuilder$Redirect at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) Thanks Lin
... View more
Labels:
- Labels:
-
Cloudera Hue
-
Security
10-02-2015
10:18 AM
Never mind, found the problem. When I setup the HADOOP_CONF_DIR, I didn't put a trailing /. As a result, Livy is not finding the right Yarn port to talk to and get the application status. It would be nice if the code can handle both the case where trailing / is present or not present. Thanks Lin
... View more
10-01-2015
08:50 PM
I noticed the following submiting batch job (jar) in Yarn mode. I am able to submit a jar and seem it is being issued to spark-submit correctly (the logged spark-submit command runs fine without livy context). However, after it is done, the status of the batch is as below: {"id":0,"state":"running","log":["\t diagnostics: N/A","\t ApplicationMaster host: 10.0.0.167","\t ApplicationMaster RPC port: 0","\t queue: default","\t start time: 1443732089755","\t final status: SUCCEEDED","\t tracking URL: http://servername:8088/proxy/application_1443668789912_0010/","\t user: root","15/10/01 20:42:31 INFO Utils: Shutdown hook called","15/10/01 20:42:31 INFO Utils: Deleting directory /tmp/spark-0343eaf9-c8e6-4f85-9200-6d3366851b1e"]} Livy still thinks the state is running but the log seems to indicate that the job is finished and SUCCEEDED. Any idea what might be happening here? Also once batch is in that state and I issue a delete, it will hang for a bit and then give the following timeout response. < HTTP/1.1 504 Gateway Timeout < Date: Thu, 01 Oct 2015 20:54:58 GMT < Content-Type: application/json; charset=UTF-8 < Content-Length: 15 < Server: Jetty(9.2.z-SNAPSHOT) < * Connection #0 to host headnode0 left intact * Closing connection #0 Gateway timeout Thanks Lin
... View more
Labels:
- Labels:
-
Apache Spark
-
Apache YARN
-
Gateway