Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

livy start error

avatar
Explorer

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

1 ACCEPTED SOLUTION

avatar
Explorer

This seems to be related to the maven version I used. Not a livy problem.

View solution in original post

1 REPLY 1

avatar
Explorer

This seems to be related to the maven version I used. Not a livy problem.