From ec0adbd2c0fbe8e367521f85fdd7f94d5a886757 Mon Sep 17 00:00:00 2001 From: tedyu Date: Sun, 2 Oct 2016 21:09:09 -0700 Subject: [PATCH] HBASE-16739) imed out exception message should include encoded region name --- .../java/org/apache/hadoop/hbase/regionserver/HRegion.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 f6d2e361953..078b135f3de 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 @@ -5267,7 +5267,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;