[
https://issues.apache.org/jira/browse/BOOKKEEPER-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448028#comment-13448028
]
Uma Maheswara Rao G commented on BOOKKEEPER-300:
------------------------------------------------
Thanks a lot, Vinay for incorporating the comments.
{code}
zk = ZkUtils.getNewZookeeperClient(conf.getZkServers(),
+ conf.getZkTimeout(), new Watcher() {
+ @Override
+ public void process(WatchedEvent event) {
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Process: " + event.getType() + " "
+ + event.getPath());
+ }
+ }
+ });
{code}
You added this watcher just for logging purpose? can't we make use of util
watcher alone?
> Create Bookie format command
> ----------------------------
>
> Key: BOOKKEEPER-300
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-300
> Project: Bookkeeper
> Issue Type: New Feature
> Components: bookkeeper-server
> Affects Versions: 4.1.0
> Reporter: Rakesh R
> Assignee: Vinay
> Fix For: 4.2.0
>
> Attachments: BOOKKEEPER-300.patch, BOOKKEEPER-300.patch,
> BOOKKEEPER-300.patch, BOOKKEEPER-300.patch, BOOKKEEPER-300.patch,
> BOOKKEEPER-300.patch
>
>
> Provide a bookie format command. Then the admin would just have to run the
> command on each machine, which will prepare the bookie env
> +Zookeeper paths (znodes):+
> - ledger's root path
> - bookie's available path
> +Directories:+
> - Journal directories
> - Ledger directories
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira