Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> How to view Topic registration info and Partition state info from zookeeper in 0.8?


+
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
Copy link to this message
-
Re: How to view Topic registration info and Partition state info from zookeeper in 0.8?
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
>> >
>> >
>>