Would you mind listing the steps to reproduce your issue, and how do you use REST APIs?
Thanks Saisai Pavel Sivak <sivakpa...@gmail.com> 于2019年8月10日周六 上午11:01写道: > Hi, > My idea is to create livy session with my library in class path using > "jars" parameter. > I'm using REST API to create a session. After sending POST request I can > see that spark session is UP, I can use Spark UI and there's my jar in the > Environment TAB. > But status of the session in livy is "Starting"... > This is example from log file: > >> 19/08/09 22:10:37 INFO driver.SparkEntries: Created Spark session. >> Exception in thread "main" java.lang.NullPointerException >> at org.apache.livy.rsc.driver.JobWrapper.cancel(JobWrapper.java:90) >> at org.apache.livy.rsc.driver.RSCDriver.shutdown(RSCDriver.java:127) >> at org.apache.livy.rsc.driver.RSCDriver.run(RSCDriver.java:356) >> at >> org.apache.livy.rsc.driver.RSCDriverBootstrapper.main(RSCDriverBootstrapper.java:93) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498) >> at >> org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52) >> at >> org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:849) >> at >> org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:167) >> at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:195) >> >> Without my library livy session I'm getting livy session in Idle status. > Can you help me to figure this out? > Thanks > -- > Best wishes, > Pavel Sivak >