|
Jason Huang
2013-03-01, 09:49
Matan Safriel
2013-03-01, 10:30
Jason Huang
2013-03-01, 11:51
Swapnil Ghike
2013-03-01, 18:13
Premal Shah
2013-03-01, 18:16
Neha Narkhede
2013-03-01, 18:37
Jason Huang
2013-03-03, 11:40
|
-
How to view Topic registration info and Partition state info from zookeeper in 0.8?Jason Huang 2013-03-01, 09:49
Hello,
I am reading the "Kafka data structures in Zookeeper" (https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html) document and trying to figure out how to view topic registration information from zookeeper. Are these information stored in the zookeeper snapshot file in the hard drive? How can I view the topic registration info and partition state information from my running kafka server in 0.8? I am only running one kafka broker and one zookeeper in the same server. thanks! Jason
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Matan Safriel 2013-03-01, 10:30
You can use the eclipse zookeeper plugin, if you only want to
sporadically view state.. On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> wrote: > Hello, > > I am reading the "Kafka data structures in Zookeeper" > (https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html) > document and trying to figure out how to view topic registration > information from zookeeper. Are these information stored in the > zookeeper snapshot file in the hard drive? How can I view the topic > registration info and partition state information from my running > kafka server in 0.8? > > I am only running one kafka broker and one zookeeper in the same server. > > thanks! > > Jason
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Jason Huang 2013-03-01, 11:51
Thanks - I will definitely check that out.
Any other options to suggest? thanks, Jason On Fri, Mar 1, 2013 at 5:29 AM, Matan Safriel <[EMAIL PROTECTED]> wrote: > You can use the eclipse zookeeper plugin, if you only want to > sporadically view state.. > > On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> I am reading the "Kafka data structures in Zookeeper" >> (https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html) >> document and trying to figure out how to view topic registration >> information from zookeeper. Are these information stored in the >> zookeeper snapshot file in the hard drive? How can I view the topic >> registration info and partition state information from my running >> kafka server in 0.8? >> >> I am only running one kafka broker and one zookeeper in the same server. >> >> thanks! >> >> Jason
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Swapnil Ghike 2013-03-01, 18:13
Hi Jason
You can download zookeeper, and use a client as zookeeper/bin/zkCli.sh -server zkHost:zkPort. Then you can use the ls and get functions to list the structure hierarchy or to see the contents at each of the nodes in the hierarchy respectively. The data structures described in the wiki can be viewed using get. Thanks, Swapnil On 3/1/13 3:51 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote: >Thanks - I will definitely check that out. > >Any other options to suggest? > >thanks, > >Jason > >On Fri, Mar 1, 2013 at 5:29 AM, Matan Safriel <[EMAIL PROTECTED]> wrote: >> You can use the eclipse zookeeper plugin, if you only want to >> sporadically view state.. >> >> On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> wrote: >> >>> Hello, >>> >>> I am reading the "Kafka data structures in Zookeeper" >>> >>>(https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html) >>> document and trying to figure out how to view topic registration >>> information from zookeeper. Are these information stored in the >>> zookeeper snapshot file in the hard drive? How can I view the topic >>> registration info and partition state information from my running >>> kafka server in 0.8? >>> >>> I am only running one kafka broker and one zookeeper in the same >>>server. >>> >>> thanks! >>> >>> Jason
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Premal Shah 2013-03-01, 18:16
You can also install netflix exhibitor. It gives you a GUI to view
zookeeper data. On Fri, Mar 1, 2013 at 10:12 AM, Swapnil Ghike <[EMAIL PROTECTED]> wrote: > Hi Jason > > You can download zookeeper, and use a client as zookeeper/bin/zkCli.sh > -server zkHost:zkPort. Then you can use the ls and get functions to list > the structure hierarchy or to see the contents at each of the nodes in the > hierarchy respectively. The data structures described in the wiki can be > viewed using get. > > Thanks, > Swapnil > > > > On 3/1/13 3:51 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote: > > >Thanks - I will definitely check that out. > > > >Any other options to suggest? > > > >thanks, > > > >Jason > > > >On Fri, Mar 1, 2013 at 5:29 AM, Matan Safriel <[EMAIL PROTECTED]> > wrote: > >> You can use the eclipse zookeeper plugin, if you only want to > >> sporadically view state.. > >> > >> On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> wrote: > >> > >>> Hello, > >>> > >>> I am reading the "Kafka data structures in Zookeeper" > >>> > >>>(https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html > ) > >>> document and trying to figure out how to view topic registration > >>> information from zookeeper. Are these information stored in the > >>> zookeeper snapshot file in the hard drive? How can I view the topic > >>> registration info and partition state information from my running > >>> kafka server in 0.8? > >>> > >>> I am only running one kafka broker and one zookeeper in the same > >>>server. > >>> > >>> thanks! > >>> > >>> Jason > >
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Neha Narkhede 2013-03-01, 18:37
I have found Kazoo to be very convenient for scripting purposes. It is a
python zookeeper client that is very easy to use - http://kazoo.readthedocs.org/en/latest/# Thanks, Neha On Fri, Mar 1, 2013 at 10:16 AM, Premal Shah <[EMAIL PROTECTED]>wrote: > You can also install netflix exhibitor. It gives you a GUI to view > zookeeper data. > > > On Fri, Mar 1, 2013 at 10:12 AM, Swapnil Ghike <[EMAIL PROTECTED]> > wrote: > > > Hi Jason > > > > You can download zookeeper, and use a client as zookeeper/bin/zkCli.sh > > -server zkHost:zkPort. Then you can use the ls and get functions to list > > the structure hierarchy or to see the contents at each of the nodes in > the > > hierarchy respectively. The data structures described in the wiki can be > > viewed using get. > > > > Thanks, > > Swapnil > > > > > > > > On 3/1/13 3:51 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote: > > > > >Thanks - I will definitely check that out. > > > > > >Any other options to suggest? > > > > > >thanks, > > > > > >Jason > > > > > >On Fri, Mar 1, 2013 at 5:29 AM, Matan Safriel <[EMAIL PROTECTED]> > > wrote: > > >> You can use the eclipse zookeeper plugin, if you only want to > > >> sporadically view state.. > > >> > > >> On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> > wrote: > > >> > > >>> Hello, > > >>> > > >>> I am reading the "Kafka data structures in Zookeeper" > > >>> > > >>>( > https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html > > ) > > >>> document and trying to figure out how to view topic registration > > >>> information from zookeeper. Are these information stored in the > > >>> zookeeper snapshot file in the hard drive? How can I view the topic > > >>> registration info and partition state information from my running > > >>> kafka server in 0.8? > > >>> > > >>> I am only running one kafka broker and one zookeeper in the same > > >>>server. > > >>> > > >>> thanks! > > >>> > > >>> Jason > > > > >
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?Jason Huang 2013-03-03, 11:40
Thanks all for the responses!
Jason On Fri, Mar 1, 2013 at 1:37 PM, Neha Narkhede <[EMAIL PROTECTED]> wrote: > I have found Kazoo to be very convenient for scripting purposes. It is a > python zookeeper client that is very easy to use - > http://kazoo.readthedocs.org/en/latest/# > > Thanks, > Neha > > > On Fri, Mar 1, 2013 at 10:16 AM, Premal Shah <[EMAIL PROTECTED]>wrote: > >> You can also install netflix exhibitor. It gives you a GUI to view >> zookeeper data. >> >> >> On Fri, Mar 1, 2013 at 10:12 AM, Swapnil Ghike <[EMAIL PROTECTED]> >> wrote: >> >> > Hi Jason >> > >> > You can download zookeeper, and use a client as zookeeper/bin/zkCli.sh >> > -server zkHost:zkPort. Then you can use the ls and get functions to list >> > the structure hierarchy or to see the contents at each of the nodes in >> the >> > hierarchy respectively. The data structures described in the wiki can be >> > viewed using get. >> > >> > Thanks, >> > Swapnil >> > >> > >> > >> > On 3/1/13 3:51 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote: >> > >> > >Thanks - I will definitely check that out. >> > > >> > >Any other options to suggest? >> > > >> > >thanks, >> > > >> > >Jason >> > > >> > >On Fri, Mar 1, 2013 at 5:29 AM, Matan Safriel <[EMAIL PROTECTED]> >> > wrote: >> > >> You can use the eclipse zookeeper plugin, if you only want to >> > >> sporadically view state.. >> > >> >> > >> On Mar 1, 2013, at 11:49 AM, Jason Huang <[EMAIL PROTECTED]> >> wrote: >> > >> >> > >>> Hello, >> > >>> >> > >>> I am reading the "Kafka data structures in Zookeeper" >> > >>> >> > >>>( >> https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html >> > ) >> > >>> document and trying to figure out how to view topic registration >> > >>> information from zookeeper. Are these information stored in the >> > >>> zookeeper snapshot file in the hard drive? How can I view the topic >> > >>> registration info and partition state information from my running >> > >>> kafka server in 0.8? >> > >>> >> > >>> I am only running one kafka broker and one zookeeper in the same >> > >>>server. >> > >>> >> > >>> thanks! >> > >>> >> > >>> Jason >> > >> > >> |