GitHub user andrewor14 opened a pull request:

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

    [Test] Better exception message from SparkSubmitSuite

    Before:
    ```
    Exception in thread "main" java.lang.Exception: Could not load user defined 
classes inside of executors
        at 
org.apache.spark.deploy.JarCreationTest$.main(SparkSubmitSuite.scala:471)
        at org.apache.spark.deploy.JarCreationTest.main(SparkSubmitSuite.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ```
    After:
    ```
    Exception in thread "main" java.lang.Exception: Could not load user class 
from jar:
    java.lang.UnsupportedClassVersionError: SparkSubmitClassA : Unsupported 
major.minor version 51.0
        java.lang.ClassLoader.defineClass1(Native Method)
        java.lang.ClassLoader.defineClass(ClassLoader.java:643)
    ```

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

    $ git pull https://github.com/andrewor14/spark submit-suite-message

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

    https://github.com/apache/spark/pull/3212.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 #3212
    
----
commit 8fe6719bfbf74966d7b244662931c377fd98585a
Author: Andrew Or <[email protected]>
Date:   2014-11-11T21:52:55Z

    Better exception message from failed test

commit 77792486c818e05286de0d69ffba524274e094ae
Author: Andrew Or <[email protected]>
Date:   2014-11-11T22:00:57Z

    Format exception

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to