/** * Thrown when a scanner has timed out. */ @InterfaceAudience.Public @InterfaceStability.Stable public class ScannerTimeoutException extends DoNotRetryIOException { private static final long serialVersionUID = 8788838690290688313L; /** default constructor */ ScannerTimeoutException() { super(); } /** @param s */ ScannerTimeoutException(String s) { super(s); } }
/** * Thrown when the client believes that we are trying to communicate to has * been repeatedly unresponsive for a while. * * On receiving such an exception. The HConnectionManager will skip all * retries and fast fail the operation. */ @InterfaceAudience.Public @InterfaceStability.Evolving public class ConnectionClosingException extends IOException { public ConnectionClosingException(String string) { super(string); } private static final long serialVersionUID = -8980028569652624236L; }
/** * During the read (ie. get/Scan) the VisibilityController calls this interface for each of the * Cell. Depending on the evaluate() result, a cell can be either included or filtered out from the * read results. */ @InterfaceAudience.Public @InterfaceStability.Evolving public interface VisibilityExpEvaluator { /** * Evaluates whether the passed cell passes Scan/Get Authorization. * @param cell Cell under evaluation * @return true if this cell can be included in the Result. Else false. */ boolean evaluate(Cell cell) throws IOException; }
/** Thrown when the file system needs to be upgraded */ @InterfaceAudience.Public @InterfaceStability.Evolving public class FileSystemVersionException extends IOException { private static final long serialVersionUID = 1004053363L; /** default constructor */ public FileSystemVersionException() { super(); } /** @param s message */ public FileSystemVersionException(String s) { super(s); } }
/** * Thrown when there is a timeout when trying to acquire a lock */ @InterfaceAudience.Public @InterfaceStability.Stable public class LockTimeoutException extends DoNotRetryIOException { private static final long serialVersionUID = -1770764924258999825L; /** Default constructor */ public LockTimeoutException() { super(); } public LockTimeoutException(String s) { super(s); } }
/** Thrown when a table can not be located */ @InterfaceAudience.Public @InterfaceStability.Evolving public class RegionOfflineException extends RegionException { private static final long serialVersionUID = 466008402L; /** default constructor */ public RegionOfflineException() { super(); } /** @param s message */ public RegionOfflineException(String s) { super(s); } }
/** * Similar to RegionException, but disables retries. */ @InterfaceAudience.Public @InterfaceStability.Stable public class DoNotRetryRegionException extends DoNotRetryIOException { private static final long serialVersionUID = 6907047686199321701L; public DoNotRetryRegionException() { super(); } public DoNotRetryRegionException(String s) { super(s); } }
/** * Indicates that we're trying to connect to a already known as dead server. We will want to * retry: we're getting this because the region location was wrong, or because * the server just died, in which case the retry loop will help us to wait for the * regions to recover. */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Evolving public class FailedServerException extends HBaseIOException { public FailedServerException(String s) { super(s); } }
/** * Extends the base <code>Mapper</code> class to add the required input key * and value classes. * * @param <KEYOUT> The type of the key. * @param <VALUEOUT> The type of the value. * @see org.apache.hadoop.mapreduce.Mapper */ @InterfaceAudience.Public @InterfaceStability.Stable public abstract class TableMapper<KEYOUT, VALUEOUT> extends Mapper<ImmutableBytesWritable, Result, KEYOUT, VALUEOUT> { }
@InterfaceAudience.Public @InterfaceStability.Evolving public class UnsupportedCellCodecException extends FatalConnectionException { public UnsupportedCellCodecException() { super(); } public UnsupportedCellCodecException(String msg) { super(msg); } public UnsupportedCellCodecException(String msg, Throwable t) { super(msg, t); } }
@InterfaceAudience.Public @InterfaceStability.Evolving public class BadAuthException extends FatalConnectionException { public BadAuthException() { super(); } public BadAuthException(String msg) { super(msg); } public BadAuthException(String msg, Throwable t) { super(msg, t); } }
@InterfaceAudience.Public @InterfaceStability.Evolving public class UnsupportedCompressionCodecException extends FatalConnectionException { public UnsupportedCompressionCodecException() { super(); } public UnsupportedCompressionCodecException(String msg) { super(msg); } public UnsupportedCompressionCodecException(String msg, Throwable t) { super(msg, t); } }
@InterfaceAudience.Public @InterfaceStability.Evolving public class WrongVersionException extends FatalConnectionException { public WrongVersionException() { super(); } public WrongVersionException(String msg) { super(msg); } public WrongVersionException(String msg, Throwable t) { super(msg, t); } }
/** * Exception indicating that the remote host making this IPC lost its * IPC connection. This will never be returned back to a client, * but is only used for logging on the server side, etc. */ @InterfaceAudience.Public @InterfaceStability.Evolving public class CallerDisconnectedException extends IOException { private static final long serialVersionUID = 1L; public CallerDisconnectedException(String msg) { super(msg); } }
/** * Thrown when a namespace exists but should not */ @InterfaceAudience.Public @InterfaceStability.Stable public class NamespaceExistException extends DoNotRetryIOException { private static final long serialVersionUID = -1582357514338825412L; public NamespaceExistException() { } public NamespaceExistException(String namespace) { super(namespace); } }
/** * Thrown when a namespace can not be located */ @InterfaceAudience.Public @InterfaceStability.Stable public class NamespaceNotFoundException extends DoNotRetryIOException { private static final long serialVersionUID = -6673607347330260324L; public NamespaceNotFoundException() { } public NamespaceNotFoundException(String namespace) { super(namespace); } }
/** * 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); } }
/** * Thrown when we are asked to operate on a region we know nothing about. */ @InterfaceAudience.Public @InterfaceStability.Stable public class UnknownRegionException extends DoNotRetryRegionException { private static final long serialVersionUID = 1968858760475205392L; public UnknownRegionException(String regionName) { super(regionName); } }
/** * Scan an HBase table to sort by a specified sort column. * If the column does not exist, the record is not passed to Reduce. * * @param <K> WritableComparable key class * @param <V> Writable value class */ @InterfaceAudience.Public @InterfaceStability.Stable public interface TableMap<K extends WritableComparable<? super K>, V> extends Mapper<ImmutableBytesWritable, Result, K, V> { }
@InterfaceAudience.Public @InterfaceStability.Evolving public class LabelAlreadyExistsException extends DoNotRetryIOException { private static final long serialVersionUID = 1L; public LabelAlreadyExistsException(String msg) { super(msg); } }