Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.