[
https://issues.apache.org/jira/browse/ZOOKEEPER-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Gupta updated ZOOKEEPER-1335:
-----------------------------------
Attachment: ZOOKEEPER-1335.patch
Still calling the option '--config' as i prefer usage is similar to other
projects.
Updated the usage information in the zkServer.sh.
I briefly looked at the existing forrest docs and could not find a place where
we talk about where we expect the config directories to be. So dont have any
forrest doc updates in this patch.
> Add support for --config to zkEnv.sh to specify a config directory different
> than what is expected
> --------------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1335
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1335
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1335.patch, ZOOKEEPER-1335.patch
>
>
> zkEnv.sh expects ZOOCFGDIR env variable set. If not it looks for the conf dir
> in the ZOOKEEPER_PREFIX dir or in /etc/zookeeper. It would be great if we can
> support --config option where at run time you could specify a different
> config directory. We do the same thing in hadoop.
> With this you should be able to do
> /usr/sbin/zkServer.sh --config /some/conf/dir start|stop
--
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