Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread shyla deshpande
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.(EnhancedSession.scala:40)
at
org.apache.zeppelin.cassandra.InterpreterLogic.(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$.(DisplaySystem.scala:369)
at
org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.(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.(EnhancedSession.scala:40)
at
org.apache.zeppelin.cassandra.InterpreterLogic.(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

Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread shyla deshpande
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  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
>
> https://github.com/apache/zeppelin/blob/master/cassandra/pom.xml#L109
>
> shyla deshpande  于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  wrote:
>>
>>> Do you binary version or building it from source ? It seems due to scala
>>> version issue.
>>>
>>> shyla deshpande  于2018年12月23日周日 下午2:08写道:
>>>
 Cassandra Interpreter on emr-5.20.0 gives error
 [image: CassandraInterpreterError.png]
 Thank
 -Shyla


>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>


Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread Jeff Zhang
Is it possible to just downgrade spark ?

shyla deshpande  于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  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
>>
>> https://github.com/apache/zeppelin/blob/master/cassandra/pom.xml#L109
>>
>> shyla deshpande  于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  wrote:
>>>
 Do you binary version or building it from source ? It seems due to
 scala version issue.

 shyla deshpande  于2018年12月23日周日 下午2:08写道:

> Cassandra Interpreter on emr-5.20.0 gives error
> [image: CassandraInterpreterError.png]
> Thank
> -Shyla
>
>

 --
 Best Regards

 Jeff Zhang

>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang


Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread Jeff Zhang
Could you check the cassandra interpreter log ?

shyla deshpande  于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.
> [image: Screen Shot 2018-12-23 at 10.48.51 PM.png]
>
>
> On Sun, Dec 23, 2018 at 10:25 PM Jeff Zhang  wrote:
>
>> Is it possible to just downgrade spark ?
>>
>> shyla deshpande  于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  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

 https://github.com/apache/zeppelin/blob/master/cassandra/pom.xml#L109

 shyla deshpande  于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  wrote:
>
>> Do you binary version or building it from source ? It seems due to
>> scala version issue.
>>
>> shyla deshpande  于2018年12月23日周日 下午2:08写道:
>>
>>> Cassandra Interpreter on emr-5.20.0 gives error
>>> [image: CassandraInterpreterError.png]
>>> Thank
>>> -Shyla
>>>
>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

 --
 Best Regards

 Jeff Zhang

>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang


Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread 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

https://github.com/apache/zeppelin/blob/master/cassandra/pom.xml#L109

shyla deshpande  于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  wrote:
>
>> Do you binary version or building it from source ? It seems due to scala
>> version issue.
>>
>> shyla deshpande  于2018年12月23日周日 下午2:08写道:
>>
>>> Cassandra Interpreter on emr-5.20.0 gives error
>>> [image: CassandraInterpreterError.png]
>>> Thank
>>> -Shyla
>>>
>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang


Re: Cassandra Interpreter on emr-5.20.0 gives error

2018-12-23 Thread shyla deshpande
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  wrote:

> Do you binary version or building it from source ? It seems due to scala
> version issue.
>
> shyla deshpande  于2018年12月23日周日 下午2:08写道:
>
>> Cassandra Interpreter on emr-5.20.0 gives error
>> [image: CassandraInterpreterError.png]
>> Thank
>> -Shyla
>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>