diff options
author | Andrew Or <andrew@databricks.com> | 2014-11-12 13:35:48 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2014-11-12 13:35:48 -0800 |
commit | 6e3c5a296c90a551be5e6c7292a66f2e65338240 (patch) | |
tree | bd17a1534d553e7de5603d891fa7f1cdee827694 /graphx/src/main | |
parent | 36ddeb7bf83ac5a1af9d3db07ad4c380777e4d1a (diff) | |
download | spark-6e3c5a296c90a551be5e6c7292a66f2e65338240.tar.gz spark-6e3c5a296c90a551be5e6c7292a66f2e65338240.tar.bz2 spark-6e3c5a296c90a551be5e6c7292a66f2e65338240.zip |
[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)
...
at org.apache.spark.deploy.JarCreationTest$.main(SparkSubmitSuite.scala:472)
at org.apache.spark.deploy.JarCreationTest.main(SparkSubmitSuite.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
```
Author: Andrew Or <andrew@databricks.com>
Closes #3212 from andrewor14/submit-suite-message and squashes the following commits:
7779248 [Andrew Or] Format exception
8fe6719 [Andrew Or] Better exception message from failed test
Diffstat (limited to 'graphx/src/main')
0 files changed, 0 insertions, 0 deletions