spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeanlyn <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-6392][SQL]Minor fix ClassNotFound excep...
Date Wed, 18 Mar 2015 02:22:21 GMT
GitHub user jeanlyn opened a pull request:

    https://github.com/apache/spark/pull/5079

    [SPARK-6392][SQL]Minor fix ClassNotFound exception when use spark cli to add jar 

    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:
    ```sql
    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
    ```
    we can use the spark physical plan to fix this problem

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jeanlyn/spark SPARK-6392

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5079.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5079
    
----
commit ca958493957e7cc5f49dc318bcbf213793a991c0
Author: jeanlyn <jeanlyn92@gmail.com>
Date:   2015-03-18T02:02:35Z

    use spark physical plan when add jar

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message