org.apache.hadoop.dfs
Interface FSConstants

All Known Implementing Classes:
DataNode, NameNode, SecondaryNameNode

public interface FSConstants

Some handy constants


Nested Class Summary
static class FSConstants.CheckpointStates
           
static class FSConstants.DatanodeReportType
           
static class FSConstants.NodeType
          Type of the node
static class FSConstants.SafeModeAction
           
static class FSConstants.StartupOption
           
static class FSConstants.UpgradeAction
          Distributed upgrade actions: 1.
 
Field Summary
static int BLOCK_INVALIDATE_CHUNK
           
static long BLOCKREPORT_INITIAL_DELAY
           
static long BLOCKREPORT_INTERVAL
           
static int BUFFER_SIZE
           
static int COMPLETE_SUCCESS
           
static int DATA_TRANSFER_VERSION
          Version for data transfers between clients and datanodes This should change when serialization of DatanodeInfo, not just when protocol changes.
static long DEFAULT_BLOCK_SIZE
           
static int DEFAULT_DATA_SOCKET_SIZE
           
static long HEARTBEAT_INTERVAL
           
static int LAYOUT_VERSION
           
static long LEASE_HARDLIMIT_PERIOD
           
static long LEASE_SOFTLIMIT_PERIOD
           
static int MAX_PATH_DEPTH
           
static int MAX_PATH_LENGTH
           
static int MIN_BLOCKS_FOR_WRITE
           
static byte OP_ACK
           
static byte OP_BLOCKRECEIVED
           
static byte OP_BLOCKREPORT
           
static byte OP_CLIENT_ABANDONBLOCK
           
static byte OP_CLIENT_ABANDONBLOCK_ACK
           
static byte OP_CLIENT_ADDBLOCK
           
static byte OP_CLIENT_ADDBLOCK_ACK
           
static byte OP_CLIENT_COMPLETEFILE
           
static byte OP_CLIENT_COMPLETEFILE_ACK
           
static byte OP_CLIENT_DATANODE_HINTS
           
static byte OP_CLIENT_DATANODE_HINTS_ACK
           
static byte OP_CLIENT_DATANODEREPORT
           
static byte OP_CLIENT_DATANODEREPORT_ACK
           
static byte OP_CLIENT_DELETE
           
static byte OP_CLIENT_DELETE_ACK
           
static byte OP_CLIENT_EXISTS
           
static byte OP_CLIENT_EXISTS_ACK
           
static byte OP_CLIENT_ISDIR
           
static byte OP_CLIENT_ISDIR_ACK
           
static byte OP_CLIENT_LISTING
           
static byte OP_CLIENT_LISTING_ACK
           
static byte OP_CLIENT_MKDIRS
           
static byte OP_CLIENT_MKDIRS_ACK
           
static byte OP_CLIENT_OBTAINLOCK
           
static byte OP_CLIENT_OBTAINLOCK_ACK
           
static byte OP_CLIENT_OPEN
           
static byte OP_CLIENT_OPEN_ACK
           
static byte OP_CLIENT_RAWSTATS
           
static byte OP_CLIENT_RAWSTATS_ACK
           
static byte OP_CLIENT_RELEASELOCK
           
static byte OP_CLIENT_RELEASELOCK_ACK
           
static byte OP_CLIENT_RENAMETO
           
static byte OP_CLIENT_RENAMETO_ACK
           
static byte OP_CLIENT_RENEW_LEASE
           
static byte OP_CLIENT_RENEW_LEASE_ACK
           
static byte OP_CLIENT_STARTFILE
           
static byte OP_CLIENT_STARTFILE_ACK
           
static byte OP_CLIENT_TRYAGAIN
           
static byte OP_COPY_BLOCK
           
static byte OP_ERROR
           
static byte OP_FAILURE
           
static byte OP_HEARTBEAT
           
static byte OP_INVALIDATE_BLOCKS
           
static byte OP_READ_BLOCK
           
static byte OP_READ_METADATA
           
static byte OP_REPLACE_BLOCK
           
static int OP_STATUS_CHECKSUM_OK
           
static int OP_STATUS_ERROR
           
static int OP_STATUS_ERROR_CHECKSUM
           
static int OP_STATUS_ERROR_EXISTS
           
static int OP_STATUS_ERROR_INVALID
           
static int OP_STATUS_SUCCESS
           
static byte OP_TRANSFERBLOCKS
           
static byte OP_TRANSFERDATA
           
static byte OP_WRITE_BLOCK
           
static int OPERATION_FAILED
           
static int READ_TIMEOUT
           
static int SIZE_OF_INTEGER
           
static int SMALL_BUFFER_SIZE
           
static int STILL_WAITING
           
static int WRITE_TIMEOUT
           
static int WRITE_TIMEOUT_EXTENSION
           
 

Field Detail

MIN_BLOCKS_FOR_WRITE

