You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2013/12/22 07:47:24 UTC
svn commit: r1552969 -
/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Author: apurtell
Date: Sun Dec 22 06:47:24 2013
New Revision: 1552969
URL: http://svn.apache.org/r1552969
Log:
HBASE-10221. Region from coprocessor invocations can be null on failure
Modified:
hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java?rev=1552969&r1=1552968&r2=1552969&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java Sun Dec 22 06:47:24 2013
@@ -1455,7 +1455,9 @@ public class HTable implements HTableInt
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;