[
https://issues.apache.org/jira/browse/ZOOKEEPER-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Kumar updated ZOOKEEPER-2416:
----------------------------------
Summary: Pogo Support Number +1-844-880-6776| Club Pogo ... (was: Remove
Java System property usage from ZooKeeper server code)
> Pogo Support Number +1-844-880-6776| Club Pogo ...
> --------------------------------------------------
>
> Key: ZOOKEEPER-2416
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2416
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Reporter: Arshad Mohammad
> Fix For: 3.5.3
>
>
> Many ZooKeeper properties are used as Java System properties in the ZooKeeper
> code.
> Some example:
> {code}
> public static int getSnapCount() {
> String sc = System.getProperty("zookeeper.snapCount");
> {code}
> {code}
> public int getGlobalOutstandingLimit() {
> String sc = System.getProperty("zookeeper.globalOutstandingLimit");
> {code}
> Using ZooKeeper properties as Java system properties causes following problems
> # Can not create two or more ZooKeeper Server in a single JVM with different
> properties for testing
> # The properties initialization and validation is very much mixed with actual
> business logic which should not be the case.
> ZOOKEEPER-2139 removed the ZooKeeper client side Java System properties so as
> part of this jira handling only ZooKeeper server side Java System properties
> to be removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)