HBASE-10221. Region from coprocessor invocations can be null on failure
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1552967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eebdd8061f
commit
7e5abab822
|
@ -1483,8 +1483,10 @@ public class HTable implements HTableInterface {
|
|||
new TreeMap<byte[], R>(Bytes.BYTES_COMPARATOR));
|
||||
coprocessorService(service, startKey, endKey, callable, new Batch.Callback<R>() {
|
||||
public void update(byte[] region, byte[] row, R value) {
|
||||
if (region != null) {
|
||||
results.put(region, value);
|
||||
}
|
||||
}
|
||||
});
|
||||
return results;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue