HBASE-14946 Don't allow multi's to over run the max result size.
This commit is contained in:
parent
1a5664060a
commit
2f7d5e6354
|
@ -18,13 +18,17 @@
|
|||
|
||||
package org.apache.hadoop.hbase;
|
||||
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceStability;
|
||||
|
||||
/**
|
||||
* Exception thrown when the result needs to be chunked on the server side.
|
||||
* It signals that retries should happen right away and not count against the number of
|
||||
* retries because some of the multi was a success.
|
||||
*/
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
public class MultiActionResultTooLarge extends RetryImmediatelyException {
|
||||
|
||||
public MultiActionResultTooLarge(String s) {
|
||||
super(s);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,11 @@
|
|||
package org.apache.hadoop.hbase;
|
||||
|
||||
import java.io.IOException;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceStability;
|
||||
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
public class RetryImmediatelyException extends IOException {
|
||||
public RetryImmediatelyException(String s) {
|
||||
super(s);
|
||||
|
|
Loading…
Reference in New Issue