/** * Thrown when something is wrong in trying to merge two regions. */ @InterfaceAudience.Public @InterfaceStability.Stable public class MergeRegionException extends DoNotRetryRegionException { private static final long serialVersionUID = 4970899110066124122L; /** default constructor */ public MergeRegionException() { super(); } /** * Constructor * @param s message */ public MergeRegionException(String s) { super(s); } }
/** * Thrown when a procedure is aborted */ @InterfaceAudience.Private @InterfaceStability.Stable public class ProcedureAbortedException extends ProcedureException { /** default constructor */ public ProcedureAbortedException() { super(); } /** * Constructor * @param s message */ public ProcedureAbortedException(String s) { super(s); } }
/** * Thrown when no region server can be found for a region */ @InterfaceAudience.Public @InterfaceStability.Stable public class NoServerForRegionException extends DoNotRetryRegionException { private static final long serialVersionUID = 1L << 11 - 1L; /** default constructor */ public NoServerForRegionException() { super(); } /** * Constructor * @param s message */ public NoServerForRegionException(String s) { super(s); } }
/** * Thrown when a procedure WAL is corrupted */ @InterfaceAudience.Private @InterfaceStability.Stable public class CorruptedWALProcedureStoreException extends HBaseIOException { /** default constructor */ public CorruptedWALProcedureStoreException() { super(); } /** * Constructor * @param s message */ public CorruptedWALProcedureStoreException(String s) { super(s); } }
@InterfaceAudience.Private @InterfaceStability.Stable public class ProcedureException extends IOException { /** default constructor */ public ProcedureException() { super(); } /** * Constructor * @param s message */ public ProcedureException(String s) { super(s); } public ProcedureException(Throwable t) { super(t); } }
/** * 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); } }
@InterfaceAudience.Private @InterfaceStability.Stable public class ProcedureYieldException extends ProcedureException { /** default constructor */ public ProcedureYieldException() { super(); } /** * Constructor * @param s message */ public ProcedureYieldException(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); } }
/** * 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); } }
/** * 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> { }
/** * This exception is thrown by the master when a region server reports and is * already being processed as dead. This can happen when a region server loses * its session but didn't figure it yet. */ @SuppressWarnings("serial") @InterfaceAudience.Private @InterfaceStability.Stable public class YouAreDeadException extends IOException { public YouAreDeadException(String message) { super(message); } }
/** * 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); } }
/** * 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> { }
/** * Gets or Scans throw this exception if running without in-row scan flag * set and row size appears to exceed max configured size (configurable via * hbase.table.max.rowsize). */ @InterfaceAudience.Public @InterfaceStability.Stable public class RowTooBigException extends DoNotRetryRegionException { public RowTooBigException(String message) { super(message); } }
/** * Has a row. */ @InterfaceAudience.Public @InterfaceStability.Stable public interface Row extends Comparable<Row> { /** * @return The row. */ byte [] getRow(); }
/** * Write a table, sorting by the input key * * @param <K> key class * @param <V> value class */ @InterfaceAudience.Public @InterfaceStability.Stable @SuppressWarnings("unchecked") public interface TableReduce<K extends WritableComparable, V> extends Reducer<K, V, ImmutableBytesWritable, Put> { }
/** * This exception is thrown by the master when a region server clock skew is * too high. */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Stable public class ClockOutOfSyncException extends IOException { public ClockOutOfSyncException(String message) { super(message); } }
/** * This exception is thrown when a region server is asked to open or close * a region but it's already processing it */ @SuppressWarnings("serial") @InterfaceAudience.Public @InterfaceStability.Stable public class RegionAlreadyInTransitionException extends IOException { public RegionAlreadyInTransitionException(String s) { super(s); } }