HBASE-14946 Don't allow multi's to over run the max result size.

This commit is contained in:
stack 2015-12-10 21:25:21 -08:00
parent 1a5664060a
commit 2f7d5e6354
2 changed files with 9 additions and 1 deletions

View File

@ -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);
}

View File

@ -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);