[jira] Updated: (ZOOKEEPER-279) Variable expansion in zoo.cfg
[ https://issues.apache.org/jira/browse/ZOOKEEPER-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-279: --- Attachment: zookeeper-279.patch Updated the patch to successfully apply against the latest codebase. +1 - will be committed for 3.1.1/3.2 releases. > Variable expansion in zoo.cfg > - > > Key: ZOOKEEPER-279 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-279 > Project: Zookeeper > Issue Type: Improvement >Affects Versions: 3.1.0 >Reporter: Nitay Joffe >Assignee: Jean-Daniel Cryans >Priority: Minor > Fix For: 3.1.1, 3.2.0 > > Attachments: HBaseQPC.java, zookeeper-279.patch, zookeeper-279.patch > > > We would like to define certain parts of ZooKeeper's configuration using > variables that get substituted. For example, we want the ZooKeeper quorum to > be able to use a dataDir configured per user. In other words, something like: > tickTime=2000 > dataDir=/tmp/zookeeper-${user.name} > clientPort=2181 > initLimit=5 > syncLimit=2 > server.1=zoo1:2888:3888 > server.2=zoo2:2888:3888 > server.3=zoo3:2888:3888 > I think Java already has a system for configuration that allows something > like this using Properties? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-279) Variable expansion in zoo.cfg
[ https://issues.apache.org/jira/browse/ZOOKEEPER-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-279: --- Fix Version/s: 3.2.0 3.1.1 > Variable expansion in zoo.cfg > - > > Key: ZOOKEEPER-279 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-279 > Project: Zookeeper > Issue Type: Improvement >Affects Versions: 3.1.0 >Reporter: Nitay Joffe >Priority: Minor > Fix For: 3.1.1, 3.2.0 > > Attachments: HBaseQPC.java, zookeeper-279.patch > > > We would like to define certain parts of ZooKeeper's configuration using > variables that get substituted. For example, we want the ZooKeeper quorum to > be able to use a dataDir configured per user. In other words, something like: > tickTime=2000 > dataDir=/tmp/zookeeper-${user.name} > clientPort=2181 > initLimit=5 > syncLimit=2 > server.1=zoo1:2888:3888 > server.2=zoo2:2888:3888 > server.3=zoo3:2888:3888 > I think Java already has a system for configuration that allows something > like this using Properties? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-279) Variable expansion in zoo.cfg
[ https://issues.apache.org/jira/browse/ZOOKEEPER-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nitay Joffe updated ZOOKEEPER-279: -- Affects Version/s: 3.1.0 Status: Patch Available (was: Open) Can we get a review for this? > Variable expansion in zoo.cfg > - > > Key: ZOOKEEPER-279 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-279 > Project: Zookeeper > Issue Type: Improvement >Affects Versions: 3.1.0 >Reporter: Nitay Joffe >Priority: Minor > Attachments: HBaseQPC.java, zookeeper-279.patch > > > We would like to define certain parts of ZooKeeper's configuration using > variables that get substituted. For example, we want the ZooKeeper quorum to > be able to use a dataDir configured per user. In other words, something like: > tickTime=2000 > dataDir=/tmp/zookeeper-${user.name} > clientPort=2181 > initLimit=5 > syncLimit=2 > server.1=zoo1:2888:3888 > server.2=zoo2:2888:3888 > server.3=zoo3:2888:3888 > I think Java already has a system for configuration that allows something > like this using Properties? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-279) Variable expansion in zoo.cfg
[ https://issues.apache.org/jira/browse/ZOOKEEPER-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated ZOOKEEPER-279: - Attachment: HBaseQPC.java Example of what we can do with previously posted patch. > Variable expansion in zoo.cfg > - > > Key: ZOOKEEPER-279 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-279 > Project: Zookeeper > Issue Type: Improvement >Reporter: Nitay Joffe >Priority: Minor > Attachments: HBaseQPC.java, zookeeper-279.patch > > > We would like to define certain parts of ZooKeeper's configuration using > variables that get substituted. For example, we want the ZooKeeper quorum to > be able to use a dataDir configured per user. In other words, something like: > tickTime=2000 > dataDir=/tmp/zookeeper-${user.name} > clientPort=2181 > initLimit=5 > syncLimit=2 > server.1=zoo1:2888:3888 > server.2=zoo2:2888:3888 > server.3=zoo3:2888:3888 > I think Java already has a system for configuration that allows something > like this using Properties? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-279) Variable expansion in zoo.cfg
[ https://issues.apache.org/jira/browse/ZOOKEEPER-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated ZOOKEEPER-279: - Attachment: zookeeper-279.patch A patch against trunk that enables foreign configurations into QuorumPeerConfig. > Variable expansion in zoo.cfg > - > > Key: ZOOKEEPER-279 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-279 > Project: Zookeeper > Issue Type: Improvement >Reporter: Nitay Joffe >Priority: Minor > Attachments: zookeeper-279.patch > > > We would like to define certain parts of ZooKeeper's configuration using > variables that get substituted. For example, we want the ZooKeeper quorum to > be able to use a dataDir configured per user. In other words, something like: > tickTime=2000 > dataDir=/tmp/zookeeper-${user.name} > clientPort=2181 > initLimit=5 > syncLimit=2 > server.1=zoo1:2888:3888 > server.2=zoo2:2888:3888 > server.3=zoo3:2888:3888 > I think Java already has a system for configuration that allows something > like this using Properties? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.