You can refer [1] to load dependency loading library.

[1]
http://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/interpreter/spark.html#dependencyloading


2016-09-06 14:16 GMT+09:00 Hyung Sung Shim <hss...@nflabs.com>:

> Hello.
> How did you load library?
>
>
> 2016-09-06 13:49 GMT+09:00 Vikash Kumar <vikash.ku...@resilinc.com>:
>
>> Hi ,
>>
>> Is there anyone who is getting the same errors?
>>
>>
>>
>> Thanks and Regard,
>>
>> Vikash Kumar
>>
>>
>>
>> *From:* Vikash Kumar [mailto:vikash.ku...@resilinc.com]
>> *Sent:* Thursday, September 1, 2016 11:08 AM
>> *To:* users@zeppelin.apache.org
>> *Subject:* Spark error when loading phoenix-spark dependency
>>
>>
>>
>> Hi all,
>>
>>                 I am getting the following error when loading the
>> org.apache.phoenix:phoenix-spark:4.4.0-HBase-1.1 dependency from spark
>> interpreter. I am using Zeppelin *Version 0.6.2-SNAPSHOT* with spark
>> 1.6.1 and hdp 2.7.1.
>>
>>
>>
>> The packages that I am inporting is:
>>
>>             import org.apache.phoenix.spark._
>>
>> import org.apache.phoenix.spark.PhoenixRDD._
>>
>> import java.sql.{ Date, Timestamp}
>>
>> My build command is
>>
>>             mvn clean package -DskipTests -Drat.ignoreErrors=true
>> -Dcheckstyle.skip=true -Pspark-1.6 -Dspark.version=1.6.1 -Phadoop-2.6 –Pyarn
>>
>>
>>
>>
>>
>> java.lang.NoSuchMethodError: org.apache.spark.util.Utils$.r
>> esolveURIs(Ljava/lang/String;)Ljava/lang/String;
>>
>>                 at org.apache.spark.repl.SparkILo
>> op$.getAddedJars(SparkILoop.scala:1079)
>>
>>                 at org.apache.spark.repl.SparkILo
>> op.createInterpreter(SparkILoop.scala:210)
>>
>>                 at org.apache.zeppelin.spark.Spar
>> kInterpreter.open(SparkInterpreter.java:698)
>>
>>                 at org.apache.zeppelin.interprete
>> r.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
>>
>>                 at org.apache.zeppelin.interpreter.LazyOpenInterpreter.
>> interpret(LazyOpenInterpreter.java:93)
>>
>>                 at org.apache.zeppelin.interprete
>> r.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteI
>> nterpreterServer.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.FutureTas
>> k.run(FutureTask.java:266)
>>
>>                 at java.util.concurrent.Scheduled
>> ThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledT
>> hreadPoolExecutor.java:180)
>>
>>                 at java.util.concurrent.Scheduled
>> ThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPo
>> olExecutor.java:293)
>>
>>                 at java.util.concurrent.ThreadPoo
>> lExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>
>>                 at java.util.concurrent.ThreadPoo
>> lExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>
>>                 at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks and Regard,
>>
>> Vikash Kumar
>>
>
>

Reply via email to