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,7 +1483,9 @@ 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) {
|
||||
results.put(region, value);
|
||||
if (region != null) {
|
||||
results.put(region, value);
|
||||
}
|
||||
}
|
||||
});
|
||||
return results;
|
||||
|
|
Loading…
Reference in New Issue