onedigit commented on pull request #170:
URL: https://github.com/apache/incubator-livy/pull/170#issuecomment-703122226


   This problem persists in the current master. I believe the PR from 
@akitanaka is needed to solve this problem
   ```
           at 
org.apache.livy.utils.SparkYarnApp$.yarnClient(SparkYarnApp.scala:52)
           at 
org.apache.livy.utils.SparkYarnApp$$anon$1.run(SparkYarnApp.scala:78)
   Caused by: java.lang.ClassNotFoundException: 
javax.ws.rs.ext.MessageBodyReader
           at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
           ... 54 more
   java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.hadoop.yarn.util.timeline.TimelineUtils
           at 
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceInit(YarnClientImpl.java:200)
           at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
           at 
org.apache.livy.utils.SparkYarnApp$.yarnClient$lzycompute(SparkYarnApp.scala:54)
   ```
   And then I see the exact same issue that @akitanaka describes, i.e. the Livy 
session remains in `starting` state.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to