You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Konstantin (Jira)" <ji...@apache.org> on 2019/09/04 09:36:00 UTC
[jira] [Comment Edited] (LIVY-636) Unable to create interactive
session with additional JAR in spark.driver.extraClassPath
[ https://issues.apache.org/jira/browse/LIVY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922323#comment-16922323 ]
Konstantin edited comment on LIVY-636 at 9/4/19 9:35 AM:
---------------------------------------------------------
Exactly same exception when trying to add jar from HDFS through the "jars" field in the spark session; possibly for the same reason. Tried to add the main class to the jar (it was meant to be library-only, so there was no main class presented initially) - exception goes away, but imports from this jar in the session statements are still impossible.
was (Author: cerberuser):
Exactly same exception when trying to add jar from HDFS through the "jars" field; possibly for the same reason. Tried to add the main class to the jar (it was meant to be library-only, so there was no main class presented initially) - exception goes away, but imports from this jar are still impossible.
> 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.2#803003)