HBASE-16739) imed out exception message should include encoded region name
This commit is contained in:
parent
b8ad9b17bb
commit
ec0adbd2c0
|
@ -5267,7 +5267,8 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
result = null;
|
result = null;
|
||||||
// Clean up the counts just in case this was the thing keeping the context alive.
|
// Clean up the counts just in case this was the thing keeping the context alive.
|
||||||
rowLockContext.cleanUp();
|
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());
|
rowLockContext.setThreadName(Thread.currentThread().getName());
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue