[ https://issues.apache.org/jira/browse/LIVY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141791#comment-17141791 ]
yuuya commented on LIVY-636: ---------------------------- Hi Here's the solution Set config spark`s scala-library-\{version}.jar and livy`s repl_\{version}-jars/* {code:java} livy.repl.jars=/usr/lib/spark/jars/scala-library-2.11.12.jar,/usr/local/lib/livy/repl_2.11-jars/commons-codec-1.9.jar,/usr/local/lib/livy/repl_2.11-jars/livy-core_2.11-0.7.0-incubating.jar,/usr/local/lib/livy/repl_2.11-jars/livy-repl_2.11-0.7.0-incubating.jar{code} What kind of policy should you handle as a project in the future? > Unable to create interactive session with additional JAR in > spark.driver.extraClassPath > --------------------------------------------------------------------------------------- > > Key: LIVY-636 > URL: https://issues.apache.org/jira/browse/LIVY-636 > Project: Livy > Issue Type: Bug > Affects Versions: 0.6.0 > Reporter: Ishita Virmani > Priority: Major > Attachments: applicationmaster.log, container.log, stacktrace.txt, > test.png > > > Command Run: c{{url -H "Content-Type: application/json" -X POST -d > '\{"kind":"pyspark","conf":{"spark.driver.extraClassPath":"/data/XXX-0.0.1-SNAPSHOT.jar"}}' > -i http://<LIVY_SERVER_IP:PORT>/session}} > {{The above command fails to create a Spark Session on YARN with Null pointer > exception. Stack trace for the same has been attached along-with.}} > The JAR file here is present on local driver Path. Also tried using HDFS path > in the following manner > {{hdfs://<NM_IP>:<NM_Port>/data/XXX-0.0.1-SNAPSHOT.jar}} -- This message was sent by Atlassian Jira (v8.3.4#803005)