zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andor Molnar <an...@cloudera.com>
Subject Re: Zookeeper general log or “monitor” command
Date Wed, 28 Feb 2018 19:52:41 GMT
Hi Zod,

I think there's no such thing in ZooKeeper currently other than debug logs.
You might want to attach some processing engine to the debug log feed and
parse and output data which is important for you into MySQL or Redis
database.

The downside of this approach is debug logging has significant performance
impact on the entire ensemble, but it might be acceptable for you analysis.

Regards,
Andor



On Tue, Feb 27, 2018 at 11:26 PM, Zod <zodvik@gmail.com> wrote:

> I want see all commands issued to my Zookeeper cluster, something like
> general log in MySQL or "monitor" command in Redis. How can this be done?
>
> The intent is to see how Storm uses Zookeeper (for state management &
> ack-ing) and a good way to would be to run a sample topology and see all
> the commands issued to Zookeeper by Storm.
>
> I tried enabling debug log for Zookeeper, but that is insufficient has a
> lot of noise. For example, issue a create /node prints
>
> 2018-02-27 18:05:34 ZooKeeperMain [DEBUG] Processing create
> -
> zodvik
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message