GitHub user oeegee opened a pull request:
https://github.com/apache/zeppelin/pull/1346
Update Utils.java
### What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide -
https://github.com/apache/zeppelin/blob/master/CONTRIBUTING.md
### What type of PR is it?
Bug Fix
### Todos
* [ ] - Task
### What is the Jira issue?
* Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
* Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg.
[ZEPPELIN-533]
### How should this be tested?
Outline the steps to test the PR here.
### Screenshots (if appropriate)
ERROR [2016-08-18 16:25:41,042] ({pool-2-thread-17} Job.java[run]:189) -
Job failed
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.zeppelin.spark.Utils.isScala2_10(Utils.java:88)
at
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:570)
at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341)
at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
at
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
INFO [2016-08-18 16:25:41,042] ({pool-2-thread-17}
SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1471505141040
finished by scheduler org.apache.zeppelin.spark.SparkInterpreter957201969
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
add catch clasuse : for scala-2.11.x
//////////////////////////////////////////////////////////////////////
} catch (IncompatibleClassChangeError e) {
return false;
}
//////////////////////////////////////////////////////////////////////
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oeegee/zeppelin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1346.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 #1346
----
commit 783471fdaa7de82c94dc9db0a171abdaa6e96ec6
Author: Daniel Jeon <[email protected]>
Date: 2016-08-19T11:13:21Z
Update Utils.java
add catch clasuse : for scala-2.11.x
//////////////////////////////////////////////////////////////////////
} catch (IncompatibleClassChangeError e) {
return false;
}
//////////////////////////////////////////////////////////////////////
----
---
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.
---