You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Jason Kania <ja...@ymail.com> on 2014/10/15 20:08:52 UTC
Storm-Kafka and KeeperErrorCode = NoNode
Hello,
I suspect that their is an open JIRA report on this but have not found it although I have found a number of related jiras but none that directly matches. I am getting the following Exception on startup with a topology that uses the storm kafka spout: storm-kafka-0.9.2-incubating.jar
java.lang.RuntimeException: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /brokers/topics/mytopic/partitions
Is there any available interpretation of this error to allow it to be resolved or is it a bug that is to be fixed?
Thanks,
Jason
Re: Storm-Kafka and KeeperErrorCode = NoNode
Posted by Parth Brahmbhatt <pb...@hortonworks.com>.
As the exception indicates, this is complaining about a missing zookeeper entry, if you use your zkShell and try to list topics under /brokers/topics/ do you see an entry for your topic?
By default kafka spout assumes the root of your kafka zk entries is /brokers. If that is not the case you need to specify the zkRoot when you configure your spout. See the zkHosts entry under https://github.com/apache/storm/tree/master/external/storm-kafka
On Oct 15, 2014, at 3:17 PM, Jason Kania <ja...@ymail.com> wrote:
> I guess the next question is where it doesn't exist. If I run kafka-topics.sh script, I get a list of topics that includes the one that I am using.
>
> Thanks,
>
> Jason
>
> From: Deepak Subhramanian <de...@gmail.com>
> To: user@storm.apache.org; Jason Kania <ja...@ymail.com>
> Cc: "user@storm.incubator.apache.org" <us...@storm.incubator.apache.org>
> Sent: Wednesday, October 15, 2014 2:20 PM
> Subject: Re: Storm-Kafka and KeeperErrorCode = NoNode
>
> I think it happens when the kafka topic doesnt exist.
>
> On Wed, Oct 15, 2014 at 7:08 PM, Jason Kania <ja...@ymail.com> wrote:
> Hello,
>
> I suspect that their is an open JIRA report on this but have not found it although I have found a number of related jiras but none that directly matches. I am getting the following Exception on startup with a topology that uses the storm kafka spout: storm-kafka-0.9.2-incubating.jar
>
> java.lang.RuntimeException: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /brokers/topics/mytopic/partitions
>
> Is there any available interpretation of this error to allow it to be resolved or is it a bug that is to be fixed?
>
> Thanks,
>
> Jason
>
>
>
>
> --
> Deepak Subhramanian
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Storm-Kafka and KeeperErrorCode = NoNode
Posted by Jason Kania <ja...@ymail.com>.
I guess the next question is where it doesn't exist. If I run kafka-topics.sh script, I get a list of topics that includes the one that I am using.
Thanks,
Jason
________________________________
From: Deepak Subhramanian <de...@gmail.com>
To: user@storm.apache.org; Jason Kania <ja...@ymail.com>
Cc: "user@storm.incubator.apache.org" <us...@storm.incubator.apache.org>
Sent: Wednesday, October 15, 2014 2:20 PM
Subject: Re: Storm-Kafka and KeeperErrorCode = NoNode
I think it happens when the kafka topic doesnt exist.
On Wed, Oct 15, 2014 at 7:08 PM, Jason Kania <ja...@ymail.com> wrote:
Hello,
>
>
>
>I suspect that their is an open JIRA report on this but have not found it although I have found a number of related jiras but none that directly matches. I am getting the following Exception on startup with a topology that uses the storm kafka spout: storm-kafka-0.9.2-incubating.jar
>
>
>
>java.lang.RuntimeException: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /brokers/topics/mytopic/partitions
>
>
>Is there any available interpretation of this error to allow it to be resolved or is it a bug that is to be fixed?
>
>
>Thanks,
>
>
>Jason
>
>
--
Deepak Subhramanian
Re: Storm-Kafka and KeeperErrorCode = NoNode
Posted by Deepak Subhramanian <de...@gmail.com>.
I think it happens when the kafka topic doesnt exist.
On Wed, Oct 15, 2014 at 7:08 PM, Jason Kania <ja...@ymail.com> wrote:
> Hello,
>
> I suspect that their is an open JIRA report on this but have not found it
> although I have found a number of related jiras but none that directly
> matches. I am getting the following Exception on startup with a topology
> that uses the storm kafka spout: storm-kafka-0.9.2-incubating.jar
>
> java.lang.RuntimeException: java.lang.RuntimeException:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
> NoNode for /brokers/topics/mytopic/partitions
>
> Is there any available interpretation of this error to allow it to be
> resolved or is it a bug that is to be fixed?
>
> Thanks,
>
> Jason
>
>
--
Deepak Subhramanian