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 csdn.net by Unknown author, 1 year ago
via Stack Overflow by user1849773
, 1 year ago
via Stack Overflow by innovatism
, 1 year ago
Couldn't find leader offsets for Set([stream,0])
via Stack Overflow by facha
, 1 year ago
via Stack Overflow by autodidacticon
, 2 years ago
org.apache.spark.SparkException: Couldn't find leader offsets for Set()
org.apache.spark.SparkException: Error getting partition metadata for 'SparkStreamingDirected'. Does the topic 
exist?	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$checkErrors$1.apply(KafkaCluster.scala:366)	at org.apache.spark.streaming.kafka.KafkaCluster$$anonfun$checkErrors$1.apply(KafkaCluster.scala:366)	at scala.util.Either.fold(Either.scala:97)	at org.apache.spark.streaming.kafka.KafkaCluster$.checkErrors(KafkaCluster.scala:365)	at org.apache.spark.streaming.kafka.KafkaUtils$.getFromOffsets(KafkaUtils.scala:222)	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)	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)