static final int MIN_BLOCKS_FOR_WRITE
See Also:
Constant Field Values

OP_ERROR

static final byte OP_ERROR
See Also:
Constant Field Values

OP_HEARTBEAT

static final byte OP_HEARTBEAT
See Also:
Constant Field Values

OP_BLOCKRECEIVED

static final byte OP_BLOCKRECEIVED
See Also:
Constant Field Values

OP_BLOCKREPORT

static final byte OP_BLOCKREPORT
See Also:
Constant Field Values

OP_TRANSFERDATA

static final byte OP_TRANSFERDATA
See Also:
Constant Field Values

OP_CLIENT_OPEN

static final byte OP_CLIENT_OPEN
See Also:
Constant Field Values

OP_CLIENT_STARTFILE

static final byte OP_CLIENT_STARTFILE
See Also:
Constant Field Values

OP_CLIENT_ADDBLOCK

static final byte OP_CLIENT_ADDBLOCK
See Also:
Constant Field Values

OP_CLIENT_RENAMETO

static final byte OP_CLIENT_RENAMETO
See Also:
Constant Field Values

OP_CLIENT_DELETE

static final byte OP_CLIENT_DELETE
See Also:
Constant Field Values

OP_CLIENT_COMPLETEFILE

static final byte OP_CLIENT_COMPLETEFILE
See Also:
Constant Field Values

OP_CLIENT_LISTING

static final byte OP_CLIENT_LISTING
See Also:
Constant Field Values

OP_CLIENT_OBTAINLOCK

static final byte OP_CLIENT_OBTAINLOCK
See Also:
Constant Field Values

OP_CLIENT_RELEASELOCK

static final byte OP_CLIENT_RELEASELOCK
See Also:
Constant Field Values

OP_CLIENT_EXISTS

static final byte OP_CLIENT_EXISTS
See Also:
Constant Field Values

OP_CLIENT_ISDIR

static final byte OP_CLIENT_ISDIR
See Also:
Constant Field Values

OP_CLIENT_MKDIRS

static final byte OP_CLIENT_MKDIRS
See Also:
Constant Field Values

OP_CLIENT_RENEW_LEASE

static final byte OP_CLIENT_RENEW_LEASE
See Also:
Constant Field Values

OP_CLIENT_ABANDONBLOCK

static final byte OP_CLIENT_ABANDONBLOCK
See Also:
Constant Field Values

OP_CLIENT_RAWSTATS

static final byte OP_CLIENT_RAWSTATS
See Also:
Constant Field Values

OP_CLIENT_DATANODEREPORT

static final byte OP_CLIENT_DATANODEREPORT
See Also:
Constant Field Values

OP_CLIENT_DATANODE_HINTS

static final byte OP_CLIENT_DATANODE_HINTS
See Also:
Constant Field Values

OP_ACK

static final byte OP_ACK
See Also:
Constant Field Values

OP_TRANSFERBLOCKS

static final byte OP_TRANSFERBLOCKS
See Also:
Constant Field Values

OP_INVALIDATE_BLOCKS

static final byte OP_INVALIDATE_BLOCKS
See Also:
Constant Field Values

OP_FAILURE

static final byte OP_FAILURE
See Also:
Constant Field Values

OP_CLIENT_OPEN_ACK

static final byte OP_CLIENT_OPEN_ACK
See Also:
Constant Field Values

OP_CLIENT_STARTFILE_ACK

static final byte OP_CLIENT_STARTFILE_ACK
See Also:
Constant Field Values

OP_CLIENT_ADDBLOCK_ACK

static final byte OP_CLIENT_ADDBLOCK_ACK
See Also:
Constant Field Values

OP_CLIENT_RENAMETO_ACK

static final byte OP_CLIENT_RENAMETO_ACK
See Also:
Constant Field Values

OP_CLIENT_DELETE_ACK

static final byte OP_CLIENT_DELETE_ACK
See Also:
Constant Field Values

OP_CLIENT_COMPLETEFILE_ACK

static final byte OP_CLIENT_COMPLETEFILE_ACK
See Also:
Constant Field Values

OP_CLIENT_TRYAGAIN

static final byte OP_CLIENT_TRYAGAIN
See Also:
Constant Field Values

OP_CLIENT_LISTING_ACK

static final byte OP_CLIENT_LISTING_ACK
See Also:
Constant Field Values

OP_CLIENT_OBTAINLOCK_ACK

static final byte OP_CLIENT_OBTAINLOCK_ACK
See Also:
Constant Field Values

OP_CLIENT_RELEASELOCK_ACK

static final byte OP_CLIENT_RELEASELOCK_ACK
See Also:
Constant Field Values

OP_CLIENT_EXISTS_ACK

static final byte OP_CLIENT_EXISTS_ACK
See Also:
Constant Field Values

OP_CLIENT_ISDIR_ACK

static final byte OP_CLIENT_ISDIR_ACK
See Also:
Constant Field Values

