[
https://issues.apache.org/jira/browse/ZOOKEEPER-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176403#comment-13176403
]
Arpit Gupta commented on ZOOKEEPER-1335:
----------------------------------------
@Patric I will take a look at the docs and update the the patch with the doc
updates. Regarding the '--config' the reason i choose that is because other
projects like hadoop , hbase etc use the same name and it also points to a dir
containing the configs. Figured keeping them the same would be better.
> 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
>
>
> 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