1. jackson 冲突(transport-client)
java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW jackson
es6 jackson jar
jackson-core-2.8.10.jar
jackson-dataformat-cbor-2.8.10.jar
jackson-dataformat-smile-2.8.10.jar
jackson-dataformat-yaml-2.8.10.jar
spark 1.6.0 jackson jar
jackson-annotations-2.4.4.jar
jackson-core-2.4.4.jar
jackson-core-asl-1.9.13.jar
jackson-databind-2.4.4.jar
jackson-jaxrs-1.8.3.jar
jackson-mapper-asl-1.9.13.jar
jackson-module-scala_2.10-2.4.4.jar
jackson-xc-1.8.3.jar
2 httpcore,httpcore-nio 冲突(rest-client)
java.lang.NoSuchMethodError: org.apache.http.util.Asserts.check(ZLjava/lang/String;Ljava/lang/Object;)V at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(CloseableHttpAsyncClientBase.java:90) at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:123) at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:346) at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:328) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:221) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:194) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:488) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:474) at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:246) at com.dmp.task.es_tag_index_6v.BuildEsIndexByStreaming$$anonfun$main$1$$anonfun$apply$1.apply(BuildEsIndexByStreaming.scala:85) at com.dmp.task.es_tag_index_6v.BuildEsIndexByStreaming$$anonfun$main$1$$anonfun$apply$1.apply(BuildEsIndexByStreaming.scala:35) at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$33.apply(RDD.scala:920) at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$33.apply(RDD.scala:920) at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858) at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66) at org.apache.spark.scheduler.Task.run(Task.scala:89) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:227) 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) 18/03/12 15:51:11 WARN scheduler.TaskSetManager: Lost task 0.0 in stage 8.0 (TID 8, localhost): java.lang.NoSuchMethodError: org.apache.http.util.Asserts.check(ZLjava/lang/String;Ljava/lang/Object;)V
3.netty冲突
es6 transport netty
netty-buffer-4.1.13.Final.jar
netty-codec-4.1.13.Final.jar
netty-codec-http-4.1.13.Final.jar
netty-common-4.1.13.Final.jar
netty-handler-4.1.13.Final.jar
netty-resolver-4.1.13.Final.jar
netty-transport-4.1.13.Final.jar
transport-netty4-client-6.1.3.jar
spark 1.6.0 netty
netty-3.8.0.Final.jar
netty-all-4.0.29.Final.jar
网友评论