OP_CLIENT_MKDIRS_ACK

static final byte OP_CLIENT_MKDIRS_ACK
See Also:
Constant Field Values

OP_CLIENT_RENEW_LEASE_ACK

static final byte OP_CLIENT_RENEW_LEASE_ACK
See Also:
Constant Field Values

OP_CLIENT_ABANDONBLOCK_ACK

static final byte OP_CLIENT_ABANDONBLOCK_ACK
See Also:
Constant Field Values

OP_CLIENT_RAWSTATS_ACK

static final byte OP_CLIENT_RAWSTATS_ACK
See Also:
Constant Field Values

OP_CLIENT_DATANODEREPORT_ACK

static final byte OP_CLIENT_DATANODEREPORT_ACK
See Also:
Constant Field Values

OP_CLIENT_DATANODE_HINTS_ACK

static final byte OP_CLIENT_DATANODE_HINTS_ACK
See Also:
Constant Field Values

OP_WRITE_BLOCK

static final byte OP_WRITE_BLOCK
See Also:
Constant Field Values

OP_READ_BLOCK

static final byte OP_READ_BLOCK
See Also:
Constant Field Values

OP_READ_METADATA

static final byte OP_READ_METADATA
See Also:
Constant Field Values

OP_REPLACE_BLOCK

static final byte OP_REPLACE_BLOCK
See Also:
Constant Field Values

OP_COPY_BLOCK

static final byte OP_COPY_BLOCK
See Also:
Constant Field Values

OP_STATUS_SUCCESS

static final int OP_STATUS_SUCCESS
See Also:
Constant Field Values

OP_STATUS_ERROR

static final int OP_STATUS_ERROR
See Also:
Constant Field Values

OP_STATUS_ERROR_CHECKSUM

static final int OP_STATUS_ERROR_CHECKSUM
See Also:
Constant Field Values

OP_STATUS_ERROR_INVALID

static final int OP_STATUS_ERROR_INVALID
See Also:
Constant Field Values

OP_STATUS_ERROR_EXISTS

static final int OP_STATUS_ERROR_EXISTS
See Also:
Constant Field Values

OP_STATUS_CHECKSUM_OK

static final int OP_STATUS_CHECKSUM_OK
See Also:
Constant Field Values

DATA_TRANSFER_VERSION

static final int DATA_TRANSFER_VERSION
Version for data transfers between clients and datanodes This should change when serialization of DatanodeInfo, not just when protocol changes. It is not very obvious.

See Also:
Constant Field Values

OPERATION_FAILED

static final int OPERATION_FAILED
See Also:
Constant Field Values

STILL_WAITING

static final int STILL_WAITING
See Also:
Constant Field Values

COMPLETE_SUCCESS

static final int COMPLETE_SUCCESS
See Also:
Constant Field Values

BLOCK_INVALIDATE_CHUNK

static final int BLOCK_INVALIDATE_CHUNK
See Also:
Constant Field Values

HEARTBEAT_INTERVAL

static final long HEARTBEAT_INTERVAL
See Also:
Constant Field Values

BLOCKREPORT_INTERVAL

static final long BLOCKREPORT_INTERVAL
See Also:
Constant Field Values

BLOCKREPORT_INITIAL_DELAY

static final long BLOCKREPORT_INITIAL_DELAY
See Also:
Constant Field Values

LEASE_SOFTLIMIT_PERIOD

static final long LEASE_SOFTLIMIT_PERIOD
See Also:
Constant Field Values

LEASE_HARDLIMIT_PERIOD

static final long LEASE_HARDLIMIT_PERIOD
See Also:
Constant Field Values

READ_TIMEOUT

static final int READ_TIMEOUT
See Also:
Constant Field Values

WRITE_TIMEOUT

static final int WRITE_TIMEOUT
See Also:
Constant Field Values

WRITE_TIMEOUT_EXTENSION

static final int WRITE_TIMEOUT_EXTENSION
See Also:
Constant Field Values

MAX_PATH_LENGTH

static final int MAX_PATH_LENGTH
See Also:
Constant Field Values

MAX_PATH_DEPTH

static final int MAX_PATH_DEPTH
See Also:
Constant Field Values

BUFFER_SIZE

static final int BUFFER_SIZE

SMALL_BUFFER_SIZE

static final int SMALL_BUFFER_SIZE

DEFAULT_BLOCK_SIZE

static final long DEFAULT_BLOCK_SIZE
See Also:
Constant Field Values

DEFAULT_DATA_SOCKET_SIZE

static final int DEFAULT_DATA_SOCKET_SIZE
See Also:
Constant Field Values

SIZE_OF_INTEGER

static final int SIZE_OF_INTEGER
See Also:
Constant Field Values

LAYOUT_VERSION

static final int LAYOUT_VERSION
See Also:
Constant Field Values


Copyright © 2008 The Apache Software Foundation