[
https://issues.apache.org/jira/browse/SPARK-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366506#comment-14366506
]
Apache Spark commented on SPARK-6392:
-------------------------------------
User 'jeanlyn' has created a pull request for this issue:
https://github.com/apache/spark/pull/5079
> [SQL]class not found exception thows when `add jar` use spark cli
> ------------------------------------------------------------------
>
> Key: SPARK-6392
> URL: https://issues.apache.org/jira/browse/SPARK-6392
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.2.0
> Reporter: jeanlyn
> Priority: Minor
>
> When we use spark cli to add jar dynamic,we will get the
> *java.lang.ClassNotFoundException* when we use the class of jar to create
> udf.For example:
> {noformat}
> spark-sql> add jar /home/jeanlyn/hello.jar;
> spark-sql>create temporary function hello as 'hello';
> spark-sql>select hello(name) from person;
> Job aborted due to stage failure: Task 0 in stage 1.0 failed 1 times, most
> recent failure: Lost task 0.0 in stage 1.0 (TID 1, localhost):
> java.lang.ClassNotFoundException: hello
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]