DataStax distribution version 6.7

From: Jeff Zhang <zjf...@gmail.com>
Reply-To: "users@zeppelin.apache.org" <users@zeppelin.apache.org>
Date: Sunday, April 28, 2019 at 11:01 PM
To: users <users@zeppelin.apache.org>
Subject: [EXTERNAL] Re: Issue working with R/SparkR

Which spark version do you use ?

arvindsheri...@northwesternmutual.com<mailto:arvindsheri...@northwesternmutual.com>
 
<arvindsheri...@northwesternmutual.com<mailto:arvindsheri...@northwesternmutual.com>>
 于2019年4月29日周一 上午10:23写道:
https://zeppelin.apache.org/docs/0.8.1/interpreter/r.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__zeppelin.apache.org_docs_0.8.1_interpreter_r.html&d=DwMFaQ&c=oBIBfyrVf5fVcKOfTTdY_d7WoqYVCfQW6jezwvkj5jg&r=2ozYxxrO5uy6i7CP-nMc0wdBTNfkSGa4age9CqpA0b3LBZZ_7ZITfmsqWijkzea1&m=R9XdjivdKYjYFmH_RUlm1VSWtiBcfNWHMgP6hbxtMJI&s=-p1MV9gJn5XAIepg-nkje92IM9e_kPaXsv8m7AYXSnA&e=>

I am trying out a basic command as shown in the link above and I get the 
following error. Any help will be appreciated.

%spark.r
2+2

java.lang.ClassCastException: scala.Tuple2 cannot be cast to java.lang.Integer 
at scala.runtime.BoxesRunTime.unboxToInt(BoxesRunTime.java:101) at 
org.apache.spark.SparkRBackend$.init(SparkRBackend.scala:42) at 
org.apache.spark.SparkRBackend.init(SparkRBackend.scala) at 
org.apache.zeppelin.spark.SparkRInterpreter.open(SparkRInterpreter.java:88) at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
 at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:616)
 at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:140) 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)

Thanks
Arvind


This e-mail and any attachments may contain confidential information of 
Northwestern Mutual. If you are not the intended recipient of this message, be 
aware that any disclosure, copying, distribution or use of this e-mail and any 
attachments is prohibited. If you have received this e-mail in error, please 
notify Northwestern Mutual immediately by returning it to the sender and delete 
all copies from your system. Please be advised that communications with {SECURE 
MESSAGE} in the subject line have been sent using a secure messaging system. 
Communications that do not have this tag may not be secure and could be 
observed by a third party. Thank you for your cooperation.



--
Best Regards

Jeff Zhang



This e-mail and any attachments may contain confidential information of 
Northwestern Mutual. If you are not the intended recipient of this message, be 
aware that any disclosure, copying, distribution or use of this e-mail and any 
attachments is prohibited. If you have received this e-mail in error, please 
notify Northwestern Mutual immediately by returning it to the sender and delete 
all copies from your system. Please be advised that communications with {SECURE 
MESSAGE} in the subject line have been sent using a secure messaging system. 
Communications that do not have this tag may not be secure and could be 
observed by a third party. Thank you for your cooperation. 


Reply via email to