You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jeanlyn (JIRA)" <ji...@apache.org> on 2015/07/20 05:17:04 UTC

[jira] [Closed] (SPARK-6392) [SQL]class not found exception thows when `add jar` use spark cli

     [ https://issues.apache.org/jira/browse/SPARK-6392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jeanlyn closed SPARK-6392.
--------------------------
    Resolution: Fixed

> [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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org