ElasticSearchSpark与PlayJSON存在依赖冲突内部错误消息

cclgggtu  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(252)

我正在开发齐柏林飞艇0.7.1,我需要使用elasticsearch spark依赖和play json依赖。然而,由于某种原因,这两个概念是不相容的。如果我删除json依赖关系,es spark就可以正常工作。我一加上它,翻译就中断了。
以下是口译员:
org.elasticsearch:elasticsearch-spark-20_2.11:5.4.1 com.typesafe.play:play-json_2.11:2.6.0-M5 (exclude) com.fasterxml.jackson.core:jackson-databind 以下是错误消息:

java.lang.NullPointerException
    at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
    at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
    at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(SparkInterpreter.java:391)
    at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:380)
    at org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:146)
    at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:828)
    at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
    at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:483)
    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:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

排除的jackson数据绑定不是问题。试过有没有,但没有改变。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题