Cassandra Interpreter on emr-5.20.0 gives error

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Cassandra Interpreter on emr-5.20.0 gives error

shyla
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla

Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

Jeff Zhang
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error

Thank
-Shyla



--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

Jeff Zhang

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

Jeff Zhang
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.
Screen Shot 2018-12-23 at 10.48.51 PM.png


On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

Jeff Zhang
Could you check the cassandra interpreter log ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:50写道:
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.



On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
ERROR [2018-12-24 07:38:18,097] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.ExceptionInInitializerError
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.fusesource.scalate.TemplateException: scala/reflect/internal/Reporter
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:732)
        at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:699)
        at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:419)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:413)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:471)
        at org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:573)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<init>(DisplaySystem.scala:369)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<clinit>(DisplaySystem.scala)
        ... 14 more
Caused by: java.lang.NoClassDefFoundError: scala/reflect/internal/Reporter
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.fusesource.scalate.support.ScalaCompiler$.create(ScalaCompiler.scala:42)
        at org.fusesource.scalate.TemplateEngine.createCompiler(TemplateEngine.scala:231)
        at org.fusesource.scalate.TemplateEngine.compiler$lzycompute(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compiler(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:757)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: scala.reflect.internal.Reporter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 38 more
ERROR [2018-12-24 07:45:26,593] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.NoClassDefFoundError: Could not initialize class org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

On Sun, Dec 23, 2018 at 11:33 PM Jeff Zhang <[hidden email]> wrote:
Could you check the cassandra interpreter log ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:50写道:
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.
Screen Shot 2018-12-23 at 10.48.51 PM.png


On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
Just to be clear, spark cassandra connection is working fine. It is just the cassandra interpreter that is giving me the error.

On Sun, Dec 23, 2018 at 11:58 PM shyla deshpande <[hidden email]> wrote:
ERROR [2018-12-24 07:38:18,097] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.ExceptionInInitializerError
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.fusesource.scalate.TemplateException: scala/reflect/internal/Reporter
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:732)
        at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:699)
        at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:419)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:413)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:471)
        at org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:573)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<init>(DisplaySystem.scala:369)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<clinit>(DisplaySystem.scala)
        ... 14 more
Caused by: java.lang.NoClassDefFoundError: scala/reflect/internal/Reporter
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.fusesource.scalate.support.ScalaCompiler$.create(ScalaCompiler.scala:42)
        at org.fusesource.scalate.TemplateEngine.createCompiler(TemplateEngine.scala:231)
        at org.fusesource.scalate.TemplateEngine.compiler$lzycompute(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compiler(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:757)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: scala.reflect.internal.Reporter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 38 more
ERROR [2018-12-24 07:45:26,593] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.NoClassDefFoundError: Could not initialize class org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

On Sun, Dec 23, 2018 at 11:33 PM Jeff Zhang <[hidden email]> wrote:
Could you check the cassandra interpreter log ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:50写道:
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.
Screen Shot 2018-12-23 at 10.48.51 PM.png


On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

shyla
Now the Cassandra interpreter is working. There were some jar files missing in the Cassandra Interpreter. After copying those missing jar files to  cassandra Interpreter folder, it worked.
Thanks 
-Shyla

On Mon, Dec 24, 2018 at 9:37 AM shyla deshpande <[hidden email]> wrote:
Just to be clear, spark cassandra connection is working fine. It is just the cassandra interpreter that is giving me the error.

On Sun, Dec 23, 2018 at 11:58 PM shyla deshpande <[hidden email]> wrote:
ERROR [2018-12-24 07:38:18,097] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.ExceptionInInitializerError
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.fusesource.scalate.TemplateException: scala/reflect/internal/Reporter
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:732)
        at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:699)
        at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:419)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:413)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:471)
        at org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:573)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<init>(DisplaySystem.scala:369)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<clinit>(DisplaySystem.scala)
        ... 14 more
