hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-17638 Remove duplicated initialization of CacheConfig in HRegionServer
Date Mon, 13 Feb 2017 15:23:29 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 826b9436f -> d40bca436


HBASE-17638 Remove duplicated initialization of CacheConfig in HRegionServer


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d40bca43
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d40bca43
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d40bca43

Branch: refs/heads/master
Commit: d40bca436537cf98dd694e263d2cb26df4aabfa0
Parents: 826b943
Author: Yu Li <liyu@apache.org>
Authored: Mon Feb 13 23:23:10 2017 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Mon Feb 13 23:23:10 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/HRegionServer.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d40bca43/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index 17307f3..58830b8 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@@ -1461,7 +1461,6 @@ public class HRegionServer extends HasThread implements
       // Save it in a file, this will allow to see if we crash
       ZNodeClearer.writeMyEphemeralNodeOnDisk(getMyEphemeralNodePath());
 
-      this.cacheConfig = new CacheConfig(conf);
       this.walFactory = setupWALAndReplication();
       // Init in here rather than in constructor after thread name has been set
       this.metricsRegionServer = new MetricsRegionServer(new MetricsRegionServerWrapperImpl(this));


Mime
View raw message