Henry Robinson updated ZOOKEEPER-447:

    Attachment: ZOOKEEPER-447.patch

This tiny patch to zkEnv.sh and zkServer.sh has these improvements:

1. set ZOOCFG in the environment and it will be picked up
2. specify a config file as the second argument to zkServer.sh

No tests included, obviously :)

> zkServer.sh doesn't allow different config files to be specified on the 
> command line
> ------------------------------------------------------------------------------------
>                 Key: ZOOKEEPER-447
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-447
>             Project: Zookeeper
>          Issue Type: Improvement
>    Affects Versions: 3.1.1, 3.2.0
>            Reporter: Henry Robinson
>            Assignee: Henry Robinson
>         Attachments: ZOOKEEPER-447.patch
> Unless I'm missing something, you can change the directory that the zoo.cfg 
> file is in by setting ZOOCFGDIR but not the name of the file itself.
> I find it convenient myself to specify the config file on the command line, 
> but we should also let it be specified by environment variable.

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

Reply via email to