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

Patrick Hunt commented on ZOOKEEPER-1335:
-----------------------------------------

@arpit I'd rather use configdir but if you want to use config I'm fine with it. 
re docs the main issue is the usage information for the scripts themselves, not 
sure about the forrest docs but yes, it would be good to update those as well 
if possible/necessary.
                
> 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

        

Reply via email to