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

kafka.cluster.Broker: 	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2$$anonfun$3$$anonfun$apply$6$$anonfun$apply$7.apply(KafkaCluster.scala:90)	at scala.Option.map(Option.scala:145)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2$$anonfun$3$$anonfun$apply$6.apply(KafkaCluster.scala:90)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2$$anonfun$3$$anonfun$apply$6.apply(KafkaCluster.scala:87)	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:34)	at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2$$anonfun$3.apply(KafkaCluster.scala:87)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2$$anonfun$3.apply(KafkaCluster.scala:86)	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)	at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)	at scala.collection.immutable.Set$Set1.foreach(Set.scala:74)	at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2.apply(KafkaCluster.scala:86)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$2.apply(KafkaCluster.scala:85)	at scala.util.Either$RightProjection.flatMap(Either.scala:523)	at org.apache.spark.streaming.kafka.KafkaCluster.findLeaders(KafkaCluster.scala:85)	at org.apache.spark.streaming.kafka.KafkaCluster.getLeaderOffsets(KafkaCluster.scala:179)	at org.apache.spark.streaming.kafka.KafkaCluster.getLeaderOffsets(KafkaCluster.scala:161)	at org.apache.spark.streaming.kafka.KafkaCluster.getLatestLeaderOffsets(KafkaCluster.scala:150)	at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$5.apply(KafkaUtils.scala:215)	at org.apache.spark.streaming.kafka.KafkaUtils$$anonfun$5.apply(KafkaUtils.scala:211)	at scala.util.Either$RightProjection.flatMap(Either.scala:523)	at org.apache.spark.streaming.kafka.KafkaUtils$.getFromOffsets(KafkaUtils.scala:211)	at org.apache.spark.streaming.kafka.KafkaUtils$.createDirectStream(KafkaUtils.scala:484)	at org.apache.spark.streaming.kafka.KafkaUtils$.createDirectStream(KafkaUtils.scala:607)	at org.apache.spark.streaming.kafka.KafkaUtils.createDirectStream(KafkaUtils.scala)	at com.dt.spark.SparkApps.SparkStreaming.SparkStreamingOnKafkaDirected.main(SparkStreamingOnKafkaDirected.java:68)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)