HBASE-1079 Dumb NPE in ServerCallable hides the RetriesExhausted exception

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/branches/0.18@728689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2008-12-22 13:37:35 +00:00
parent e3e678fe30
commit 15aaec0a67
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Release 0.18.2 - Unreleased
HBASE-981 hbase.io.index.interval doesn't seem to have an effect;
interval is 128 rather than the configured 32
HBASE-1070 Up default index interval in TRUNK and branch
HBASE-1079 Dumb NPE in ServerCallable hides the RetriesExhausted exception
IMPROVEMENTS
HBASE-1046 Narrow getClosestRowBefore by passing column family (backport)

View File

@ -68,6 +68,9 @@ public abstract class ServerCallable<T> implements Callable<T> {
/** @return the region name */
public byte[] getRegionName() {
if (location == null) {
return null;
}
return location.getRegionInfo().getRegionName();
}
@ -75,4 +78,4 @@ public abstract class ServerCallable<T> implements Callable<T> {
public byte [] getRow() {
return row;
}
}
}