org.apache.hadoop.dfs
Interface FSConstants

All Known Implementing Classes:
DataNode, NameNode, SecondaryNameNode

public interface FSConstants

Some handy constants

Author:
Mike Cafarella

Nested Class Summary
static class FSConstants.NodeType
          Type of the node
static class FSConstants.SafeModeAction
           
static class FSConstants.StartupOption
           
 
Field Summary
static int BLOCK_INVALIDATE_CHUNK
           
static long BLOCKREPORT_INTERVAL
           
static int BUFFER_SIZE
           
static byte CHUNKED_ENCODING
           
static int COMPLETE_SUCCESS
           
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_ERROR
           
static byte OP_FAILURE
           
static byte OP_HEARTBEAT
           
static byte OP_INVALIDATE_BLOCKS
           
static byte OP_READ_BLOCK
           
static byte OP_READ_RANGE_BLOCK
           
static byte OP_READSKIP_BLOCK
           
static byte OP_TRANSFERBLOCKS
           
static byte OP_TRANSFERDATA
           
static byte OP_WRITE_BLOCK
           
static int OPERATION_FAILED
           
static int READ_TIMEOUT
           
static byte RUNLENGTH_ENCODING
           
static int STILL_WAITING
           
static long WRITE_COMPLETE
           
 

Field Detail

MIN_BLOCKS_FOR_WRITE

static final int MIN_BLOCKS_FOR_WRITE
See Also:
Constant Field Values

WRITE_COMPLETE

static final long WRITE_COMPLETE
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_READSKIP_BLOCK

static final byte OP_READSKIP_BLOCK
See Also:
Constant Field Values

OP_READ_RANGE_BLOCK

static final byte OP_READ_RANGE_BLOCK
See Also:
Constant Field Values

RUNLENGTH_ENCODING

static final byte RUNLENGTH_ENCODING
See Also:
Constant Field Values

CHUNKED_ENCODING

static final byte CHUNKED_ENCODING
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

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

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

LAYOUT_VERSION

static final int LAYOUT_VERSION
See Also:
Constant Field Values


Copyright © 2006 The Apache Software Foundation