HBASE-16739 Timed out exception message should include encoded region name - Revert due to misspelled word in subject

This commit is contained in:
tedyu 2016-10-03 06:44:11 -07:00
parent 69a3fd2ebf
commit a4426a7c2d

View File

@ -5324,8 +5324,7 @@ 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 + " in region "
+ getRegionInfo().getEncodedName());
throw new IOException("Timed out waiting for lock for row: " + rowKey);
}
rowLockContext.setThreadName(Thread.currentThread().getName());
return result;