hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li)
Date Tue, 22 Dec 2015 14:47:37 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 95a13b51e -> 2439f7a68


HBASE-15028 Minor fix on RegionGroupingProvider (Yu Li)


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

Branch: refs/heads/master
Commit: 2439f7a68843ddff5b468a203e5856705e574599
Parents: 95a13b5
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Dec 22 06:47:33 2015 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Dec 22 06:47:33 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2439f7a6/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java
index 2885428..0aeaccf 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RegionGroupingProvider.java
@@ -185,7 +185,7 @@ class RegionGroupingProvider implements WALProvider {
   }
 
   private WAL getWAL(final String group) throws IOException {
-    WAL log = cached.get(walCacheLock);
+    WAL log = cached.get(group);
     if (null == log) {
       // only lock when need to create wal, and need to lock since
       // creating hlog on fs is time consuming


Mime
View raw message