Caused by: java.lang.NoClassDefFoundError: scala/reflect/internal/Reporter
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.fusesource.scalate.support.ScalaCompiler$.create(ScalaCompiler.scala:42)
        at org.fusesource.scalate.TemplateEngine.createCompiler(TemplateEngine.scala:231)
        at org.fusesource.scalate.TemplateEngine.compiler$lzycompute(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compiler(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:757)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: scala.reflect.internal.Reporter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 38 more
ERROR [2018-12-24 07:45:26,593] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.NoClassDefFoundError: Could not initialize class org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

On Sun, Dec 23, 2018 at 11:33 PM Jeff Zhang <[hidden email]> wrote:
Could you check the cassandra interpreter log ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:50写道:
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.
Screen Shot 2018-12-23 at 10.48.51 PM.png


On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: Cassandra Interpreter on emr-5.20.0 gives error

Jeff Zhang
Could you create a jira for it and describe what jar is missing ? Thanks

shyla deshpande <[hidden email]> 于2018年12月25日周二 上午3:17写道:
Now the Cassandra interpreter is working. There were some jar files missing in the Cassandra Interpreter. After copying those missing jar files to  cassandra Interpreter folder, it worked.
Thanks 
-Shyla

On Mon, Dec 24, 2018 at 9:37 AM shyla deshpande <[hidden email]> wrote:
Just to be clear, spark cassandra connection is working fine. It is just the cassandra interpreter that is giving me the error.

On Sun, Dec 23, 2018 at 11:58 PM shyla deshpande <[hidden email]> wrote:
ERROR [2018-12-24 07:38:18,097] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.ExceptionInInitializerError
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.fusesource.scalate.TemplateException: scala/reflect/internal/Reporter
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:732)
        at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:699)
        at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:419)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:413)
        at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:471)
        at org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:573)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<init>(DisplaySystem.scala:369)
        at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.<clinit>(DisplaySystem.scala)
        ... 14 more
Caused by: java.lang.NoClassDefFoundError: scala/reflect/internal/Reporter
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.fusesource.scalate.support.ScalaCompiler$.create(ScalaCompiler.scala:42)
        at org.fusesource.scalate.TemplateEngine.createCompiler(TemplateEngine.scala:231)
        at org.fusesource.scalate.TemplateEngine.compiler$lzycompute(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compiler(TemplateEngine.scala:221)
        at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:757)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: scala.reflect.internal.Reporter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 38 more
ERROR [2018-12-24 07:45:26,593] ({pool-2-thread-2} Job.java[run]:190) - Job failed
java.lang.NoClassDefFoundError: Could not initialize class org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$
        at org.apache.zeppelin.cassandra.EnhancedSession.<init>(EnhancedSession.scala:40)
        at org.apache.zeppelin.cassandra.InterpreterLogic.<init>(InterpreterLogic.scala:98)
        at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
        at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
        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:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

On Sun, Dec 23, 2018 at 11:33 PM Jeff Zhang <[hidden email]> wrote:
Could you check the cassandra interpreter log ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:50写道:
No, the application versions are tied to the emr version.
So I tried now with emr-5.15.0, which comes with Spark 2.3.0 and Zeppelin 0.7.3.
I am still getting the same error.
Screen Shot 2018-12-23 at 10.48.51 PM.png


On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang <[hidden email]> wrote:
Is it possible to just downgrade spark ? 

shyla deshpande <[hidden email]> 于2018年12月24日周一 下午2:23写道:
Hi Jeff,
I am using emr-5.20.0 which comes with applications:Spark 2.4.0 and Zeppelin 0.8.0.
Are you suggesting I downgrade the emr version?
Thanks
-Shyla


On Sun, Dec 23, 2018 at 3:40 PM Jeff Zhang <[hidden email]> wrote:

I see the scope of scala-reflect in pom.xml is runtime. Could you also try the apache zeppelin version instead of AWS version ? I guess it may be a bug of apache zeppelin


shyla deshpande <[hidden email]> 于2018年12月24日周一 上午3:29写道:
Hi Jeff,
Thank you for your response.  My cluster is on AWS EMR.  Since it is all preconfigured, I was assuming there won't be any version mismatch. 
Can you please give me more info as to where I should be looking at.

Thanks
-Shyla

On Sat, Dec 22, 2018 at 10:49 PM Jeff Zhang <[hidden email]> wrote:
Do you binary version or building it from source ? It seems due to scala version issue. 

shyla deshpande <[hidden email]> 于2018年12月23日周日 下午2:08写道:
Cassandra Interpreter on emr-5.20.0 gives error
CassandraInterpreterError.png
Thank
-Shyla



--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang