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:
parent
e3e678fe30
commit
15aaec0a67
@ -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)
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user