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-16739) imed out exception message should include encoded region name
Date Mon, 03 Oct 2016 04:10:26 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 06cc12384 -> 69a3fd2eb


HBASE-16739) imed out exception message should include encoded region name


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

Branch: refs/heads/branch-1
Commit: 69a3fd2ebfd1f5b6b5c2668f1d19aa98c0b69fff
Parents: 06cc123
Author: tedyu <yuzhihong@gmail.com>
Authored: Sun Oct 2 21:10:20 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Sun Oct 2 21:10:20 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/69a3fd2e/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index d06ed08..ed32536 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -5324,7 +5324,8 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver,
Regi
         result = null;
         // Clean up the counts just in case this was the thing keeping the context alive.
         rowLockContext.cleanUp();
-        throw new IOException("Timed out waiting for lock for row: " + rowKey);
+        throw new IOException("Timed out waiting for lock for row: " + rowKey + " in region
"
+            + getRegionInfo().getEncodedName());
       }
       rowLockContext.setThreadName(Thread.currentThread().getName());
       return result;


Mime
View raw message