accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [accumulo] 03/06: Revert "ACCUMULO-4779 Fix warning; remove unused field"
Date Fri, 02 Feb 2018 18:25:13 GMT
This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch 1.7
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit 51cc9874a34a7890fa645b034a0038d041ed2216
Author: Keith Turner <kturner@apache.org>
AuthorDate: Fri Feb 2 12:13:17 2018 -0500

    Revert "ACCUMULO-4779 Fix warning; remove unused field"
    
    This reverts commit d8d2afa11037e41504d8f9347c1f6d36002e4a6a.
---
 .../src/main/java/org/apache/accumulo/server/conf/ZooConfiguration.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/base/src/main/java/org/apache/accumulo/server/conf/ZooConfiguration.java
b/server/base/src/main/java/org/apache/accumulo/server/conf/ZooConfiguration.java
index cb7bc98..2817ba0 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/conf/ZooConfiguration.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/conf/ZooConfiguration.java
@@ -36,12 +36,14 @@ import com.google.common.base.Predicate;
 public class ZooConfiguration extends AccumuloConfiguration {
   private static final Logger log = LoggerFactory.getLogger(ZooConfiguration.class);
 
+  private final String instanceId;
   private final ZooCache propCache;
   private final AccumuloConfiguration parent;
   private final Map<String,String> fixedProps = Collections.synchronizedMap(new HashMap<String,String>());
   private final String propPathPrefix;
 
   protected ZooConfiguration(String instanceId, ZooCache propCache, AccumuloConfiguration
parent) {
+    this.instanceId = instanceId;
     this.propCache = propCache;
     this.parent = parent;
     this.propPathPrefix = ZooUtil.getRoot(instanceId) + Constants.ZCONFIG;

-- 
To stop receiving notification emails like this one, please contact
kturner@apache.org.

Mime
View raw message