You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2009/06/25 12:59:07 UTC
[jira] Updated: (ZOOKEEPER-447) zkServer.sh doesn't allow different
config files to be specified on the command line
[ https://issues.apache.org/jira/browse/ZOOKEEPER-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.