You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sebastian Piu (JIRA)" <ji...@apache.org> on 2016/01/12 14:13:39 UTC

[jira] [Created] (SPARK-12775) Couldn't find leader offsets exception when hostname can't be resolved

Sebastian Piu created SPARK-12775:
-------------------------------------

             Summary: Couldn't find leader offsets exception when hostname can't be resolved
                 Key: SPARK-12775
                 URL: https://issues.apache.org/jira/browse/SPARK-12775
             Project: Spark
          Issue Type: Bug
          Components: Streaming
    Affects Versions: 1.6.0
            Reporter: Sebastian Piu
            Priority: Minor


When hostname resolution fails for a broker an unclear/misleading error is shown:

org.apache.spark.SparkException: java.nio.channels.ClosedChannelException
org.apache.spark.SparkException: Couldn't find leader offsets for Set([mytopic,0], [mytopic,18], [mytopic,12], [mytopic,6])

	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)

Error above ocurred when a broker was added to the cluster and my machine could not resolve its hostname



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org