Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.92.0
-
None
-
None
-
centos 6.2 hbase 0.92.0
Description
public <T extends CoprocessorProtocol, R> Map<byte[],R> coprocessorExec(
Class<T> protocol, byte[] startKey, byte[] endKey,
Batch.Call<T,R> callable)
throws IOException, Throwable {
final Map<byte[],R> results = new TreeMap<byte[],R>(
Bytes.BYTES_COMPARATOR);
coprocessorExec(protocol, startKey, endKey, callable,
new Batch.Callback<R>(){
public void update(byte[] region, byte[] row, R value)
});
return results;
}
when mulit region call the Batch.Callback ,the treemap should lockup.
we meet this situation after we run 3 month.
Attachments
Issue Links
- duplicates
-
HBASE-6565 Coprocessor exec result Map is not thread safe
- Closed