jeanlyn created SPARK-6392:
------------------------------

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

Reply via email to