hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Darroch (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-330) zookeeper standalone server does not startup with just a port and datadir.
Date Thu, 26 Feb 2009 20:17:01 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Chris Darroch updated ZOOKEEPER-330:

    Attachment: ZOOKEEPER-330.patch

Sorry I didn't catch the problem with src/c/tests/zkServer.sh invoking ZooKeeperMain directly.

The only issue I had with your proposed patch here is that the original problem I encountered
in ZOOKEEPER-326 returns -- if you start a standalone server using QuorumPeerMain, it ignores
tickTime settings there again.  This contradicts the information here:


and it also just would be nice, I think, for the standard zkServer.sh (which uses QuorumPeerMain)
and standard config file to work fully for standalone installations out of the box.

My revisions in the attached patch allow ZooKeeperMain to take a single config file as an
alternate set of arguments, in which case it works like QuorumPeerMain.  This seems to resolve
both my original issue, support the addition of a command-line tickTime argument as per your
patch, and allow the src/c/tests/zkServer.sh script to work as-is.

> zookeeper standalone server does not startup with just a port and datadir.
> --------------------------------------------------------------------------
>                 Key: ZOOKEEPER-330
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-330
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.1.1, 3.2.0
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.1.1, 3.2.0
>         Attachments: ZOOKEEPER-330.patch, ZOOKEEPER-330.patch
> ZOOKEEPER-326 made a change to zookeeperservermain.java that broke the starting of zookeeperserver
with just the port and datadir.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message