[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186709#comment-13186709
 ] 

[email protected] commented on ZOOKEEPER-1296:
----------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3116/
-----------------------------------------------------------

(Updated 2012-01-16 05:42:12.266531)


Review request for zookeeper, Patrick Hunt and Mahadev Konar.


Changes
-------

- Added man page for zookeeper-setup-conf.sh
- Added quorum, election port options
- Check and make directory before creating myid file.


Summary
-------

Add a setup script for ZooKeeper


This addresses bug ZOOKEEPER-1296.
    https://issues.apache.org/jira/browse/ZOOKEEPER-1296


Diffs (updated)
-----

  http://svn.apache.org/repos/asf/zookeeper/trunk/build.xml 1231841 
  http://svn.apache.org/repos/asf/zookeeper/trunk/src/contrib/build-contrib.xml 
1231841 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/contrib/zkpython/build.xml 
1231841 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec
 1231841 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/docs/man/zookeeper-setup-conf.sh.1
 PRE-CREATION 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
 1231841 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec
 1231841 
  
http://svn.apache.org/repos/asf/zookeeper/trunk/src/packages/zookeeper-setup-conf.sh
 PRE-CREATION 

Diff: https://reviews.apache.org/r/3116/diff


Testing
-------


Thanks,

Eric


                
> Add zookeeper-setup-conf.sh script
> ----------------------------------
>
>                 Key: ZOOKEEPER-1296
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1296
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.4.0
>         Environment: Shell script
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1296-1.patch, ZOOKEEPER-1296-2.patch, 
> ZOOKEEPER-1296-3.patch, ZOOKEEPER-1296.patch
>
>
> It would be nice to provide a setup script for zoo.cfg and zookeeper-env.sh.  
> The proposed script will provide the following options:
> {noformat}
> usage: /usr/sbin/zookeeper-setup-conf.sh <parameters>
>   Required parameters:
>     --conf-dir                     Set ZooKeeper configuration directory
>     --log-dir                      Set ZooKeeper log directory
>   Optional parameters:
>     --auto-purge-interval=1        Set snapshot auto purge interval
>     --client-port=2181             Set client port
>     --data-dir=/var/lib/zookeeper  Set data directory
>     --hosts=host1,host2            Set ZooKeeper qourum hostnames
>     --init-limit=10                Set initial sync limit
>     --java-home                    Set JAVA_HOME location
>     --snapshot-count=3             Set snapshot retain count
>     --sync-limit=5                 Set sync limit
>     --tick-time=2000               Set milliseconds of each tick
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to