scheduler.TaskSetManager: Lost task 0.0 in stage 1.0 (TID 16, hdp115-yarn.prod.ne.lan): java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by arturekbb
, 1 year ago
Lost task 0.0 in stage 1.0 (TID 16, hdp115-yarn.prod.ne.lan): java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
scheduler.TaskSetManager: Lost task 0.0 in stage 1.0 (TID 16, hdp115-yarn.prod.ne.lan): java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at com.sksamuel.elastic4s.ElasticClient$.transport(ElasticClient.scala:103)
at com.sksamuel.elastic4s.ElasticClient$.remote(ElasticClient.scala:111)
at com.hgintelligence.EsFetcher.(EsFetcher.scala:18)
at com.hgintelligence.MyJob$$anonfun$doMyJobOnRDD$3.apply(MyJob.scala:47)
at com.hgintelligence.MyJob$$anonfun$doMyJobOnRDD$3.apply(MyJob.scala:46)
at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$29.apply(RDD.scala:878)
at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1$$anonfun$apply$29.apply(RDD.scala:878)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1767)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1767)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:63)
at org.apache.spark.scheduler.Task.run(Task.scala:70)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.