[jira] [Commented] (LIVY-636) Unable to create interactive session with additional JAR in spark.driver.extraClassPath

2019-09-13 Thread Ishita Virmani (Jira)


[ 
https://issues.apache.org/jira/browse/LIVY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929079#comment-16929079
 ] 

Ishita Virmani commented on LIVY-636:
-

Hi [~Cerberuser],

Your solution seem to have worked. Thanks

But right now I manually removed Scala folder from my JAR. But is there any 
other way to remove Scala, since my library is coded in scala, and would thus 
include Scala in the JAR by default.

> 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:///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://:/data/XXX-0.0.1-SNAPSHOT.jar}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (LIVY-636) Unable to create interactive session with additional JAR in spark.driver.extraClassPath

2019-08-22 Thread Ishita Virmani (Jira)


[ 
https://issues.apache.org/jira/browse/LIVY-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16913049#comment-16913049
 ] 

Ishita Virmani commented on LIVY-636:
-

Hi [~runzhiwang]

Then the versions do not seem to be the issue. Can you please share the logs of 
the application created on YARN. From the screenshot above, looks like SC was 
shutdown.

> 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: 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:///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://:/data/XXX-0.0.1-SNAPSHOT.jar}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)