/** * These annotations are meant to indicate how to handle retry logic. * Initially meant for Metastore API when made across a network, i.e. asynchronously where * the response may not reach the caller and thus it cannot know if the operation was actually * performed on the server. */ @InterfaceStability.Evolving @InterfaceAudience.LimitedPrivate("Hive developer") public class RetrySemantics { @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Idempotent { String[] value() default ""; int maxRetryCount() default Integer.MAX_VALUE; int delayMs() default 100; } @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface ReadOnly {/*trivially retry-able*/} @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface CannotRetry {} @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface SafeToRetry { /*may not be Idempotent but is safe to retry*/ String[] value() default ""; } }
@InterfaceAudience.LimitedPrivate({"Common", "HDFS", "MapReduce", "Yarn"}) @InterfaceStability.Unstable public final class CrcUtil { public static final int MULTIPLICATIVE_IDENTITY = 0x80000000;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class SocketOutputStream extends OutputStream implements WritableByteChannel {
@InterfaceAudience.LimitedPrivate({"HDFS"}) @InterfaceStability.Unstable abstract public class FSOutputSummer extends OutputStream {
@InterfaceAudience.LimitedPrivate({"Common", "HDFS", "MapReduce", "Yarn"}) @InterfaceStability.Unstable public class CrcComposer { private static final int CRC_SIZE_BYTES = 4;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class NodeBase implements Node {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public abstract class Filter implements Writable { private static final int VERSION = -1; // negative to accommodate for old format
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class DataInputBuffer extends DataInputStream { private static class Buffer extends ByteArrayInputStream {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving public class CompositeGroupsMapping implements GroupMappingServiceProvider, Configurable {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class Key implements WritableComparable<Key> {
@InterfaceAudience.LimitedPrivate({"HBase", "HDFS", "Hive", "MapReduce", "Pig", "Spark", "YARN"}) @InterfaceStability.Evolving public final class CallerContext { public static final Charset SIGNATURE_ENCODING = StandardCharsets.UTF_8;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving public class ShellBasedUnixGroupsNetgroupMapping extends ShellBasedUnixGroupsMapping {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class DataOutputBuffer extends DataOutputStream {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class ProgramDriver {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class BoundedByteArrayOutputStream extends OutputStream { private byte[] buffer;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving public class DelegationKey implements Writable { private int keyId;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving class User implements Principal { private final String fullName;
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving public class JniBasedUnixGroupsNetgroupMapping extends JniBasedUnixGroupsMapping {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public class AsyncDiskService {
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Unstable public final class AclUtil {