Member since
08-17-2016
2
Posts
0
Kudos Received
0
Solutions
09-11-2018
02:13 PM
Running HDP 2.6.5 and Spark 2.11 R-3.4.4 Sample code attempted to be executed: %spark2.r print("%html <h3>Hello HTML</h3>") print("<font color='blue'><span class='fa fa-bars'> Easy...</font></span>") for (i in 1:10) { print(paste0("<h4>", i, " * 2 = ", i*2, "</h4>")) } Results: java.lang.NoSuchMethodError: scala.runtime.ObjectRef.create(Ljava/lang/Object;)Lscala/runtime/ObjectRef;
at org.apache.zeppelin.spark.ZeppelinRDisplay$.htmlDisplay(ZeppelinRDisplay.scala:91)
at org.apache.zeppelin.spark.ZeppelinRDisplay$.render(ZeppelinRDisplay.scala:66)
at org.apache.zeppelin.spark.ZeppelinRDisplay.render(ZeppelinRDisplay.scala)
at org.apache.zeppelin.spark.SparkRInterpreter.interpret(SparkRInterpreter.java:150)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:101)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:502)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... View more
Labels:
07-18-2018
03:36 PM
Unable to use spark2.r interpreters because this class is missing from the accompanying jar file, why? I have a sand box which has 2.6.4 and it's jar file DOES include that class. What happened?
... View more
Labels: