GitHub user Leemoonsoo opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/446
ZEPPELIN-441 Make SparkInterpreter work even if Spark version is not listed
https://issues.apache.org/jira/browse/ZEPPELIN-441
Currently when spark version is not listed in SparkVersion.java, it throws
```
java.lang.IllegalArgumentException
at
org.apache.zeppelin.spark.SparkVersion.fromVersionString(SparkVersion.java:58)
at
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:477)
```
This PR changes SparkVersion from 'enum' to 'class' and make Spark
Interpreter work with unlisted version.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Leemoonsoo/incubator-zeppelin ZEPPELIN-441
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/446.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 #446
----
commit f6d3007b5cfa3bc4f730da2f24b53c39ae9d3a62
Author: Lee moon soo <[email protected]>
Date: 2015-11-18T15:41:04Z
enum -> class to handle unlisted Spark version
----
---
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.
---