A B C D E F G H I J K L M N O P Q R S T U V W X

A

abandonBlock(Block, String, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
The client can give up on a block by calling abandonBlock().
abandonBlock(Block, String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
The client would like to let go of the given block
abandonBlock(Block, String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
The client needs to give up on the block.
AccessTokenHandler - Class in org.apache.hadoop.hdfs.security
AccessTokenHandler can be instantiated in 2 modes, master mode and slave mode.
AccessTokenHandler(boolean, long, long) - Constructor for class org.apache.hadoop.hdfs.security.AccessTokenHandler
Constructor
AccessTokenHandler.AccessMode - Enum in org.apache.hadoop.hdfs.security
 
ACT_CHECKPOINT - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
ACT_SHUTDOWN - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
ACT_UNKNOWN - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
add(BlockRecoveryCommand.RecoveringBlock) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
Add recovering block to the command.
addBlock(String, String, Block, DatanodeInfo[]) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
A client that wants to write an additional block to the indicated filename (which must currently be open for writing) should call addBlock().
addBlock(String, String, Block, DatanodeInfo[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
addPersistedDelegationToken(DelegationTokenIdentifier, long) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
This method is intended to be used only while reading edit logs.
addStorageDir(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
addTableFooter(JspWriter) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
addTableHeader(JspWriter) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
addTableRow(JspWriter, String[]) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
addTableRow(JspWriter, String[], int) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
addToCorruptReplicasMap(Block, DatanodeDescriptor) - Method in class org.apache.hadoop.hdfs.server.namenode.CorruptReplicasMap
Mark the block belonging to datanode as corrupt.
adjustCrcChannelPosition(Block, FSDatasetInterface.BlockWriteStreams, int) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Sets the offset in the meta file so that the last checksum will be overwritten.
adjustCrcChannelPosition(Block, FSDatasetInterface.BlockWriteStreams, int) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Sets the file pointer of the checksum stream so that the last checksum will be overwritten
adminState - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
ALREADY_RUNNING - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
AlreadyBeingCreatedException - Exception in org.apache.hadoop.hdfs.protocol
The exception that happens when you ask to create a file that already is being created, but is not closed yet.
AlreadyBeingCreatedException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException
 
analyzeStorage(HdfsConstants.StartupOption) - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Check consistency of the storage directory
append(Path, int, Progressable) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
This optional operation is not yet supported.
append(Path, int, Progressable) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
This optional operation is not yet supported.
append(String, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Append to the end of the file.
append(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
append(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Append to a finalized replica and returns the meta info of the replica
append(String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Append to the end of the file.
auditLog - Static variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Logger for audit events, noting successful FSNamesystem operations.

B

BackupNode - Class in org.apache.hadoop.hdfs.server.namenode
BackupNode.
BackupStorage - Class in org.apache.hadoop.hdfs.server.namenode
 
Balancer - Class in org.apache.hadoop.hdfs.server.balancer
The balancer is a tool that balances disk space usage on an HDFS cluster when some datanodes become full or when new empty nodes join the cluster.
bestNode(LocatedBlock) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
Block - Class in org.apache.hadoop.hdfs.protocol
A Block is a Hadoop FS primitive, identified by a long.
Block() - Constructor for class org.apache.hadoop.hdfs.protocol.Block
 
Block(long, long, long) - Constructor for class org.apache.hadoop.hdfs.protocol.Block
 
Block(long) - Constructor for class org.apache.hadoop.hdfs.protocol.Block
 
Block(Block) - Constructor for class org.apache.hadoop.hdfs.protocol.Block
 
Block(File, long, long) - Constructor for class org.apache.hadoop.hdfs.protocol.Block
Find the blockid from the given filename
block - Variable in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor.BlockTargetPair
 
BLOCK_FILE_PREFIX - Static variable in class org.apache.hadoop.hdfs.protocol.Block
 
BLOCK_INVALIDATE_CHUNK - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
BlockAccessKey - Class in org.apache.hadoop.hdfs.security
Key used for generating and verifying access tokens
BlockAccessKey() - Constructor for class org.apache.hadoop.hdfs.security.BlockAccessKey
 
BlockAccessKey(long, Text, long) - Constructor for class org.apache.hadoop.hdfs.security.BlockAccessKey
 
BlockAccessToken - Class in org.apache.hadoop.hdfs.security
 
BlockAccessToken() - Constructor for class org.apache.hadoop.hdfs.security.BlockAccessToken
 
BlockAccessToken(Text, Text) - Constructor for class org.apache.hadoop.hdfs.security.BlockAccessToken
 
blockChecksumOp - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
BlockCommand - Class in org.apache.hadoop.hdfs.server.protocol
A BlockCommand is an instruction to a datanode regarding some blocks under its control.
BlockCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockCommand
 
BlockCommand(int, List<DatanodeDescriptor.BlockTargetPair>) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockCommand
Create BlockCommand for transferring blocks to another datanode
BlockCommand(int, Block[]) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockCommand
Create BlockCommand for the given action
blockFilePattern - Static variable in class org.apache.hadoop.hdfs.protocol.Block
 
BlockListAsLongs - Class in org.apache.hadoop.hdfs.protocol
This class provides an interface for accessing list of blocks that has been implemented as long[].
BlockListAsLongs(List<? extends Block>, List<ReplicaInfo>) - Constructor for class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Create block report from finalized and under construction lists of blocks.
BlockListAsLongs() - Constructor for class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
 
BlockListAsLongs(long[]) - Constructor for class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Constructor
BlockListAsLongs.BlockReportIterator - Class in org.apache.hadoop.hdfs.protocol
Iterates over blocks in the block report.
BlockManager - Class in org.apache.hadoop.hdfs.server.namenode
Keeps information related to the blocks stored in the Hadoop cluster.
BlockMissingException - Exception in org.apache.hadoop.hdfs
This exception is thrown when a read encounters a block that has no locations associated with it.
BlockMissingException(String, String, long) - Constructor for exception org.apache.hadoop.hdfs.BlockMissingException
An exception that indicates that file was corrupted.
BlockPlacementPolicy - Class in org.apache.hadoop.hdfs.server.namenode
This interface is used for choosing the desired number of targets for placing block replicas.
BlockPlacementPolicy() - Constructor for class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy
 
BlockPlacementPolicy.NotEnoughReplicasException - Exception in org.apache.hadoop.hdfs.server.namenode
 
BlockPlacementPolicyDefault - Class in org.apache.hadoop.hdfs.server.namenode
The class is responsible for choosing the desired number of targets for placing block replicas.
BlockReader - Class in org.apache.hadoop.hdfs
This is a wrapper around connection to datadone and understands checksum, offset etc
blockReceived(DatanodeID, Block, String) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
The given node is reporting that it received a certain block.
blockReceived(DatanodeRegistration, Block[], String[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
blockReceived(DatanodeRegistration, Block[], String[]) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
blockReceived() allows the DataNode to tell the NameNode about recently-received block data, with a hint for pereferred replica to be deleted when there is any excessive blocks.
BlockRecoveryCommand - Class in org.apache.hadoop.hdfs.server.protocol
BlockRecoveryCommand is an instruction to a data-node to recover the specified blocks.
BlockRecoveryCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
Create empty BlockRecoveryCommand.
BlockRecoveryCommand(int) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
Create BlockRecoveryCommand with the specified capacity for recovering blocks.
BlockRecoveryCommand.RecoveringBlock - Class in org.apache.hadoop.hdfs.server.protocol
This is a block with locations from which it should be recovered and the new generation stamp, which the block will have after successful recovery.
BlockRecoveryCommand.RecoveringBlock() - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock
Create empty RecoveringBlock.
BlockRecoveryCommand.RecoveringBlock(Block, DatanodeInfo[], long) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock
Create RecoveringBlock.
blockReport - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
blockReport(DatanodeRegistration, long[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
blockReport(DatanodeRegistration, long[]) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
blockReport() tells the NameNode about all the locally-stored blocks.
BLOCKREPORT_INITIAL_DELAY - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
BLOCKREPORT_INTERVAL - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
blockReports - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
blockScanner - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
blockScannerThread - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
blocksRead - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
blocksRemoved - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
blocksReplicated - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
blocksVerified - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
BlocksWithLocations - Class in org.apache.hadoop.hdfs.server.protocol
A class to implement an array of BlockLocations It provide efficient customized serialization/deserialization methods in stead of using the default array (de)serialization provided by RPC
BlocksWithLocations(BlocksWithLocations.BlockWithLocations[]) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations
Constructor with one parameter
BlocksWithLocations.BlockWithLocations - Class in org.apache.hadoop.hdfs.server.protocol
A class to keep track of a block and its locations
BlocksWithLocations.BlockWithLocations() - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
default constructor
BlocksWithLocations.BlockWithLocations(Block, String[]) - Constructor for class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
constructor
blocksWritten - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
blockVerificationFailures - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
broadcastCommand - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
BUFFER_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
buildOptions() - Static method in class org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
Build command-line options and descriptions
buildRoot(HttpServletRequest, XMLOutputter) - Method in class org.apache.hadoop.hdfs.server.namenode.ListPathsServlet
Build a map from the query string, setting values and defaults.
bytes2String(byte[]) - Static method in class org.apache.hadoop.hdfs.DFSUtil
Converts a byte array to a string using UTF8 encoding.
bytesRead - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
bytesWritten - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 

C

cancelDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.DFSClient
 
cancelDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Cancel an existing delegation token.
cancelDelegationToken(Token<DelegationTokenIdentifier>) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Cancel an existing delegation token.
cancelDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
cancelDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
capacity - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
checkAccess(BlockAccessToken, String, long, AccessTokenHandler.AccessMode) - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Check if access should be allowed.
checkAndUpdate(long, File, File, FSDataset.FSVolume) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Reconcile the difference between blocks on the disk and blocks in volumeMap Check the given block for inconsistencies.
checkClientTrusted(X509Certificate[], String) - Method in class org.apache.hadoop.hdfs.HsftpFileSystem.DummyTrustManager
 
checkDataDir() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
check if a data directory is healthy if some volumes failed - make sure to remove all the blocks that belong to these volumes
checkDataDir() - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Check if all the data directories are healthy
checkDiskError(Exception) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Check if there is no space in disk
checkDiskError() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Check if there is a disk failure and if so, handle the error
checkPath(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Permit paths which explicitly specify the default port.
CheckpointCommand - Class in org.apache.hadoop.hdfs.server.protocol
Checkpoint command.
CheckpointCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
 
CheckpointCommand(CheckpointSignature, boolean, boolean) - Constructor for class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
 
CheckpointSignature - Class in org.apache.hadoop.hdfs.server.namenode
A unique signature intended to identify checkpoint transactions.
CheckpointSignature() - Constructor for class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
checkpointTime - Variable in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
checkServerTrusted(X509Certificate[], String) - Method in class org.apache.hadoop.hdfs.HsftpFileSystem.DummyTrustManager
 
checkVersionUpgradable(int) - Static method in class org.apache.hadoop.hdfs.server.common.Storage
Checks if the upgrade from the given old version is supported.
chooseReplicaToDelete(FSInodeInfo, Block, short, Collection<DatanodeDescriptor>, Collection<DatanodeDescriptor>) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy
Decide whether deleting the specified replica of the block still makes the block conform to the configured block placement policy.
chooseReplicaToDelete(FSInodeInfo, Block, short, Collection<DatanodeDescriptor>, Collection<DatanodeDescriptor>) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
Decide whether deleting the specified replica of the block still makes the block conform to the configured block placement policy.
chooseTarget(String, int, DatanodeDescriptor, List<DatanodeDescriptor>, long) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
choose numOfReplicas data nodes for writer to re-replicate a block with size blocksize If not, return as many as we can.
chooseTarget(String, int, DatanodeDescriptor, List<DatanodeDescriptor>, HashMap<Node, Node>, long) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
choose numOfReplicas data nodes for writer to re-replicate a block with size blocksize If not, return as many as we can.
chooseTarget(FSInodeInfo, int, DatanodeDescriptor, List<DatanodeDescriptor>, long) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
choose numOfReplicas data nodes for writer If not, return as many as we can.
ckptState - Variable in class org.apache.hadoop.hdfs.server.namenode.FSImage
Can fs-image be rolled?
clearDirectory() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Clear and re-create storage directory.
clearErrorSimulation(int) - Static method in class org.apache.hadoop.hdfs.DFSUtil.ErrorSimulator
 
ClientDatanodeProtocol - Interface in org.apache.hadoop.hdfs.protocol
An client-datanode protocol for block recovery
ClientProtocol - Interface in org.apache.hadoop.hdfs.protocol
ClientProtocol is used by user code via DistributedFileSystem class to communicate with the NameNode.
close() - Method in class org.apache.hadoop.hdfs.BlockReader
 
close() - Method in class org.apache.hadoop.hdfs.DFSClient
Close the file system, abandoning all of the leases and files being created and close connections to the namenode.
close() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
close() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface.BlockInputStreams
close() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Close down this file system manager.
code - Variable in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Op
The code for this operation.
commitBlockSynchronization(Block, long, long, boolean, boolean, DatanodeID[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Commit block synchronization in lease recovery
commitBlockSynchronization(Block, long, long, boolean, boolean, DatanodeID[]) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
Commit block synchronization in lease recovery
compareTo(Block) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
compareTo(DatanodeID) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
Comparable.
compareTo(GenerationStamp) - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
 
compareTo(Upgradeable) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
compareTo(CheckpointSignature) - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
complete(String, String, Block) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
The client is done writing data to the given filename, and would like to complete it.
complete(String, String, Block) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
The client is done writing data to the given filename, and would like to complete it.
completeFile(String, String, Block) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
completeUpgrade() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Complete upgrade.
completeUpgrade() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
completeUpgrade() - Method in class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
Complete upgrade and return a status complete command for broadcasting.
computeDatanodeWork() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Compute block replication and block invalidation work that can be scheduled on data-nodes.
concat(String, String[]) - Method in class org.apache.hadoop.hdfs.DFSClient
Move blocks from src to trg and delete src See ClientProtocol.concat(String, String []).
concat(Path, Path[]) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
THIS IS DFS only operations, it is not part of FileSystem move blocks from srcs to trg and delete srcs afterwards all blocks should be the same size
concat(String, String[]) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Moves blocks from srcs to trg and delete srcs
concat(String, String[]) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Moves all the blocks from srcs and appends them to trg To avoid rollbacks we will verify validitity of ALL of the args before we start actual move.
concat(String, String[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Moves blocks from srcs to trg and delete srcs
ContentSummaryServlet - Class in org.apache.hadoop.hdfs.server.namenode
Servlets for file checksum
ContentSummaryServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.ContentSummaryServlet
 
copyBlockOp - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
CORRUPT_STATUS - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
 
corruptPreUpgradeStorage(File) - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
corruptPreUpgradeStorage(File) - Method in class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
corruptPreUpgradeStorage(File) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
CorruptReplicasMap - Class in org.apache.hadoop.hdfs.server.namenode
Stores information about all corrupt blocks in the File System.
CorruptReplicasMap() - Constructor for class org.apache.hadoop.hdfs.server.namenode.CorruptReplicasMap
 
count - Variable in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
countLease() - Method in class org.apache.hadoop.hdfs.server.namenode.LeaseManager
 
create(String, boolean) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a new dfs file and return an output stream for writing into it.
create(String, boolean, Progressable) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a new dfs file and return an output stream for writing into it with write-progress reporting.
create(String, boolean, short, long) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a new dfs file with the specified block replication and return an output stream for writing into the file.
create(String, boolean, short, long, Progressable) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a new dfs file with the specified block replication with write-progress reporting and return an output stream for writing into the file.
create(String, boolean, short, long, Progressable, int) - Method in class org.apache.hadoop.hdfs.DFSClient
Call DFSClient.create(String,FsPermission,EnumSet,short,long,Progressable,int) with default permission.
create(String, FsPermission, EnumSet<CreateFlag>, short, long, Progressable, int) - Method in class org.apache.hadoop.hdfs.DFSClient
Call DFSClient.create(String,FsPermission,EnumSet,boolean,short,long,Progressable,int) with createParent set to true.
create(String, FsPermission, EnumSet<CreateFlag>, boolean, short, long, Progressable, int) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a new dfs file with the specified block replication with write-progress reporting and return an output stream for writing into the file.
create(Path, FsPermission, boolean, int, short, long, Progressable) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
create(Path, FsPermission, boolean, int, short, long, Progressable) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
create(String, FsPermission, String, EnumSetWritable<CreateFlag>, boolean, short, long) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Create a new file entry in the namespace.
create(String, FsPermission, String, EnumSetWritable<CreateFlag>, boolean, short, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Create a new file entry in the namespace.
createDataNode(String[], Configuration) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Instantiate & Start a single datanode daemon and wait for it to finish.
createIdentifier() - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
 
createInterDataNodeProtocolProxy(DatanodeID, Configuration) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
createInternal(Path, EnumSet<CreateFlag>, FsPermission, int, short, long, Progressable, int, boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
createNamenode(Configuration) - Static method in class org.apache.hadoop.hdfs.DFSClient
The locking hierarchy is to first acquire lock on DFSClient object, followed by lock on leasechecker, followed by lock on an individual DFSOutputStream.
createNamenode(InetSocketAddress, Configuration) - Static method in class org.apache.hadoop.hdfs.DFSClient
 
createNameNode(String[], Configuration) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
createNonRecursive(Path, FsPermission, EnumSet<CreateFlag>, int, short, long, Progressable) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Same as create(), except fails if parent directory doesn't already exist.
createRbw(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
createRbw(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Creates a RBW replica and returns the meta info of the replica
createSocketAddr(String) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Deprecated. 
createSymlink(Path, Path, boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
createSymlink(String, String, boolean) - Method in class org.apache.hadoop.hdfs.DFSClient
Creates a symbolic link.
createSymlink(String, String, FsPermission, boolean) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Create a symbolic link to a file or directory.
createSymlink(String, String, PermissionStatus, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Create a symbolic link.
createSymlink(String, String, FsPermission, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
createTemporary(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
createTemporary(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Creates a temporary replica and returns the meta information of the replica
createTitle(JspWriter, HttpServletRequest, String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
createUri(String, HdfsFileStatus, UserGroupInformation, ClientProtocol, HttpServletRequest) - Method in class org.apache.hadoop.hdfs.server.namenode.FileDataServlet
Create a redirection URI
cTime - Variable in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
currentUpgrades - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 

D

data - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
DATA_TRANSFER_VERSION - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Version for data transfers between clients and datanodes This should change when serialization of DatanodeInfo, not just when protocol changes.
DataNode - Class in org.apache.hadoop.hdfs.server.datanode
DataNode is a class (and program) that stores a set of blocks for a DFS deployment.
DataNodeActivityMBean - Class in org.apache.hadoop.hdfs.server.datanode.metrics
This is the JMX MBean for reporting the DataNode Activity.
DataNodeActivityMBean(MetricsRegistry, String) - Constructor for class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeActivityMBean
 
DatanodeCommand - Class in org.apache.hadoop.hdfs.server.protocol
Base class for data-node command.
DatanodeCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
 
DatanodeDescriptor - Class in org.apache.hadoop.hdfs.server.namenode
DatanodeDescriptor tracks stats on a given DataNode, such as available storage capacity, last update time, etc., and maintains a set of blocks stored on the datanode.
DatanodeDescriptor() - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
Default constructor
DatanodeDescriptor(DatanodeID) - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
DatanodeDescriptor constructor
DatanodeDescriptor(DatanodeID, String) - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
DatanodeDescriptor constructor
DatanodeDescriptor(DatanodeID, String, String) - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
DatanodeDescriptor constructor
DatanodeDescriptor(DatanodeID, long, long, long, int) - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
DatanodeDescriptor constructor
DatanodeDescriptor(DatanodeID, String, String, long, long, long, int) - Constructor for class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
DatanodeDescriptor constructor
DatanodeDescriptor.BlockTargetPair - Class in org.apache.hadoop.hdfs.server.namenode
Block and targets pair
DatanodeID - Class in org.apache.hadoop.hdfs.protocol
DatanodeID is composed of the data node name (hostname:portNumber) and the data storage ID, which it currently represents.
DatanodeID() - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeID
Equivalent to DatanodeID("").
DatanodeID(String) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeID
Equivalent to DatanodeID(nodeName, "", -1, -1).
DatanodeID(DatanodeID) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeID
DatanodeID copy constructor
DatanodeID(String, String, int, int) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeID
Create DatanodeID
DatanodeInfo - Class in org.apache.hadoop.hdfs.protocol
DatanodeInfo represents the status of a DataNode.
DatanodeInfo() - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
DatanodeInfo(DatanodeInfo) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
DatanodeInfo(DatanodeID) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
DatanodeInfo(DatanodeID, String, String) - Constructor for class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
DatanodeInfo.AdminStates - Enum in org.apache.hadoop.hdfs.protocol
 
DatanodeJspHelper - Class in org.apache.hadoop.hdfs.server.datanode
 
DatanodeJspHelper() - Constructor for class org.apache.hadoop.hdfs.server.datanode.DatanodeJspHelper
 
DataNodeMetrics - Class in org.apache.hadoop.hdfs.server.datanode.metrics
This class is for maintaining the various DataNode statistics and publishing them through the metrics interfaces.
DataNodeMetrics(Configuration, String) - Constructor for class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
DatanodeProtocol - Interface in org.apache.hadoop.hdfs.server.protocol
Protocol that a DFS datanode uses to communicate with the NameNode.
DatanodeRegistration - Class in org.apache.hadoop.hdfs.server.protocol
DatanodeRegistration class contains all information the name-node needs to identify and verify a data-node when it contacts the name-node.
DatanodeRegistration() - Constructor for class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
Default constructor.
DatanodeRegistration(String) - Constructor for class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
Create DatanodeRegistration
datanodeReport(FSConstants.DatanodeReportType) - Method in class org.apache.hadoop.hdfs.DFSClient
 
datanodeReport(FSConstants.DatanodeReportType) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
DataStorage - Class in org.apache.hadoop.hdfs.server.datanode
Data storage information file.
DataStorage(StorageInfo, String) - Constructor for class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
DataTransferProtocol - Interface in org.apache.hadoop.hdfs.protocol
Transfer data to/from datanode using a streaming protocol.
DataTransferProtocol.BlockConstructionStage - Enum in org.apache.hadoop.hdfs.protocol
 
DataTransferProtocol.Op - Enum in org.apache.hadoop.hdfs.protocol
Operation
DataTransferProtocol.PipelineAck - Class in org.apache.hadoop.hdfs.protocol
reply
DataTransferProtocol.PipelineAck() - Constructor for class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
default constructor
DataTransferProtocol.PipelineAck(long, DataTransferProtocol.Status[]) - Constructor for class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
Constructor
DataTransferProtocol.Receiver - Class in org.apache.hadoop.hdfs.protocol
Receiver
DataTransferProtocol.Receiver() - Constructor for class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
 
DataTransferProtocol.Sender - Class in org.apache.hadoop.hdfs.protocol
Sender
DataTransferProtocol.Sender() - Constructor for class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
 
DataTransferProtocol.Status - Enum in org.apache.hadoop.hdfs.protocol
Status
DEFAULT_BLOCK_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DEFAULT_BYTES_PER_CHECKSUM - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DEFAULT_DATA_SOCKET_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DEFAULT_FILE_BUFFER_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DEFAULT_INITIAL_MAP_CAPACITY - Static variable in class org.apache.hadoop.hdfs.server.namenode.BlockManager
 
DEFAULT_MAP_LOAD_FACTOR - Static variable in class org.apache.hadoop.hdfs.server.namenode.BlockManager
 
DEFAULT_MAX_CORRUPT_FILES_RETURNED - Static variable in class org.apache.hadoop.hdfs.server.namenode.BlockManager
 
DEFAULT_PORT - Static variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
DEFAULT_REPLICATION_FACTOR - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DEFAULT_WRITE_PACKET_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
DELEGATION_PARAMETER_NAME - Static variable in class org.apache.hadoop.hdfs.server.common.JspHelper
 
DelegationTokenFetcher - Class in org.apache.hadoop.hdfs.tools
Fetch a DelegationToken from the current Namenode and store it in the specified file.
DelegationTokenFetcher(DistributedFileSystem, DataOutputStream, UserGroupInformation) - Constructor for class org.apache.hadoop.hdfs.tools.DelegationTokenFetcher
 
DelegationTokenIdentifier - Class in org.apache.hadoop.hdfs.security.token.delegation
A delegation token identifier that is specific to HDFS.
DelegationTokenIdentifier() - Constructor for class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier
Create an empty delegation token identifier for reading into.
DelegationTokenIdentifier(Text, Text, Text) - Constructor for class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier
Create a new delegation token identifier
DelegationTokenSecretManager - Class in org.apache.hadoop.hdfs.security.token.delegation
A HDFS specific delegation token secret manager.
DelegationTokenSecretManager(long, long, long, long, FSNamesystem) - Constructor for class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Create a secret manager
DelegationTokenSelector - Class in org.apache.hadoop.hdfs.security.token.delegation
A delegation token that is specialized for HDFS
DelegationTokenSelector() - Constructor for class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSelector
 
DelegationTokenServlet - Class in org.apache.hadoop.hdfs.server.namenode
Serve delegation tokens over http for use in hftp.
DelegationTokenServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.DelegationTokenServlet
 
delete(Path, boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
delete(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Deprecated. 
delete(String, boolean) - Method in class org.apache.hadoop.hdfs.DFSClient
delete file or directory.
delete(Path, boolean) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
delete(Path, boolean) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
delete(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Deprecated. use ClientProtocol.delete(String, boolean) istead.
delete(String, boolean) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Delete the given file or directory from the file system.
delete(String, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Remove the indicated filename from namespace.
delete(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Deprecated. 
delete(String, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Delete the given file or directory from the file system.
deleteDir(File) - Static method in class org.apache.hadoop.hdfs.server.common.Storage
 
DeprecatedUTF8 - Class in org.apache.hadoop.hdfs
A simple wrapper around UTF8.
DeprecatedUTF8() - Constructor for class org.apache.hadoop.hdfs.DeprecatedUTF8
 
DeprecatedUTF8(String) - Constructor for class org.apache.hadoop.hdfs.DeprecatedUTF8
Construct from a given string.
DeprecatedUTF8(DeprecatedUTF8) - Constructor for class org.apache.hadoop.hdfs.DeprecatedUTF8
Construct from a given string.
df - Static variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
df - Static variable in class org.apache.hadoop.hdfs.server.namenode.ListPathsServlet
 
DFS_BALANCER_MOVEDWINWIDTH_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BALANCER_MOVEDWINWIDTH_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_KEY_UPDATE_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_KEY_UPDATE_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_TOKEN_ENABLE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_TOKEN_ENABLE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_TOKEN_LIFETIME_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_ACCESS_TOKEN_LIFETIME_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_SIZE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCK_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCKREPORT_INITIAL_DELAY_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCKREPORT_INITIAL_DELAY_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCKREPORT_INTERVAL_MSEC_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BLOCKREPORT_INTERVAL_MSEC_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BYTES_PER_CHECKSUM_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_BYTES_PER_CHECKSUM_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_BLOCK_WRITE_LOCATEFOLLOWINGBLOCK_RETRIES_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_BLOCK_WRITE_LOCATEFOLLOWINGBLOCK_RETRIES_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_BLOCK_WRITE_RETRIES_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_BLOCK_WRITE_RETRIES_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_HTTPS_KEYSTORE_RESOURCE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_HTTPS_KEYSTORE_RESOURCE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_HTTPS_NEED_AUTH_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_HTTPS_NEED_AUTH_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_MAX_BLOCK_ACQUIRE_FAILURES_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_MAX_BLOCK_ACQUIRE_FAILURES_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_READ_PREFETCH_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_RETRY_WINDOW_BASE - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_SOCKET_TIMEOUT_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_WRITE_PACKET_SIZE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_CLIENT_WRITE_PACKET_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_BALANCE_BANDWIDTHPERSEC_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DATA_DIR_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DATA_DIR_PERMISSION_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DATA_DIR_PERMISSION_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DIRECTORYSCAN_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DIRECTORYSCAN_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DIRECTORYSCAN_THREADS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DIRECTORYSCAN_THREADS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DNS_INTERFACE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DNS_INTERFACE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DNS_NAMESERVER_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DNS_NAMESERVER_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DU_RESERVED_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_DU_RESERVED_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_FAILED_VOLUMES_TOLERATED_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_FAILED_VOLUMES_TOLERATED_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HANDLER_COUNT_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HANDLER_COUNT_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HOST_NAME_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HTTP_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HTTP_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HTTPS_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_HTTPS_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_IPC_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_IPC_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_KEYTAB_FILE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_MAX_XCIEVERS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_MAX_XCIEVERS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_NUMBLOCKS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_NUMBLOCKS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_PLUGINS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SCAN_PERIOD_HOURS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SCAN_PERIOD_HOURS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SIMULATEDDATASTORAGE_CAPACITY_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SIMULATEDDATASTORAGE_CAPACITY_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SIMULATEDDATASTORAGE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SIMULATEDDATASTORAGE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_SOCKET_WRITE_TIMEOUT_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_STARTUP_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_STORAGEID_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_TRANSFERTO_ALLOWED_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_TRANSFERTO_ALLOWED_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DATANODE_USER_NAME_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DEFAULT_CHUNK_VIEW_SIZE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DEFAULT_CHUNK_VIEW_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DF_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_DF_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_HEARTBEAT_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_HEARTBEAT_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_HTTPS_ENABLE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_HTTPS_ENABLE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_LIST_LIMIT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_LIST_LIMIT_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_METRICS_SESSION_ID_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_ACCESSTIME_PRECISION_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_ACCESSTIME_PRECISION_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_BACKUP_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_BACKUP_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_BACKUP_HTTP_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_BACKUP_HTTP_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_DIR_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_EDITS_DIR_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_PERIOD_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_PERIOD_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_SIZE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_CHECKPOINT_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DECOMMISSION_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DECOMMISSION_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DECOMMISSION_NODES_PER_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DECOMMISSION_NODES_PER_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_KEY_UPDATE_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_KEY_UPDATE_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_TOKEN_MAX_LIFETIME_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_TOKEN_RENEW_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_DELEGATION_TOKEN_RENEW_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_EDITS_DIR_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HANDLER_COUNT_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HANDLER_COUNT_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HEARTBEAT_RECHECK_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HEARTBEAT_RECHECK_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HOSTS_EXCLUDE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HOSTS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HTTP_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HTTP_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HTTPS_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_HTTPS_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_KEYTAB_FILE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_MAX_OBJECTS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_MAX_OBJECTS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_NAME_DIR_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_NAME_DIR_RESTORE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_NAME_DIR_RESTORE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_PLUGINS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_CONSIDERLOAD_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_CONSIDERLOAD_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_INTERVAL_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_INTERVAL_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_MAX_STREAMS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_MAX_STREAMS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_MIN_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_MIN_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_PENDING_TIMEOUT_SEC_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_REPLICATION_PENDING_TIMEOUT_SEC_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SAFEMODE_EXTENSION_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SAFEMODE_EXTENSION_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SAFEMODE_THRESHOLD_PCT_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_SECONDARY_HTTP_ADDRESS_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_STARTUP_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_UPGRADE_PERMISSION_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_UPGRADE_PERMISSION_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_NAMENODE_USER_NAME_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_PERMISSIONS_ENABLED_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_PERMISSIONS_ENABLED_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_PERMISSIONS_SUPERUSERGROUP_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_PERMISSIONS_SUPERUSERGROUP_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_REPLICATION_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_REPLICATION_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_REPLICATION_MAX_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_REPLICATION_MAX_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_SERVER_HTTPS_KEYSTORE_RESOURCE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_SERVER_HTTPS_KEYSTORE_RESOURCE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_STREAM_BUFFER_SIZE_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_STREAM_BUFFER_SIZE_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_SUPPORT_APPEND_DEFAULT - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_SUPPORT_APPEND_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFS_WEB_UGI_KEY - Static variable in class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFSAdmin - Class in org.apache.hadoop.hdfs.tools
This class provides some DFS administrative access.
DFSAdmin() - Constructor for class org.apache.hadoop.hdfs.tools.DFSAdmin
Construct a DFSAdmin object.
DFSAdmin(Configuration) - Constructor for class org.apache.hadoop.hdfs.tools.DFSAdmin
Construct a DFSAdmin object.
DFSck - Class in org.apache.hadoop.hdfs.tools
This class provides rudimentary checking of DFS volumes for errors and sub-optimal conditions.
DFSck(Configuration) - Constructor for class org.apache.hadoop.hdfs.tools.DFSck
Filesystem checker.
DFSClient - Class in org.apache.hadoop.hdfs
DFSClient can connect to a Hadoop Filesystem and perform basic file tasks.
DFSClient(Configuration) - Constructor for class org.apache.hadoop.hdfs.DFSClient
Deprecated. Deprecated at 0.21
DFSClient(InetSocketAddress, Configuration) - Constructor for class org.apache.hadoop.hdfs.DFSClient
Same as this(nameNodeAddr, conf, null);
DFSClient(InetSocketAddress, Configuration, FileSystem.Statistics) - Constructor for class org.apache.hadoop.hdfs.DFSClient
Same as this(nameNodeAddr, null, conf, stats);
DFSClient.DFSDataInputStream - Class in org.apache.hadoop.hdfs
The Hdfs implementation of FSDataInputStream
DFSClient.DFSDataInputStream(DFSInputStream) - Constructor for class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream
 
DFSConfigKeys - Class in org.apache.hadoop.hdfs
This class contains constants for configuration keys used in hdfs.
DFSConfigKeys() - Constructor for class org.apache.hadoop.hdfs.DFSConfigKeys
 
DFSNodesStatus(ArrayList<DatanodeDescriptor>, ArrayList<DatanodeDescriptor>) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
dfsUsed - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
DFSUtil - Class in org.apache.hadoop.hdfs
 
DFSUtil() - Constructor for class org.apache.hadoop.hdfs.DFSUtil
 
DFSUtil.ErrorSimulator - Class in org.apache.hadoop.hdfs
Utility class to facilitate junit test error simulation.
DFSUtil.ErrorSimulator() - Constructor for class org.apache.hadoop.hdfs.DFSUtil.ErrorSimulator
 
dir - Variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
DirectoryListing - Class in org.apache.hadoop.hdfs.protocol
This class defines a partial listing of a directory to support iterative directory listing.
DirectoryListing() - Constructor for class org.apache.hadoop.hdfs.protocol.DirectoryListing
default constructor
DirectoryListing(HdfsFileStatus[], int) - Constructor for class org.apache.hadoop.hdfs.protocol.DirectoryListing
constructor
DirectoryScanner - Class in org.apache.hadoop.hdfs.server.datanode
Periodically scans the data directories for block and block metadata files.
dirIterator() - Method in class org.apache.hadoop.hdfs.server.common.Storage
Return default iterator This iterator returns all entries in storageDirs
dirIterator(Storage.StorageDirType) - Method in class org.apache.hadoop.hdfs.server.common.Storage
Return iterator based on Storage Directory Type This iterator selects entries in storageDirs of type dirType and returns them via the Iterator
DisallowedDatanodeException - Exception in org.apache.hadoop.hdfs.server.protocol
This exception is thrown when a datanode tries to register or communicate with the namenode when it does not appear on the list of included nodes, or has been specifically excluded.
DisallowedDatanodeException(DatanodeID) - Constructor for exception org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException
 
DISK_ERROR - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DistributedFileSystem - Class in org.apache.hadoop.hdfs
Implementation of the abstract FileSystem for the DFS system.
DistributedFileSystem() - Constructor for class org.apache.hadoop.hdfs.DistributedFileSystem
 
DistributedFileSystem(InetSocketAddress, Configuration) - Constructor for class org.apache.hadoop.hdfs.DistributedFileSystem
Deprecated. 
DistributedFileSystem.DiskStatus - Class in org.apache.hadoop.hdfs
Deprecated. Use FsStatus instead
DistributedFileSystem.DiskStatus(FsStatus) - Constructor for class org.apache.hadoop.hdfs.DistributedFileSystem.DiskStatus
Deprecated.  
DistributedFileSystem.DiskStatus(long, long, long) - Constructor for class org.apache.hadoop.hdfs.DistributedFileSystem.DiskStatus
Deprecated.  
distributedUpgradeProgress(FSConstants.UpgradeAction) - Method in class org.apache.hadoop.hdfs.DFSClient
 
distributedUpgradeProgress(FSConstants.UpgradeAction) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
distributedUpgradeProgress(FSConstants.UpgradeAction) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Report distributed upgrade progress or force current upgrade to proceed.
distributedUpgradeProgress(FSConstants.UpgradeAction) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
DN_CLIENTTRACE_FORMAT - Static variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
DNA_ACCESSKEYUPDATE - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_FINALIZE - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_INVALIDATE - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_RECOVERBLOCK - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_REGISTER - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_SHUTDOWN - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_TRANSFER - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
DNA_UNKNOWN - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
Determines actions that data node should perform when receiving a datanode command.
dnRegistration - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.ContentSummaryServlet
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.DelegationTokenServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.FileChecksumServlets.GetServlet
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.FileChecksumServlets.RedirectServlet
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.FileDataServlet
Service a GET request as described below.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.FsckServlet
Handle fsck request
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.GetImageServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.ListPathsServlet
Service a GET request as described below.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.hadoop.hdfs.server.namenode.StreamFile
 
doRecover(Storage.StorageState) - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Complete or recover storage state from previously failed transition.
doUpdates(MetricsContext) - Method in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
Since this object is a registered updater, this method will be called periodically, e.g.
doUpdates(MetricsContext) - Method in class org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics
Since this object is a registered updater, this method will be called periodically, e.g.
doUpdates(MetricsContext) - Method in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
Since this object is a registered updater, this method will be called periodically, e.g.
doUpgrade() - Method in class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
Specifies how the upgrade is performed.
DSQuotaExceededException - Exception in org.apache.hadoop.hdfs.protocol
 
DSQuotaExceededException() - Constructor for exception org.apache.hadoop.hdfs.protocol.DSQuotaExceededException
 
DSQuotaExceededException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.DSQuotaExceededException
 
DSQuotaExceededException(long, long) - Constructor for exception org.apache.hadoop.hdfs.protocol.DSQuotaExceededException
 
DUMMY_KEYS - Static variable in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
DUMMY_TOKEN - Static variable in class org.apache.hadoop.hdfs.security.BlockAccessToken
 
dumpDatanode() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
A formatted string for printing the status of the DataNode.

E

editLog - Variable in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
EMPTY_ARRAY - Static variable in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
EMPTY_DEL_HINT - Static variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
EMPTY_NAME - Static variable in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
 
endCheckpoint(NamenodeRegistration, CheckpointSignature) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
endCheckpoint(NamenodeRegistration, CheckpointSignature) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
endCheckpoint(NamenodeRegistration, CheckpointSignature) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
A request to the active name-node to finalize previously started checkpoint.
equals(Object) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
equals(Object) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
equals(Object) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
equals(Object) - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
equals(Object) - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
equals(Object) - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
equals(Object) - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
 
equals(Object) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
equals(Object) - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
equals(Object) - Method in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
equals(Object) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
equals(Object) - Method in class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
errorReport(NamenodeRegistration, int, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
errorReport(DatanodeRegistration, int, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
errorReport(DatanodeRegistration, int, String) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
errorReport() tells the NameNode about something that has gone awry.
errorReport(NamenodeRegistration, int, String) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Report to the active name-node an error occurred on a subordinate node.
exists(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Implemented using getFileInfo(src)
ExportedAccessKeys - Class in org.apache.hadoop.hdfs.security
Object for passing access keys
ExportedAccessKeys() - Constructor for class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
exportedKeys - Variable in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
exportKeys() - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Export access keys, only to be used in master mode

F

FAILURE_STATUS - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
 
FATAL - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
FATAL_DISK_ERROR - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
fileAsURI(File) - Static method in class org.apache.hadoop.hdfs.server.common.Util
Converts the passed File to a URI.
FileChecksumServlets - Class in org.apache.hadoop.hdfs.server.namenode
Servlets for file checksum
FileChecksumServlets() - Constructor for class org.apache.hadoop.hdfs.server.namenode.FileChecksumServlets
 
FileChecksumServlets.GetServlet - Class in org.apache.hadoop.hdfs.server.namenode
Get FileChecksum
FileChecksumServlets.GetServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.FileChecksumServlets.GetServlet
 
FileChecksumServlets.RedirectServlet - Class in org.apache.hadoop.hdfs.server.namenode
Redirect file checksum queries to an appropriate datanode.
FileChecksumServlets.RedirectServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.FileChecksumServlets.RedirectServlet
 
FileDataServlet - Class in org.apache.hadoop.hdfs.server.namenode
Redirect queries about the hosted filesystem to an appropriate datanode.
FileDataServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.FileDataServlet
 
filename2id(String) - Static method in class org.apache.hadoop.hdfs.protocol.Block
 
FINALIZE - Static variable in class org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
 
finalizeBlock(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Complete the block write!
finalizeBlock(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Finalizes the block previously opened for writing using writeToBlock.
finalized - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
finalizeUpgrade() - Method in class org.apache.hadoop.hdfs.DFSClient
 
finalizeUpgrade() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Finalize previously upgraded files system state.
finalizeUpgrade() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Finalize previous upgrade.
finalizeUpgrade() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
finalizeUpgrade() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Command to ask the namenode to finalize previously performed upgrade.
findBlock(long) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Find block containing specified offset.
findBlockFile(long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Return the block file for the given ID
FIRST_VALID_STAMP - Static variable in class org.apache.hadoop.hdfs.server.common.GenerationStamp
The first valid generation stamp.
FIXING_DELETE - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
Delete corrupted files.
FIXING_MOVE - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
Move corrupted files to /lost+found .
FIXING_NONE - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
Don't attempt any fixing .
forceProceed() - Method in class org.apache.hadoop.hdfs.server.namenode.UpgradeObjectNamenode
 
format() - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
format(Configuration) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Format a new filesystem.
fsck() - Method in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
Check files on DFS, starting from the indicated path.
FsckServlet - Class in org.apache.hadoop.hdfs.server.namenode
This class is used in Namesystem's web server to do fsck on namenode.
FsckServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.FsckServlet
 
FSClusterStats - Interface in org.apache.hadoop.hdfs.server.namenode
This interface is used for retrieving the load related statistics of the cluster.
FSConstants - Interface in org.apache.hadoop.hdfs.protocol
Some handy constants
FSConstants.DatanodeReportType - Enum in org.apache.hadoop.hdfs.protocol
 
FSConstants.SafeModeAction - Enum in org.apache.hadoop.hdfs.protocol
 
FSConstants.UpgradeAction - Enum in org.apache.hadoop.hdfs.protocol
Distributed upgrade actions: 1.
FSDataset - Class in org.apache.hadoop.hdfs.server.datanode
FSDataset manages a set of data blocks.
FSDataset(DataStorage, Configuration) - Constructor for class org.apache.hadoop.hdfs.server.datanode.FSDataset
An FSDataset has a directory where it loads its data files.
FSDatasetInterface - Interface in org.apache.hadoop.hdfs.server.datanode
This is an interface for the underlying storage that stores blocks for a data node.
FSDatasetInterface.BlockInputStreams - Class in org.apache.hadoop.hdfs.server.datanode
This class contains the input streams for the data and checksum of a block
FSDatasetInterface.BlockWriteStreams - Class in org.apache.hadoop.hdfs.server.datanode
This class contains the output streams for the data and checksum of a block
FSDatasetInterface.MetaDataInputStream - Class in org.apache.hadoop.hdfs.server.datanode
This class provides the input stream and length of the metadata of a block
FSDatasetMBean - Interface in org.apache.hadoop.hdfs.server.datanode.metrics
This Interface defines the methods to get the status of a the FSDataset of a data node.
FSEditLog - Class in org.apache.hadoop.hdfs.server.namenode
FSEditLog maintains a log of the namespace modifications.
FSImage - Class in org.apache.hadoop.hdfs.server.namenode
FSImage handles checkpointing and logging of the namespace edits.
FSImage(StorageInfo) - Constructor for class org.apache.hadoop.hdfs.server.namenode.FSImage
 
fsImageLoadTime - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
FSInodeInfo - Interface in org.apache.hadoop.hdfs.server.namenode
This interface is used used the pluggable block placement policy to expose a few characteristics of an Inode.
FSNamesystem - Class in org.apache.hadoop.hdfs.server.namenode
FSNamesystem does the actual bookkeeping work for the DataNode.
FSNamesystemMBean - Interface in org.apache.hadoop.hdfs.server.namenode.metrics
This Interface defines the methods to get the status of a the FSNamesystem of a name node.
FSNamesystemMetrics - Class in org.apache.hadoop.hdfs.server.namenode.metrics
This class is for maintaining the various FSNamesystem status metrics and publishing them through the metrics interfaces.
FSNamesystemMetrics(FSNamesystem, Configuration) - Constructor for class org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics
 
fsync(String, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Write all metadata for this file into persistent storage.
fsync(String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Write all metadata for this file into persistent storage.

G

generateToken(long, EnumSet<AccessTokenHandler.AccessMode>) - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Generate an access token for current user
generateToken(String, long, EnumSet<AccessTokenHandler.AccessMode>) - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Generate an access token for a specified user
GenerationStamp - Class in org.apache.hadoop.hdfs.server.common
A GenerationStamp is a Hadoop FS primitive, identified by a long.
GenerationStamp() - Constructor for class org.apache.hadoop.hdfs.server.common.GenerationStamp
Create a new instance, initialized to FIRST_VALID_STAMP.
get(int) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Get located block.
GET_STATS_CAPACITY_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
GET_STATS_CORRUPT_BLOCKS_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
GET_STATS_MISSING_BLOCKS_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
GET_STATS_REMAINING_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
GET_STATS_UNDER_REPLICATED_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
GET_STATS_USED_IDX - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
getAcceptedIssuers() - Method in class org.apache.hadoop.hdfs.HsftpFileSystem.DummyTrustManager
 
getAccessKeys() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get the current access keys
getAccessKeys() - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Get the current access keys
getAccessTime() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the access time of the file.
getAccessToken() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
getAction() - Method in class org.apache.hadoop.hdfs.server.protocol.ServerCommand
Get server command action.
getAdditionalBlock(String, String, Block, HashMap<Node, Node>) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
The client would like to obtain an additional block for the indicated filename (which is being written-to).
getAddress(String) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getAddress(Configuration) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getAddress() - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
getAddress() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
getAddress() - Method in interface org.apache.hadoop.hdfs.server.protocol.NodeRegistration
Get address of the server node.
getAllKeys() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
getBlock() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
getBlock() - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
get the block
getBlockCapacity() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getBlockFile(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Get File name for a given block.
getBlockGenStamp(int) - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Deprecated. 
getBlockId(String) - Static method in class org.apache.hadoop.hdfs.protocol.Block
Get the blockId from the name of the metafile name
getBlockId() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
getBlockId(int) - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Deprecated. 
getBlockId() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
get block ID
getBlockInputStream(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getBlockInputStream(Block, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getBlockInputStream(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns an input stream to read the contents of the specified block
getBlockInputStream(Block, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns an input stream at specified offset of the specified block
getBlockLen(int) - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Deprecated. 
getBlockListAsLongs() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
 
getBlockLocations(String, long, long) - Method in class org.apache.hadoop.hdfs.DFSClient
Get block location info about file getBlockLocations() returns a list of hostnames that store data for a specific file region.
getBlockLocations(String, long, long) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get locations of the blocks of the specified file within the specified range.
getBlockLocations(String, long, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get locations of the blocks of the specified file within the specified range.
getBlockName() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
getBlockReport() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Generates a block report from the in-memory block map.
getBlockReport() - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns the block report - the full list of blocks stored
getBlockReportIterator() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Returns BlockListAsLongs.BlockReportIterator.
getBlocks(DatanodeInfo, long) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
getBlocks(DatanodeInfo, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getBlocks() - Method in class org.apache.hadoop.hdfs.server.protocol.BlockCommand
 
getBlocks() - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations
getter
getBlocks(DatanodeInfo, long) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Get a list of blocks belonging to datanode whose total size equals size.
getBlockSize(String) - Method in class org.apache.hadoop.hdfs.DFSClient
 
getBlockSize() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the block size of the file.
getBlockSize() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
getBlocksScheduled() - Method in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
getBlocksTotal() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Get the total number of blocks in the system.
getBlocksTotal() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Number of allocated blocks in the system
getBroadcastCommand() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getBuildVersion() - Static method in class org.apache.hadoop.hdfs.server.common.Storage
 
getBuildVersion() - Method in class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
getBytesOnDisk() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
Get the number of bytes that have written to disk
getCapacity() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The raw capacity.
getCapacity() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Return total capacity, used and unused
getCapacity() - Method in interface org.apache.hadoop.hdfs.server.datanode.metrics.FSDatasetMBean
Returns total capacity (in bytes) of storage (used and unused)
getCapacityRemaining() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total non-used raw bytes.
getCapacityRemaining() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Free (unused) storage capacity
getCapacityRemainingPercent() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total remaining space by data nodes as percentage of total capacity
getCapacityTotal() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total raw bytes including non-dfs used space.
getCapacityTotal() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Total storage capacity
getCapacityUsed() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total used space by data nodes
getCapacityUsed() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Used storage capacity
getCapacityUsedNonDFS() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total used space by data nodes for non DFS purposes such as storing temporary files on the local file system
getCapacityUsedPercent() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total used space by data nodes as percentage of total capacity
getCheckpointTime() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
Get the age of the image.
getChunkPosition(long) - Method in class org.apache.hadoop.hdfs.BlockReader
 
getClient() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getConf() - Method in class org.apache.hadoop.hdfs.server.balancer.Balancer
return this balancer's configuration
getContentSummary(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
getContentSummary(Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
getContentSummary(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get ContentSummary rooted at the specified directory.
getContentSummary(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get ContentSummary rooted at the specified directory.
getCorruptBlocksCount() - Method in class org.apache.hadoop.hdfs.DFSClient
Returns count of blocks with at least one replica marked corrupt.
getCorruptBlocksCount() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Returns count of blocks with at least one replica marked corrupt.
getCorruptFiles() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
 
getCorruptFiles() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
getCorruptReplicaBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Returns number of blocks with corrupt replicas
getCTime() - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
Creation time of the file system state.
getCurrentBlock() - Method in class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream
Returns the block containing the target position.
getCurrentDatanode() - Method in class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream
Returns the datanode from which the stream is currently reading.
getCurrentDir() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Directory current contains latest files defining the file system meta-data.
getCurrentKey() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
getCurrentReplicaState() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.BlockReportIterator
Get the state of the current replica.
getCurrentStatus() - Method in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
getDataNode() - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Return the DataNode object
getDatanode() - Method in class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
 
getDatanode(DatanodeID) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Get data node by storage ID.
getDataNodeInfo(String) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getDatanodeRegistration() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Return DatanodeRegistration
getDatanodeReport(FSConstants.DatanodeReportType) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get a report on the system's current datanodes.
getDatanodeReport() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
A formatted string for reporting the status of the DataNode.
getDatanodeReport(FSConstants.DatanodeReportType) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getDatanodes() - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
get the block's locations
getDataNodeStats() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Return statistics for each datanode.
getDateFormat() - Static method in class org.apache.hadoop.hdfs.HftpFileSystem
 
getDecommissioningNodes() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getDefaultBlockSize() - Method in class org.apache.hadoop.hdfs.DFSClient
Get the default block size for this cluster
getDefaultBlockSize() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getDefaultReplication() - Method in class org.apache.hadoop.hdfs.DFSClient
 
getDefaultReplication() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getDefaultWebUser(Configuration) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
If security is turned off, what is the default web user?
getDelegationToken(Text) - Method in class org.apache.hadoop.hdfs.DFSClient
 
getDelegationToken(Text) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Get a valid Delegation Token.
getDelegationToken(Text) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get a valid Delegation Token.
getDelegationToken(Text) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getDelegationToken(Text) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getDelegationTokenSecretManager() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getDescription() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Description of the upgrade object for displaying.
getDescription() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
getDFSClient(HttpServletRequest) - Method in class org.apache.hadoop.hdfs.server.namenode.StreamFile
getting a client for connecting to dfs
getDfsUsed() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem.DiskStatus
Deprecated.  
getDfsUsed() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The used space by the data node.
getDfsUsed() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Return the total space used by dfs datanode
getDfsUsed() - Method in interface org.apache.hadoop.hdfs.server.datanode.metrics.FSDatasetMBean
Returns the total space (in bytes) used by dfs datanode
getDfsUsedPercent() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The used space by the data node as percentage of present capacity
getDiskStatus() - Method in class org.apache.hadoop.hdfs.DFSClient
 
getDiskStatus() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Deprecated. Use FileSystem.getStatus() instead
getDistributedUpgrades() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getDistributedUpgrades(int, HdfsConstants.NodeType) - Static method in class org.apache.hadoop.hdfs.server.common.UpgradeObjectCollection
 
getDistributedUpgradeVersion() - Method in class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
getEditLog() - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
getEditLogSize() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Deprecated. 
getEditLogSize() - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Deprecated. See SecondaryNameNode
getErrorSimulation(int) - Static method in class org.apache.hadoop.hdfs.DFSUtil.ErrorSimulator
 
getExcessBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getExpiryDate() - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
getExportedKeys() - Method in class org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand
 
getFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.common.Storage
Get common storage fields.
getFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
getFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
getFile() - Method in exception org.apache.hadoop.hdfs.BlockMissingException
Returns the name of the corrupted file.
getFile(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Turn the block identifier into a filename; ignore generation stamp!!!
getFileBlockLocations(Path, long, long) - Method in class org.apache.hadoop.fs.Hdfs
 
getFileBlockLocations(FileStatus, long, long) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getFileBlockLocations(Path, long, long) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getFileChecksum(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
getFileChecksum(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Get the checksum of a file.
getFileChecksum(String, ClientProtocol, SocketFactory, int) - Static method in class org.apache.hadoop.hdfs.DFSClient
Get the checksum of a file.
getFileChecksum(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
getFileChecksum(Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
getFileInfo(String) - Method in class org.apache.hadoop.hdfs.DFSClient
 
getFileInfo(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get the file info for a specific file or directory.
getFileInfo(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get the file info for a specific file.
getFileLength() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
 
getFileLinkInfo(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Get the file info for a specific file or directory.
getFileLinkInfo(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get the file info for a specific file or directory.
getFileLinkInfo(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get the file info for a specific file.
getFileLinkStatus(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
getFileStatus(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
getFileStatus(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Returns the stat information about the file.
getFileStatus(Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
getFilesTotal() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getFilesTotal() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Total number of files and directories
getFinalizedTmp() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
finalized.tmp is a transient directory, which holds the previous file system state while it is being removed in response to the finalize request.
getFSDataset() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
This method is used for testing.
getFsEditName() - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
getFSImage() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getFsImageName() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Returns the name of the fsImage file
getFsImageNameCheckpoint() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Returns the name of the fsImage file uploaded by periodic checkpointing
getFSNamesystem() - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
getFSNamesystemMetrics() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
get FSNamesystemMetrics
getFSState() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getFSState() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
The state of the file system: Safemode or Operational
getFsStatus() - Method in class org.apache.hadoop.fs.Hdfs
 
getFullName(String) - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the string representation of the full path name
getFullPath(Path) - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the full path
getFullPathName() - Method in interface org.apache.hadoop.hdfs.server.namenode.FSInodeInfo
a string representation of an inode
getGenerationStamp(String) - Static method in class org.apache.hadoop.hdfs.protocol.Block
Get generation stamp from the name of the metafile name
getGenerationStamp() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
getGenerationStamp() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
get generation stamp
getGenerationStamp() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Gets the generation stamp for this filesystem
getGroup() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the group associated with the file.
getHomeDirectory() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
getHost() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getHostName() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
getHostPortString(InetSocketAddress) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Compose a "host:port" string from the address.
getHttpAddress() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Returns the address of the NameNodes http server, which is used to access the name-node web UI.
getHttpServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
getHttpServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
GetImageServlet - Class in org.apache.hadoop.hdfs.server.namenode
This class is used in Namesystem's jetty to retrieve a file.
GetImageServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.GetImageServlet
 
getInfoPort() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getInsertIndex(int) - Static method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
 
getInstance(Configuration, FSClusterStats, NetworkTopology) - Static method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy
Get an instance of the configured Block Placement Policy based on the value of the configuration paramater dfs.block.replicator.classname.
getIpcPort() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getKey() - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
getKeyID() - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
getKeyUpdateInterval() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
getKind() - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier
 
getLastCheckpointTmp() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
lastcheckpoint.tmp is a transient directory, which holds current file system state while the new state is saved into the new current during regular namespace updates.
getLastLocatedBlock() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Get the last located block.
getLastName() - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
Get the last name in this list
getLastUpdate() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The time when this information was accurate.
getLayoutVersion() - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
Layout version of the storage data.
getLeaseByPath(String) - Method in class org.apache.hadoop.hdfs.server.namenode.LeaseManager
 
getLen() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the length of this file, in bytes.
getLength(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Find the block's on-disk length
getLength(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns the specified block's on-disk length (excluding metadata)
getLength() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface.MetaDataInputStream
 
getLevel() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Return this node's level in the tree.
getLinkTarget(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
getLinkTarget(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Resolve the *first* symlink, if any, in the path.
getLinkTarget(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Resolve the first symbolic link on the specified path.
getLinkTarget(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getLinkValue() - Method in class org.apache.hadoop.hdfs.server.namenode.INodeSymlink
 
getListing(String, byte[]) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get a partial listing of the indicated directory
getListing(String, byte[]) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Get a partial listing of the indicated directory
getListing(String, byte[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getLocalName() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the string representation of the local name
getLocalNameInBytes() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the Java UTF8 representation of the local name
getLocatedBlocks() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Get located blocks.
getLocations() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
getMac() - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
getMessage() - Method in exception org.apache.hadoop.hdfs.protocol.DSQuotaExceededException
 
getMessage() - Method in exception org.apache.hadoop.hdfs.protocol.NSQuotaExceededException
 
getMessage() - Method in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
getMessage() - Method in exception org.apache.hadoop.hdfs.protocol.UnresolvedPathException
 
getMetaDataInputStream(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getMetaDataInputStream(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns metaData of block b as an input stream (and its length)
getMetaDataLength(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getMetaDataLength(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns the length of the metadata file of the specified block
getMetaFile(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getMissingBlocksCount() - Method in class org.apache.hadoop.hdfs.DFSClient
Returns count of blocks with no good replicas left.
getMissingBlocksCount() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Returns count of blocks with no good replicas left.
getMissingBlocksCount() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getModificationTime() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the modification time of the file.
getName() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getName() - Method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.StartupOption
 
getNamenode() - Method in class org.apache.hadoop.hdfs.DFSClient
Get the namenode associated with this DFSClient object
getNamenode() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Return the namenode's identifier
getNameNodeAddr() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
getNameNodeAddress() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Returns the address on which the NameNodes is listening to.
getNameNodeMetrics() - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getNamespaceDirs(Configuration) - Static method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getNamespaceEditsDirs(Configuration) - Static method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getNamespaceID() - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
Namespace id of the file system.
getNetworkLocation() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
rack name
getNewGenerationStamp() - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock
Return the new generation stamp of the block, which also plays role of the recovery id.
getNonDfsUsed() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The used space by the data node.
getNumberOfBlocks() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
The number of blocks
getNumberOfKeys() - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Returns the number of delegation keys currently stored.
getNumBytes() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
getNumBytes() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
Get the number of bytes received
getNumDeadDataNodes() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Number of dead data nodes
getNumDeadDataNodes() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Number of dead data nodes
getNumLiveDataNodes() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Number of live data nodes
getNumLiveDataNodes() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Number of Live data nodes
getNumOfReplies() - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
Get the number of replies
getNumStorageDirs() - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
getOffset() - Method in exception org.apache.hadoop.hdfs.BlockMissingException
Returns the offset at which this file is corrupted
getOriginalReplicaState() - Method in class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
getOutputStreamIterator(JournalStream.JournalType) - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
Get stream iterator for the specified type.
getOwner() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the owner of the file.
getParent() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Return this node's parent
getPartialListing() - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
Get the partial listing of file status
getPendingDeletionBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getPendingReplicationBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getPendingReplicationBlocks() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Blocks pending to be replicated
getPermission() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get FsPermission associated with the file.
getPort() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getPreferredBlockSize(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get the block size for the given file.
getPreferredBlockSize(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getPreviousCheckpoint() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
previous.checkpoint is a directory, which holds the previous (before the last save) state of the storage directory.
getPreviousDir() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Directory previous contains the previous file system state, which the system can be rolled back to.
getPreviousTmp() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
previous.tmp is a transient directory, which holds current file system state while the new state is saved into the new current during upgrade.
getPreviousVersionFile() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
File VERSION from the previous directory.
getProtocolVersion(String, long) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
getProtocolVersion(String, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getRawCapacity() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Deprecated. Use FileSystem.getStatus() instead
getRawUsed() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Deprecated. Use FileSystem.getStatus() instead
getRecoveringBlocks() - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
Return the list of recovering blocks.
getRecoveryStage() - Method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.BlockConstructionStage
get the recovery stage of this stage
getRegistrationID(StorageInfo) - Static method in class org.apache.hadoop.hdfs.server.common.Storage
 
getRegistrationID() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Get registrationID for datanodes based on the namespaceID.
getRegistrationID() - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
getRegistrationID() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
getRegistrationID() - Method in interface org.apache.hadoop.hdfs.server.protocol.NodeRegistration
Get registration ID of the server node.
getRemaining() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The raw free space.
getRemaining() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Return how many bytes can still be stored in the FSDataset
getRemaining() - Method in interface org.apache.hadoop.hdfs.server.datanode.metrics.FSDatasetMBean
Returns the amount of free storage space (in bytes)
getRemainingEntries() - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
Get the number of remaining entries that are left to be listed
getRemainingPercent() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
The remaining space as percentage of configured capacity.
getRemovedTmp() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
removed.tmp is a transient directory, which holds current file system state while the previous state is moved into current during rollback.
getReplica(long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Deprecated. use FSDataset.fetchReplicaInfo(long) instead.
getReplica(long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Deprecated. 
getReplication() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the replication factor of a file.
getReplicaVisibleLength(Block) - Method in interface org.apache.hadoop.hdfs.protocol.ClientDatanodeProtocol
Return the visible length of a replica.
getReplicaVisibleLength(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Return the visible length of a replica.
getReplicaVisibleLength(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getReplicaVisibleLength(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Get visible length of the specified replica.
getReply(int) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
get the ith reply
getResolvedPath() - Method in exception org.apache.hadoop.hdfs.protocol.UnresolvedPathException
 
getRestoreFailedStorage() - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
getRole() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getRole() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
Get name-node role.
getRoot() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Get root directory of this storage
getRpcServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
getRpcServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getScheduledReplicationBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getScheduledReplicationBlocks() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Blocks scheduled for replication
getSelfAddr() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
getSeqno() - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
Get the sequence number
getServerDefaults() - Method in class org.apache.hadoop.fs.Hdfs
 
getServerDefaults() - Method in class org.apache.hadoop.hdfs.DFSClient
Get server default values for a number of configuration params.
getServerDefaults() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
getServerDefaults() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get server default values for a number of configuration params.
getServerDefaults() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get server default values for a number of configuration params.
getServices() - Method in class org.apache.hadoop.hdfs.HDFSPolicyProvider
 
getSignature() - Method in class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
Checkpoint signature is used to ensure that nodes are talking about the same checkpoint.
getStamp() - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
Returns the current generation stamp
getStartOffset() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
getStartTime() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getState(int) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
 
getState() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
Get the replica state
getStats() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get a set of statistics about the filesystem.
getStats() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getStatus(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
getStatusText(boolean) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
Get upgradeStatus data as a text for reporting.
getStorageDir(int) - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
getStorageDirs(Configuration, String) - Static method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getStorageDirType() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Get storage directory type
getStorageDirType() - Method in interface org.apache.hadoop.hdfs.server.common.Storage.StorageDirType
 
getStorageID() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
getStorageID() - Method in class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
getStorageInfo() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
getStorageInfo() - Method in interface org.apache.hadoop.hdfs.server.datanode.metrics.FSDatasetMBean
Returns the storage id of the underlying storage
getStoredBlock(long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
getStoredBlock(long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
 
getSymlink() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Get the string representation of the symlink.
getSymlink() - Method in class org.apache.hadoop.hdfs.server.namenode.INodeSymlink
 
getTargets() - Method in class org.apache.hadoop.hdfs.server.protocol.BlockCommand
 
getTmpInputStreams(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Returns handles to the block file and its metadata file
getTmpInputStreams(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Returns an input stream at specified offset of the specified block The block is still in the tmp directory and is not finalized
getTokenAuthenticator() - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
 
getTokenExpiryTime(DelegationTokenIdentifier) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Returns expiry time of a token given its identifier.
getTokenID() - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
 
getTokenLifetime() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
getTotalLoad() - Method in interface org.apache.hadoop.hdfs.server.namenode.FSClusterStats
an indication of the total load of the cluster.
getTotalLoad() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Total number of connections.
getTotalLoad() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Total Load on the FSNamesystem
getType() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Get the type of the software component, which this object is upgrading.
getType() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getType() - Method in class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
 
getType() - Method in class org.apache.hadoop.hdfs.server.namenode.UpgradeObjectNamenode
 
getUGI(HttpServletRequest, Configuration) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Get UserGroupInformation and possibly the delegation token out of the request.
getUnderReplicatedBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
getUnderReplicatedBlocks() - Method in interface org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMBean
Blocks under replicated
getUnderReplicatedBlocksCount() - Method in class org.apache.hadoop.hdfs.DFSClient
Returns count of blocks with one of more replica missing.
getUnderReplicatedBlocksCount() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Returns count of blocks with one of more replica missing.
getUnresolvedPath() - Method in exception org.apache.hadoop.hdfs.protocol.UnresolvedPathException
 
getUpgradePermission() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Return the default path permission when upgrading from releases with no permissions (<=0.15) to releases with permissions (>=0.16)
getUpgradeState() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getUpgradeStatus() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Upgrade status determines a percentage of the work done out of the total amount required by the upgrade.
getUpgradeStatus() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getUpgradeStatus() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
getUpgradeStatus() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
Get upgrade upgradeStatus as a percentage of the total upgrade done.
getUpgradeStatusReport(boolean) - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Get status report for the upgrade.
getUpgradeStatusReport(boolean) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
getUpgradeVersion() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
getUri() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getUri() - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
getUri() - Method in class org.apache.hadoop.hdfs.HsftpFileSystem
 
getUri(InetSocketAddress) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
getUriDefaultPort() - Method in class org.apache.hadoop.fs.Hdfs
 
getValue() - Method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
 
getValue(String) - Method in class org.apache.hadoop.hdfs.tools.JMXGet
get single value by key
getVersion() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Get the layout version of the upgrade object.
getVersion() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
Get the layout version of the currently running upgrade.
getVersion() - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
getVersion() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
getVersion() - Method in interface org.apache.hadoop.hdfs.server.protocol.NodeRegistration
Get layout version of the server node.
getVersion() - Method in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
getVersionFile() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
File VERSION contains the following fields: node type layout version namespaceID fs state creation time other fields specific for this node type The version file is always written last during storage directory updates.
getVersionTable() - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Return a table containing version information.
getVisibleLength() - Method in class org.apache.hadoop.hdfs.DFSClient.DFSDataInputStream
 
getVisibleLength() - Method in interface org.apache.hadoop.hdfs.server.datanode.Replica
Get the number of bytes that are visible to readers
getWorkingDirectory() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
getWorkingDirectory() - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
getXceiverCount() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
number of active connections
go() - Method in class org.apache.hadoop.hdfs.tools.DelegationTokenFetcher
 
go() - Method in class org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
Process image file.
GRANDFATHER_GENERATION_STAMP - Static variable in class org.apache.hadoop.hdfs.server.common.GenerationStamp
Generation stamp of blocks that pre-date the introduction of a generation stamp.

H

hasEnoughResource() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Return true - if there are still valid volumes on the DataNode.
hasEnoughResource() - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
checks how many valid storage volumes are there in the DataNode
hashCode() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
hashCode() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
hashCode() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
hashCode() - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
hashCode() - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
hashCode() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
hashCode() - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
 
hashCode() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
hashCode() - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
hashCode() - Method in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
hashCode() - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
hashCode() - Method in class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
hasMore() - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
Check if there are more entries that are left to be listed
hasNext() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.BlockReportIterator
 
Hdfs - Class in org.apache.hadoop.fs
 
HDFS_DELEGATION_KIND - Static variable in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier
 
HDFS_URI_SCHEME - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
URI Scheme for hdfs://namenode/ URIs.
HDFSConcat - Class in org.apache.hadoop.hdfs.tools
 
HDFSConcat() - Constructor for class org.apache.hadoop.hdfs.tools.HDFSConcat
 
HdfsConfiguration - Class in org.apache.hadoop.hdfs
Adds deprecated keys into the configuration.
HdfsConfiguration() - Constructor for class org.apache.hadoop.hdfs.HdfsConfiguration
 
HdfsConfiguration(boolean) - Constructor for class org.apache.hadoop.hdfs.HdfsConfiguration
 
HdfsConfiguration(Configuration) - Constructor for class org.apache.hadoop.hdfs.HdfsConfiguration
 
HdfsConstants - Interface in org.apache.hadoop.hdfs.server.common
Some handy internal HDFS constants
HdfsConstants.BlockUCState - Enum in org.apache.hadoop.hdfs.server.common
States, which a block can go through while it is under construction.
HdfsConstants.NamenodeRole - Enum in org.apache.hadoop.hdfs.server.common
Defines the NameNode role.
HdfsConstants.NodeType - Enum in org.apache.hadoop.hdfs.server.common
Type of the node
HdfsConstants.ReplicaState - Enum in org.apache.hadoop.hdfs.server.common
Block replica states, which it can go through while being constructed.
HdfsConstants.StartupOption - Enum in org.apache.hadoop.hdfs.server.common
Startup options
HdfsFileStatus - Class in org.apache.hadoop.hdfs.protocol
Interface that represents the over the wire information for a file.
HdfsFileStatus() - Constructor for class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
default constructor
HdfsFileStatus(long, boolean, int, long, long, long, FsPermission, String, String, byte[], byte[]) - Constructor for class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Constructor
HDFSPolicyProvider - Class in org.apache.hadoop.hdfs
PolicyProvider for HDFS protocols.
HDFSPolicyProvider() - Constructor for class org.apache.hadoop.hdfs.HDFSPolicyProvider
 
HEALTHY_STATUS - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
 
HEARTBEAT_INTERVAL - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
heartbeats - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
HFTP_DATE_FORMAT - Static variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
HFTP_TIMEZONE - Static variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
HftpFileSystem - Class in org.apache.hadoop.hdfs
An implementation of a protocol for accessing filesystems over HTTP.
HftpFileSystem() - Constructor for class org.apache.hadoop.hdfs.HftpFileSystem
 
hostName - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
HostName as supplied by the datanode during registration as its name.
HsftpFileSystem - Class in org.apache.hadoop.hdfs
An implementation of a protocol for accessing filesystems over HTTPS.
HsftpFileSystem() - Constructor for class org.apache.hadoop.hdfs.HsftpFileSystem
 
HsftpFileSystem.DummyHostnameVerifier - Class in org.apache.hadoop.hdfs
Dummy hostname verifier that is used to bypass hostname checking
HsftpFileSystem.DummyHostnameVerifier() - Constructor for class org.apache.hadoop.hdfs.HsftpFileSystem.DummyHostnameVerifier
 
HsftpFileSystem.DummyTrustManager - Class in org.apache.hadoop.hdfs
Dummy trustmanager that is used to trust all server certificates
HsftpFileSystem.DummyTrustManager() - Constructor for class org.apache.hadoop.hdfs.HsftpFileSystem.DummyTrustManager
 
httpAddress - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
HTTP server address
httpServer - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
httpServer

I

ILLEGAL_ARGS - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
InconsistentFSStateException - Exception in org.apache.hadoop.hdfs.server.common
The exception is thrown when file system state is inconsistent and is not recoverable.
InconsistentFSStateException(File, String) - Constructor for exception org.apache.hadoop.hdfs.server.common.InconsistentFSStateException
 
InconsistentFSStateException(File, String, Throwable) - Constructor for exception org.apache.hadoop.hdfs.server.common.InconsistentFSStateException
 
IncorrectVersionException - Exception in org.apache.hadoop.hdfs.server.common
The exception is thrown when external version does not match current version of the application.
IncorrectVersionException(int, String) - Constructor for exception org.apache.hadoop.hdfs.server.common.IncorrectVersionException
 
IncorrectVersionException(int, String, int) - Constructor for exception org.apache.hadoop.hdfs.server.common.IncorrectVersionException
 
infoPort - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
init() - Method in class org.apache.hadoop.hdfs.tools.JMXGet
 
initialize(URI, Configuration) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
initialize(URI, Configuration) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
initialize(URI, Configuration) - Method in class org.apache.hadoop.hdfs.HsftpFileSystem
 
initialize(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
initialize(Configuration, FSClusterStats, NetworkTopology) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy
Used to setup a BlockPlacementPolicy object.
initialize(Configuration, FSClusterStats, NetworkTopology) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
Used to setup a BlockPlacementPolicy object.
initialize(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Initialize name-node.
initializeErrorSimulationEvent(int) - Static method in class org.apache.hadoop.hdfs.DFSUtil.ErrorSimulator
 
initializeUpgrade() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Initialize a replica recovery.
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock) - Method in interface org.apache.hadoop.hdfs.server.protocol.InterDatanodeProtocol
Initialize a replica recovery.
INodeSymlink - Class in org.apache.hadoop.hdfs.server.namenode
An INode representing a symbolic link.
insertRange(int, List<LocatedBlock>) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
 
instantiateDataNode(String[], Configuration) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Instantiate a single datanode object.
InterDatanodeProtocol - Interface in org.apache.hadoop.hdfs.server.protocol
An inter-datanode protocol for updating generation stamp
INVALID_BLOCK - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
InvalidAccessTokenException - Exception in org.apache.hadoop.hdfs.security
Access token verification failed.
InvalidAccessTokenException() - Constructor for exception org.apache.hadoop.hdfs.security.InvalidAccessTokenException
 
InvalidAccessTokenException(String) - Constructor for exception org.apache.hadoop.hdfs.security.InvalidAccessTokenException
 
invalidate(Block[]) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
We're informed that a block is no longer valid.
invalidate(Block[]) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Invalidates the specified blocks
IO_EXCEPTION - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
ipcPort - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
ipcServer - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
isAccessTokenEnabled() - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
isAlive - Variable in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
isBlockFilename(File) - Static method in class org.apache.hadoop.hdfs.protocol.Block
 
isConversionNeeded(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
isConversionNeeded(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
isConversionNeeded(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupStorage
 
isConversionNeeded(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
isCorrupt() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
isDecommissioned() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Returns true if the node has been decommissioned.
isDecommissionInProgress() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Returns true if the node is in the process of being decommissioned
isDir() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Is this a directory?
isDirectory() - Method in class org.apache.hadoop.hdfs.server.namenode.INodeSymlink
 
isEmptyLocalName() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Check if the local name is empty
isFinalized() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
Is current upgrade finalized.
isImageObsolete() - Method in class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
Indicates whether current backup image is obsolete, and therefore need to be discarded?
isInSafeMode() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Is the cluster currently in safe mode?
isLastBlockComplete() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Is the last block completed?
isLink() - Method in class org.apache.hadoop.hdfs.server.namenode.INodeSymlink
 
isLockSupported(int) - Method in class org.apache.hadoop.hdfs.server.common.Storage
Check whether underlying file system supports file locking.
isMetaFilename(String) - Static method in class org.apache.hadoop.hdfs.protocol.Block
 
isOfType(Storage.StorageDirType) - Method in interface org.apache.hadoop.hdfs.server.common.Storage.StorageDirType
 
isRole(HdfsConstants.NamenodeRole) - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
isSuccess() - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
Check if this ack contains error status
isSymlink() - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
Is this a symbolic link?
isUnderConstruction() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Return ture if file was under construction when this LocatedBlocks was constructed, false otherwise.
isUpgradeCompleted() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
isValidBlock(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Check whether the given block is a valid one.
isValidBlock(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Is the block valid?
isValidName(String) - Static method in class org.apache.hadoop.hdfs.DFSUtil
Whether the pathname is valid.
iterator() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs
Returns an iterator over blocks in the block report.

J

JA_CHECKPOINT_TIME - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
JA_IS_ALIVE - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
JA_JOURNAL - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
JA_JSPOOL_START - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
JMXGet - Class in org.apache.hadoop.hdfs.tools
tool to get data from NameNode or DataNode using MBeans currently the following MBeans are available (under hadoop domain): hadoop:service=NameNode,name=FSNamesystemState (static) hadoop:service=NameNode,name=NameNodeActivity (dynamic) hadoop:service=NameNode,name=RpcActivityForPort9000 (dynamic) hadoop:service=DataNode,name=RpcActivityForPort50020 (dynamic) hadoop:name=service=DataNode,FSDatasetState-UndefinedStorageId663800459 (static) hadoop:service=DataNode,name=DataNodeActivity-UndefinedStorageId-520845215 (dynamic) implementation note: all logging is sent to System.err (since it is a command line tool)
JMXGet() - Constructor for class org.apache.hadoop.hdfs.tools.JMXGet
 
join() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Wait for service to finish.
journal(NamenodeRegistration, int, int, byte[]) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
journal(NamenodeRegistration, int, int, byte[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
journal(NamenodeRegistration, int, int, byte[]) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Journal edit records.
journalSize(NamenodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
journalSize(NamenodeRegistration) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Get the size of the active name-node journal (edit log) in bytes.
JspHelper - Class in org.apache.hadoop.hdfs.server.common
 

K

KeyUpdateCommand - Class in org.apache.hadoop.hdfs.server.protocol
 
KeyUpdateCommand(ExportedAccessKeys) - Constructor for class org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand
 

L

LAST_PRE_UPGRADE_LAYOUT_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
LAST_UPGRADABLE_HADOOP_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
LAST_UPGRADABLE_LAYOUT_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
lastUpdate - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
LAYOUT_VERSION - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
layoutVersion - Variable in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
LEASE_HARDLIMIT_PERIOD - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
LEASE_RECOVER_PERIOD - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
LEASE_SOFTLIMIT_PERIOD - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
LeaseExpiredException - Exception in org.apache.hadoop.hdfs.server.namenode
The lease that was being used to create this file has expired.
LeaseExpiredException(String) - Constructor for exception org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException
 
leaseManager - Variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
LeaseManager - Class in org.apache.hadoop.hdfs.server.namenode
LeaseManager does the lease housekeeping for writing on files.
listPaths(String, byte[]) - Method in class org.apache.hadoop.hdfs.DFSClient
Get a partial listing of the indicated directory Recommend to use HdfsFileStatus.EMPTY_NAME as startAfter if the application wants to fetch a listing starting from the first entry in the directory
ListPathsServlet - Class in org.apache.hadoop.hdfs.server.namenode
Obtain meta-information about a filesystem.
ListPathsServlet() - Constructor for class org.apache.hadoop.hdfs.server.namenode.ListPathsServlet
 
listStatus(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
listStatus(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
List all the entries of a directory Note that this operation is not atomic for a large directory.
listStatus(Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
listStatusIterator(Path) - Method in class org.apache.hadoop.fs.Hdfs
 
listStorageDirectories() - Method in class org.apache.hadoop.hdfs.server.common.Storage
generate storage list (debug line)
lmthread - Variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
loadNamesystem(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
loadNamesystem(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
loadSecretManagerState(DataInputStream) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Load SecretManager state from fsimage.
LocatedBlock - Class in org.apache.hadoop.hdfs.protocol
A LocatedBlock is a pair of Block, DatanodeInfo[] objects.
LocatedBlock() - Constructor for class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
LocatedBlock(Block, DatanodeInfo[]) - Constructor for class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
LocatedBlock(Block, DatanodeInfo[], long) - Constructor for class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
LocatedBlock(Block, DatanodeInfo[], long, boolean) - Constructor for class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
locatedBlockCount() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
Get number of located blocks.
LocatedBlocks - Class in org.apache.hadoop.hdfs.protocol
Collection of blocks with their locations and the file length.
LocatedBlocks(long, boolean, List<LocatedBlock>, LocatedBlock, boolean) - Constructor for class org.apache.hadoop.hdfs.protocol.LocatedBlocks
public Constructor
location - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
lock() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Lock storage to provide exclusive access.
LOG - Static variable in class org.apache.hadoop.hdfs.DFSClient
 
LOG - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientDatanodeProtocol
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.namenode.LeaseManager
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
 
LOG - Static variable in class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated.  
LOG - Static variable in interface org.apache.hadoop.hdfs.server.protocol.InterDatanodeProtocol
 
logCloseFile(String, INodeFile) - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
Add close lease record to edit log.
login(Configuration, String, String) - Static method in class org.apache.hadoop.hdfs.DFSUtil
If a keytab has been provided, login as that user.
logMkDir(String, INode) - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
Add create directory record to edit log
logOpenFile(String, INodeFileUnderConstruction) - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
Add open lease record to edit log.
logSync() - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
Sync all modifications done by this thread.
logUpdateMasterKey(DelegationKey) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Call namesystem to update editlogs for new master key.
logUpdateMasterKey(DelegationKey) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Log the updateMasterKey operation to edit logs

M

main(String[]) - Static method in class org.apache.hadoop.hdfs.server.balancer.Balancer
Run a balancer
main(String[]) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
main(String[]) - Static method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
main(String[]) - Static method in class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated. main() has some simple utility methods.
main(String[]) - Static method in class org.apache.hadoop.hdfs.tools.DelegationTokenFetcher
Command-line interface
main(String[]) - Static method in class org.apache.hadoop.hdfs.tools.DFSAdmin
main() has some simple utility methods.
main(String[]) - Static method in class org.apache.hadoop.hdfs.tools.DFSck
 
main(String...) - Static method in class org.apache.hadoop.hdfs.tools.HDFSConcat
 
main(String[]) - Static method in class org.apache.hadoop.hdfs.tools.JMXGet
main
main(String[]) - Static method in class org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
Entry point to command-line-driven operation.
makeQualified(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Normalize paths that explicitly specify the default port.
markBlockAsCorrupt(Block, DatanodeInfo) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Mark the block belonging to datanode as corrupt
MAX_BLOCK_ACQUIRE_FAILURES - Static variable in class org.apache.hadoop.hdfs.DFSClient
 
MAX_NUM_CONCURRENT_MOVES - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
The maximum number of concurrent blocks moves for balancing purpose at a datanode
MAX_PATH_DEPTH - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
MAX_PATH_LENGTH - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
METADATA_EXTENSION - Static variable in class org.apache.hadoop.hdfs.protocol.Block
 
METADATA_EXTENSION - Static variable in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
METADATA_VERSION - Static variable in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
metaFileExists(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
metaFileExists(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Does the meta file exist for this block?
metaFilePattern - Static variable in class org.apache.hadoop.hdfs.protocol.Block
 
metaSave(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Dumps DFS data structures into specified file.
metaSave(String) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
metaSave(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Dumps namenode data structures into specified file.
metaSave(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Dumps namenode state into specified file
metaSave(String[], int) - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Dumps DFS data structures into specified file.
MIN_BLOCKS_FOR_WRITE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
mkdir(Path, FsPermission, boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
mkdir(Path, FsPermission) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Create a directory with given name and permission, only when parent directory exists.
mkdirs(String) - Method in class org.apache.hadoop.hdfs.DFSClient
Deprecated. 
mkdirs(String, FsPermission, boolean) - Method in class org.apache.hadoop.hdfs.DFSClient
Create a directory (or hierarchy of directories) with the given name and permission.
mkdirs(Path, FsPermission) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
mkdirs(Path, FsPermission) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
mkdirs(String, FsPermission, boolean) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Create a directory (or hierarchy of directories) with the given name and permission.
mkdirs(String, PermissionStatus, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Create all the necessary directories
mkdirs(String, FsPermission, boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Create a directory (or hierarchy of directories) with the given name and permission.
moveCurrent(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
Move current to lastcheckpoint.tmp and recreate empty current.
moveLastCheckpoint(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
Move lastcheckpoint.tmp to previous.checkpoint

N

name - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
namenode - Variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
NameNode - Class in org.apache.hadoop.hdfs.server.namenode
NameNode serves as both directory namespace manager and "inode table" for the Hadoop DFS.
NameNode(Configuration) - Constructor for class org.apache.hadoop.hdfs.server.namenode.NameNode
Start NameNode.
NameNode(Configuration, HdfsConstants.NamenodeRole) - Constructor for class org.apache.hadoop.hdfs.server.namenode.NameNode
 
NameNodeActivityMBean - Class in org.apache.hadoop.hdfs.server.namenode.metrics
This is the JMX MBean for reporting the NameNode Activity.
NameNodeActivityMBean(MetricsRegistry) - Constructor for class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeActivityMBean
 
NamenodeCommand - Class in org.apache.hadoop.hdfs.server.protocol
Base class for name-node command.
NamenodeCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamenodeCommand
 
NamenodeCommand(int) - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamenodeCommand
 
NamenodeFsck - Class in org.apache.hadoop.hdfs.server.namenode
This class provides rudimentary checking of DFS volumes for errors and sub-optimal conditions.
NameNodeMetrics - Class in org.apache.hadoop.hdfs.server.namenode.metrics
This class is for maintaining the various NameNode activity statistics and publishing them through the metrics interfaces.
NameNodeMetrics(Configuration, HdfsConstants.NamenodeRole) - Constructor for class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
NamenodeProtocol - Interface in org.apache.hadoop.hdfs.server.protocol
Protocol that a secondary NameNode uses to communicate with the NameNode.
NamenodeProtocols - Interface in org.apache.hadoop.hdfs.server.protocol
The full set of RPC methods implemented by the Namenode.
NamenodeRegistration - Class in org.apache.hadoop.hdfs.server.protocol
Information sent by a subordinate name-node to the active name-node during the registration process.
NamenodeRegistration() - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
NamenodeRegistration(String, String, StorageInfo, HdfsConstants.NamenodeRole, long) - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
namespaceID - Variable in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
NamespaceInfo - Class in org.apache.hadoop.hdfs.server.protocol
NamespaceInfo is returned by the name-node in reply to a data-node handshake.
NamespaceInfo() - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
NamespaceInfo(int, long, int) - Constructor for class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
namesystem - Variable in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
namesystem - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
needKeyUpdate - Variable in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
needToReturnImage() - Method in class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
Indicates whether the new checkpoint image needs to be transfered back to the name-node after the checkpoint is done.
newBlockReader(Socket, String, long, BlockAccessToken, long, long, long, int) - Static method in class org.apache.hadoop.hdfs.BlockReader
 
newBlockReader(Socket, String, long, BlockAccessToken, long, long, long, int, boolean) - Static method in class org.apache.hadoop.hdfs.BlockReader
Java Doc required
newBlockReader(Socket, String, long, BlockAccessToken, long, long, long, int, boolean, String) - Static method in class org.apache.hadoop.hdfs.BlockReader
 
newSocket() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Creates either NIO or regular depending on socketWriteTimeout.
next() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.BlockReportIterator
 
nextStamp() - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
First increments the counter and then returns the stamp
nnAddr - Variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
NO_MOVE_BLOCK - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
NO_MOVE_PROGRESS - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
nodeRegistration - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
Registration information of this name-node
NodeRegistration - Interface in org.apache.hadoop.hdfs.server.protocol
Generic class specifying information, which need to be sent to the name-node during the registration process.
NONEXISTENT_STATUS - Static variable in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck
 
NOTIFY - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
NOTIFY - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
 
notifyNamenodeReceivedBlock(Block, String) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
NotReplicatedYetException - Exception in org.apache.hadoop.hdfs.server.namenode
The file has not finished being written to enough datanodes yet.
NotReplicatedYetException(String) - Constructor for exception org.apache.hadoop.hdfs.server.namenode.NotReplicatedYetException
 
now() - Static method in class org.apache.hadoop.hdfs.server.common.Util
Current system time.
NSQuotaExceededException - Exception in org.apache.hadoop.hdfs.protocol
 
NSQuotaExceededException() - Constructor for exception org.apache.hadoop.hdfs.protocol.NSQuotaExceededException
 
NSQuotaExceededException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.NSQuotaExceededException
 
NSQuotaExceededException(long, long) - Constructor for exception org.apache.hadoop.hdfs.protocol.NSQuotaExceededException
 
numAddBlockOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numBlocks() - Method in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor
 
numBlocksCorrupted - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numCorruptReplicas(Block) - Method in class org.apache.hadoop.hdfs.server.namenode.CorruptReplicasMap
 
numCorruptReplicas(Block) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
numCreateFileOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numcreateSymlinkOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numDeleteFileOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numExpiredHeartbeats - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics
 
numFileInfoOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numFilesAppended - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numFilesCreated - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numFilesDeleted - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numFilesInGetListingOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numFilesRenamed - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numGetBlockLocations - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numgetLinkTargetOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
numGetListingOps - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 

O

offerService() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Main loop for the DataNode.
OfflineImageViewer - Class in org.apache.hadoop.hdfs.tools.offlineImageViewer
OfflineImageViewer to dump the contents of an Hadoop image file to XML or the console.
OfflineImageViewer(String, ImageVisitor, boolean) - Constructor for class org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
 
op(DataOutputStream, DataTransferProtocol.Op) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Initialize a operation.
OP_BLOCK_CHECKSUM - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Op.BLOCK_CHECKSUM instead.
OP_COPY_BLOCK - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Op.COPY_BLOCK instead.
OP_INVALID - Static variable in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
 
OP_READ_BLOCK - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Op.READ_BLOCK instead.
OP_READ_METADATA - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. As of version 15, OP_READ_METADATA is no longer supported.
OP_REPLACE_BLOCK - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Op.REPLACE_BLOCK instead.
OP_STATUS_CHECKSUM_OK - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.CHECKSUM_OK instead.
OP_STATUS_ERROR - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.ERROR instead.
OP_STATUS_ERROR_ACCESS_TOKEN - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.ERROR_ACCESS_TOKEN instead.
OP_STATUS_ERROR_CHECKSUM - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.ERROR_CHECKSUM instead.
OP_STATUS_ERROR_EXISTS - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.ERROR_EXISTS instead.
OP_STATUS_ERROR_INVALID - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.ERROR_INVALID instead.
OP_STATUS_SUCCESS - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Status.SUCCESS instead.
OP_WRITE_BLOCK - Static variable in interface org.apache.hadoop.hdfs.protocol.DataTransferProtocol
Deprecated. Deprecated at 0.21. Use Op.WRITE_BLOCK instead.
opBlockChecksum(DataInputStream, long, long, BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Abstract OP_BLOCK_CHECKSUM method.
opBlockChecksum(DataOutputStream, long, long, BlockAccessToken) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Send OP_BLOCK_CHECKSUM
opCopyBlock(DataInputStream, long, long, BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Abstract OP_COPY_BLOCK method.
opCopyBlock(DataOutputStream, long, long, BlockAccessToken) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Send OP_COPY_BLOCK
open(Path, int) - Method in class org.apache.hadoop.fs.Hdfs
 
open(String) - Method in class org.apache.hadoop.hdfs.DFSClient
 
open(String, int, boolean, FileSystem.Statistics) - Method in class org.apache.hadoop.hdfs.DFSClient
Deprecated. Use DFSClient.open(String, int, boolean) instead.
open(String, int, boolean) - Method in class org.apache.hadoop.hdfs.DFSClient
Create an input stream that obtains a nodelist from the namenode, and then reads from all the right places.
open(Path, int) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
open(Path, int) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
openConnection(String, String) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
Open an HTTP connection to the namenode to read file data and metadata.
openConnection(String, String) - Method in class org.apache.hadoop.hdfs.HsftpFileSystem
 
opReadBlock(DataInputStream, long, long, long, long, String, BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Abstract OP_READ_BLOCK method.
opReadBlock(DataOutputStream, long, long, long, long, String, BlockAccessToken) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Send OP_READ_BLOCK
opReplaceBlock(DataInputStream, long, long, String, DatanodeInfo, BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Abstract OP_REPLACE_BLOCK method.
opReplaceBlock(DataOutputStream, long, long, String, DatanodeInfo, BlockAccessToken) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Send OP_REPLACE_BLOCK
opWriteBlock(DataInputStream, long, long, int, DataTransferProtocol.BlockConstructionStage, long, long, long, String, DatanodeInfo, DatanodeInfo[], BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Abstract OP_WRITE_BLOCK method.
opWriteBlock(DataOutputStream, long, long, int, DataTransferProtocol.BlockConstructionStage, long, long, long, String, DatanodeInfo, DatanodeInfo[], BlockAccessToken) - Static method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Sender
Send OP_WRITE_BLOCK
org.apache.hadoop.fs - package org.apache.hadoop.fs
 
org.apache.hadoop.hdfs - package org.apache.hadoop.hdfs
A distributed implementation of FileSystem.
org.apache.hadoop.hdfs.protocol - package org.apache.hadoop.hdfs.protocol
 
org.apache.hadoop.hdfs.security - package org.apache.hadoop.hdfs.security
 
org.apache.hadoop.hdfs.security.token.delegation - package org.apache.hadoop.hdfs.security.token.delegation
 
org.apache.hadoop.hdfs.server.balancer - package org.apache.hadoop.hdfs.server.balancer
 
org.apache.hadoop.hdfs.server.common - package org.apache.hadoop.hdfs.server.common
 
org.apache.hadoop.hdfs.server.datanode - package org.apache.hadoop.hdfs.server.datanode
 
org.apache.hadoop.hdfs.server.datanode.metrics - package org.apache.hadoop.hdfs.server.datanode.metrics
 
org.apache.hadoop.hdfs.server.namenode - package org.apache.hadoop.hdfs.server.namenode
 
org.apache.hadoop.hdfs.server.namenode.metrics - package org.apache.hadoop.hdfs.server.namenode.metrics
 
org.apache.hadoop.hdfs.server.protocol - package org.apache.hadoop.hdfs.server.protocol
 
org.apache.hadoop.hdfs.tools - package org.apache.hadoop.hdfs.tools
 
org.apache.hadoop.hdfs.tools.offlineImageViewer - package org.apache.hadoop.hdfs.tools.offlineImageViewer
 

P

PATH_SPEC - Static variable in class org.apache.hadoop.hdfs.server.namenode.DelegationTokenServlet
 
pathName - Variable in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
PKT_HEADER_LEN - Static variable in class org.apache.hadoop.hdfs.server.datanode.DataNode
Header size for a packet
PRE_GENERATIONSTAMP_LAYOUT_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
PRE_RBW_LAYOUT_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
primitiveCreate(String, FsPermission, EnumSet<CreateFlag>, boolean, short, long, Progressable, int, int) - Method in class org.apache.hadoop.hdfs.DFSClient
Same as {DFSClient.create(String, FsPermission, EnumSet, short, long, Progressable, int) except that the permission is absolute (ie has already been masked with umask.
primitiveCreate(Path, FsPermission, EnumSet<CreateFlag>, int, short, long, Progressable, int) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
primitiveMkdir(String, FsPermission) - Method in class org.apache.hadoop.hdfs.DFSClient
Same {DFSClient.mkdirs(String, FsPermission, boolean) except that the permissions has already been masked against umask.
primitiveMkdir(Path, FsPermission) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
printAllValues() - Method in class org.apache.hadoop.hdfs.tools.JMXGet
print all attributes' values
printGotoForm(JspWriter, int, String, String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
printPathWithLinks(String, JspWriter, int, String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
printTopology() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Display each rack and the nodes assigned to that rack, as determined by the NameNode, in a hierarchical manner.
processOp(DataTransferProtocol.Op, DataInputStream) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Process op by the corresponding method.
processReport(DatanodeDescriptor, BlockListAsLongs) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockManager
The given node is reporting all its blocks.
processReport(DatanodeID, BlockListAsLongs) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
The given node is reporting all its blocks.
processUpgradeCommand(UpgradeCommand) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
processUpgradeCommand(UpgradeCommand) - Method in class org.apache.hadoop.hdfs.server.namenode.UpgradeObjectNamenode
Process an upgrade command.
processUpgradeCommand(UpgradeCommand) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
This is a very general way to send a command to the name-node during distributed upgrade process.

Q

quota - Variable in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
QUOTA_DONT_SET - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
QUOTA_RESET - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
QuotaExceededException - Exception in org.apache.hadoop.hdfs.protocol
This exception is thrown when modification to HDFS results in violation of a directory quota.
QuotaExceededException() - Constructor for exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
QuotaExceededException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
QuotaExceededException(long, long) - Constructor for exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 

R

ran - Variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
read(byte[], int, int) - Method in class org.apache.hadoop.hdfs.BlockReader
 
read() - Method in class org.apache.hadoop.hdfs.BlockReader
 
read(DataInput) - Static method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Read a DatanodeInfo
read(DataInput) - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Op
Read from in
read(DataInput) - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Status
Read from in
read(DataInput) - Static method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
Read LocatedBlock from in.
read(DataInput) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
Read from in
read() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Read version file.
read(File) - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
 
READ_TIMEOUT - Static variable in interface org.apache.hadoop.hdfs.server.common.HdfsConstants
 
READ_TIMEOUT_EXTENSION - Static variable in interface org.apache.hadoop.hdfs.server.common.HdfsConstants
 
readAll(byte[], int, int) - Method in class org.apache.hadoop.hdfs.BlockReader
kind of like readFully().
readBlockOp - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
readBytes(DataInputStream) - Static method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
readChunk(long, byte[], int, int, byte[]) - Method in class org.apache.hadoop.hdfs.BlockReader
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
Writable interface
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockCommand
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
deserialization method
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations
deserialization method
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.ServerCommand
 
readFields(DataInput) - Method in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
readOp(DataInputStream) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Receiver
Read an Op.
readsFromLocalClient - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
readsFromRemoteClient - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
readString(DataInput) - Static method in class org.apache.hadoop.hdfs.DeprecatedUTF8
 
readString(DataInputStream) - Static method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
recoverAppend(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
recoverAppend(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Recover a failed append to a finalized replica and returns the meta info of the replica
recoverBlocks(Collection<BlockRecoveryCommand.RecoveringBlock>) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
recoverClose(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
recoverClose(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Recover a failed pipeline close It bumps the replica's generation stamp and finalize it if RBW replica
recoverRbw(Block, long, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
recoverRbw(Block, long, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Recovers a RBW replica and returns the meta info of the replica
RecoveryInProgressException - Exception in org.apache.hadoop.hdfs.protocol
Exception indicating that a replica is already being recovery.
RecoveryInProgressException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.RecoveryInProgressException
 
refreshNodes() - Method in class org.apache.hadoop.hdfs.DFSClient
Refresh the hosts and exclude files.
refreshNodes() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Refreshes the list of hosts and excluded hosts from the configured files.
refreshNodes() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Tells the namenode to reread the hosts and exclude files.
refreshNodes(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Rereads the config to get hosts and exclude list file names.
refreshNodes() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Refresh the list of datanodes that the namenode should allow to connect.
refreshNodes() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Command to ask the namenode to reread the hosts and excluded hosts file.
refreshServiceAcl() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
refreshServiceAcl() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Refresh the authorization policy on the NameNode.
refreshUserToGroupsMappings(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
refreshUserToGroupsMappings() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Refresh the user-to-groups mappings on the NameNode.
register(NamenodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
register(NamenodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
REGISTER - Static variable in class org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
 
register(NamenodeRegistration) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Register a subordinate name-node like backup node.
registerDatanode(DatanodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Register Datanode.
registerDatanode(DatanodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
registerDatanode(DatanodeRegistration) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
Register Datanode.
registry - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
registry - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
remaining - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
remove() - Method in class org.apache.hadoop.hdfs.protocol.BlockListAsLongs.BlockReportIterator
 
removeDatanode(DatanodeID) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
remove a datanode descriptor
removedStorageDirs - Variable in class org.apache.hadoop.hdfs.server.namenode.FSImage
list of failed (and thus removed) storages
rename(String, String) - Method in class org.apache.hadoop.hdfs.DFSClient
Deprecated. Use DFSClient.rename(String, String, Options.Rename...) instead.
rename(String, String, Options.Rename...) - Method in class org.apache.hadoop.hdfs.DFSClient
Rename file or directory.
rename(Path, Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
rename(Path, Path, Options.Rename...) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
This rename operation is guaranteed to be atomic.
rename(Path, Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
rename(String, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Deprecated. Use ClientProtocol.rename(String, String, Options.Rename...) instead.
rename(String, String, Options.Rename...) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Rename src to dst.
rename(File, File) - Static method in class org.apache.hadoop.hdfs.server.common.Storage
 
rename(String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Deprecated. 
rename(String, String, Options.Rename...) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Rename src to dst.
renameInternal(Path, Path) - Method in class org.apache.hadoop.fs.Hdfs
 
renameInternal(Path, Path, boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
renewDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.DFSClient
 
renewDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Renew an existing delegation token.
renewDelegationToken(Token<DelegationTokenIdentifier>) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Renew an existing delegation token.
renewDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
renewDelegationToken(Token<DelegationTokenIdentifier>) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
renewLease(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Client programs can cause stateful changes in the NameNode that affect other clients.
renewLease(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
replaceBlockOp - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
Replica - Interface in org.apache.hadoop.hdfs.server.datanode
This represents block replicas which stored in DataNode.
ReplicaInfo - Class in org.apache.hadoop.hdfs.server.datanode
This class is used by datanodes to maintain meta data of its replicas.
ReplicaNotFoundException - Exception in org.apache.hadoop.hdfs.server.datanode
Exception indicating that DataNode does not have a replica that matches the target block.
ReplicaNotFoundException() - Constructor for exception org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException
 
ReplicaNotFoundException(String) - Constructor for exception org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException
 
ReplicaRecoveryInfo - Class in org.apache.hadoop.hdfs.server.protocol
Replica recovery information.
ReplicaRecoveryInfo() - Constructor for class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
ReplicaRecoveryInfo(long, long, long, HdfsConstants.ReplicaState) - Constructor for class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
replthread - Variable in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
report() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Gives a report on how the FileSystem is doing.
reportBadBlocks(LocatedBlock[]) - Method in class org.apache.hadoop.hdfs.DFSClient
Report corrupt blocks that were discovered by the client.
reportBadBlocks(LocatedBlock[]) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
The client wants to report corrupted blocks (blocks with specified locations on datanodes).
reportBadBlocks(LocatedBlock[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
The client has detected an error on the specified located blocks and is reporting them to the server.
reportBadBlocks(LocatedBlock[]) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
same as ClientProtocol.reportBadBlocks(LocatedBlock[]) }
reportChecksumFailure(Path, FSDataInputStream, long, FSDataInputStream, long) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
We need to find the blocks that didn't match.
resetAllMinMax() - Method in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
resetAllMinMax() - Method in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
restoreFailedStorage(String) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
enable/disable/check restoreFaileStorage
restoreFailedStorage(String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Enable/Disable restore failed storage.
restoreFailedStorage(String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
restoreFaileStorage(String) - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Command to enable/disable/check restoring of failed storage replicas in the namenode.
role - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
rollEditLog() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Deprecated. 
rollEditLog() - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Deprecated. See SecondaryNameNode
rollFsImage() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Deprecated. 
rollFsImage() - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Deprecated. See SecondaryNameNode
rpcAddress - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
RPC server address
run(String[]) - Method in class org.apache.hadoop.hdfs.server.balancer.Balancer
main method of Balancer
run() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
No matter what kind of exception we get, keep retrying to offerService().
run() - Method in class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
 
run() - Method in class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated.  
run(String[]) - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
 
run(String[]) - Method in class org.apache.hadoop.hdfs.tools.DFSck
 
runDatanodeDaemon(DataNode) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Start a single datanode daemon and wait for it to finish.

S

SafeModeException - Exception in org.apache.hadoop.hdfs.server.namenode
This exception is thrown when the name node is in safe mode.
SafeModeException() - Constructor for exception org.apache.hadoop.hdfs.server.namenode.SafeModeException
 
SafeModeException(String, FSNamesystem.SafeModeInfo) - Constructor for exception org.apache.hadoop.hdfs.server.namenode.SafeModeException
 
safeModeTime - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
saveCurrent(Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
Save current image and empty journal into current directory.
saveNamespace() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Save namespace image.
saveNamespace() - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Save namespace image.
saveNamespace() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
saveNamespace() - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Command to ask the namenode to save the namespace.
saveSecretManagerState(DataOutputStream) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Store the current state of the SecretManager for persistence
scheduleBlockReport(long) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
This methods arranges for the data node to send the block report at the next heartbeat.
SecondaryNameNode - Class in org.apache.hadoop.hdfs.server.namenode
Deprecated. 
SecondaryNameNode(Configuration) - Constructor for class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated. Create a connection to the primary namenode.
seek(long) - Method in class org.apache.hadoop.hdfs.BlockReader
 
seekToNewSource(long) - Method in class org.apache.hadoop.hdfs.BlockReader
 
sendHeartbeat(DatanodeRegistration, long, long, long, int, int) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Data node notify the name node that it is alive Return an array of block-oriented commands for the datanode to execute.
sendHeartbeat(DatanodeRegistration, long, long, long, int, int) - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
sendHeartbeat() tells the NameNode that the DataNode is still alive and well.
serialVersionUID - Static variable in exception org.apache.hadoop.hdfs.protocol.DSQuotaExceededException
 
serialVersionUID - Static variable in exception org.apache.hadoop.hdfs.protocol.NSQuotaExceededException
 
serialVersionUID - Static variable in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
server - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
RPC server
SERVER_DEFAULTS_VALIDITY_PERIOD - Static variable in class org.apache.hadoop.hdfs.DFSClient
 
ServerCommand - Class in org.apache.hadoop.hdfs.server.protocol
Base class for a server command.
ServerCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.ServerCommand
Unknown server command constructor.
ServerCommand(int) - Constructor for class org.apache.hadoop.hdfs.server.protocol.ServerCommand
Create a command for the specified action.
set(long, long, long) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
SET_DELEGATION - Static variable in class org.apache.hadoop.hdfs.server.common.JspHelper
 
setAccessToken(BlockAccessToken) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
setAdminState(DatanodeInfo.AdminStates) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets the admin state of this node.
setBlockId(long) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
setBufferCapacity(int) - Method in class org.apache.hadoop.hdfs.server.namenode.FSEditLog
 
setCapacity(long) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets raw capacity.
setConf(Configuration) - Method in class org.apache.hadoop.hdfs.server.balancer.Balancer
set this balancer's configuration
setDecommissioned() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets the admin state to indicate that decommission is complete.
setErrorSimulation(int) - Static method in class org.apache.hadoop.hdfs.DFSUtil.ErrorSimulator
 
setFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.common.Storage
Set common storage fields.
setFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.datanode.DataStorage
 
setFields(Properties, Storage.StorageDirectory) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
Write last checkpoint time and version file into the storage directory.
setGenerationStamp(long) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
setGenerationStamp(long) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Sets the generation stamp for this filesystem
setHostName(String) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
setHttpServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
setHttpServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
setInfoPort(int) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
setIpcPort(int) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
setKeys(ExportedAccessKeys) - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Set access keys, only to be used in slave mode
setLastUpdate(long) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets time when this information was accurate.
setLeasePeriod(long, long) - Method in class org.apache.hadoop.hdfs.server.namenode.LeaseManager
 
setLevel(int) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
setLocalVMUrl(String) - Method in class org.apache.hadoop.hdfs.tools.JMXGet
 
setMac(Mac) - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
setName(String) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
setNetworkLocation(String) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets the rack name
setNewStorageID(DatanodeRegistration) - Static method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
setNodeReplicationLimit(int) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
 
setNumBytes(long) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
setOwner(Path, String, String) - Method in class org.apache.hadoop.fs.Hdfs
 
setOwner(String, String, String) - Method in class org.apache.hadoop.hdfs.DFSClient
Set file or directory owner.
setOwner(Path, String, String) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
setOwner(String, String, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Set Owner of a path (i.e.
setOwner(String, String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Set owner for an existing file.
setOwner(String, String, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Set Owner of a path (i.e.
setParent(Node) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 
setPathName(String) - Method in exception org.apache.hadoop.hdfs.protocol.QuotaExceededException
 
setPermission(Path, FsPermission) - Method in class org.apache.hadoop.fs.Hdfs
 
setPermission(String, FsPermission) - Method in class org.apache.hadoop.hdfs.DFSClient
Set permissions to a file or directory.
setPermission(Path, FsPermission) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
setPermission(String, FsPermission) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Set permissions for an existing file/directory.
setPermission(String, FsPermission) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Set permissions for an existing file.
setPermission(String, FsPermission) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Set permissions for an existing file/directory.
setPort(String) - Method in class org.apache.hadoop.hdfs.tools.JMXGet
 
setQuota(Path, long, long) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Set a directory's quotas
setQuota(String, long, long) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Set the quota for a directory.
setQuota(String, long, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Set the quota for a directory.
setRemaining(long) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets raw free space.
setReplication(Path, short) - Method in class org.apache.hadoop.fs.Hdfs
 
setReplication(String, short) - Method in class org.apache.hadoop.hdfs.DFSClient
Set replication for an existing file.
setReplication(Path, short) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
setReplication(String, short) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Set replication for an existing file.
setReplication(String, short) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Set replication for an existing file.
setReplication(String, short) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Set replication for an existing file.
setRestoreFailedStorage(boolean) - Method in class org.apache.hadoop.hdfs.server.namenode.FSImage
 
setRpcServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
setRpcServerAddress(Configuration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
setSafeMode(FSConstants.SafeModeAction) - Method in class org.apache.hadoop.hdfs.DFSClient
Enter, leave or get safe mode.
setSafeMode(FSConstants.SafeModeAction) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
Enter, leave or get safe mode.
setSafeMode(FSConstants.SafeModeAction) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Enter, leave or get safe mode.
setSafeMode(FSConstants.SafeModeAction) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
setSafeMode(String[], int) - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Safe mode maintenance command.
setServer(String) - Method in class org.apache.hadoop.hdfs.tools.JMXGet
 
setService(String) - Method in class org.apache.hadoop.hdfs.tools.JMXGet
 
setStamp(long) - Method in class org.apache.hadoop.hdfs.server.common.GenerationStamp
Sets the current generation stamp
setStorageID(String) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
sets the data storage ID.
setStorageInfo(StorageInfo) - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
setStorageInfo(DataStorage) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
setTimes(Path, long, long) - Method in class org.apache.hadoop.fs.Hdfs
 
setTimes(String, long, long) - Method in class org.apache.hadoop.hdfs.DFSClient
set the modification and access time of a file
setTimes(Path, long, long) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
setTimes(String, long, long) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Sets the modification and access time of the file to the specified time.
setTimes(String, long, long) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
stores the modification and access time for this inode.
setTimes(String, long, long) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
setUpgradeState(boolean, int) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
setVerifyChecksum(boolean) - Method in class org.apache.hadoop.fs.Hdfs
 
setVerifyChecksum(boolean) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
setWorkingDirectory(Path) - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
setWorkingDirectory(Path) - Method in class org.apache.hadoop.hdfs.HftpFileSystem
 
setXceiverCount(int) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Sets number of active connections
shutdown() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Shut down this instance of the datanode.
shutdown() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
shutdown() - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Shutdown the FSDataset
shutdown() - Method in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeActivityMBean
 
shutdown() - Method in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
shutdown() - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
shutdown FSNamesystem
shutdown() - Method in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeActivityMBean
 
shutdown() - Method in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
shutdown() - Method in class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated. Shut down this instance of the datanode.
size() - Method in class org.apache.hadoop.hdfs.server.namenode.CorruptReplicasMap
 
SIZE_OF_INTEGER - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
skip(long) - Method in class org.apache.hadoop.hdfs.BlockReader
 
SMALL_BUFFER_SIZE - Static variable in interface org.apache.hadoop.hdfs.protocol.FSConstants
 
sortNodeList(ArrayList<DatanodeDescriptor>, String, String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
startCheckpoint(NamenodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
startCheckpoint(NamenodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
startCheckpoint(NamenodeRegistration) - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
A request to the active name-node to start a checkpoint.
startDecommission() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Start decommissioning a node.
startUpgrade() - Method in interface org.apache.hadoop.hdfs.server.common.Upgradeable
Prepare for the upgrade.
startUpgrade() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
startUpgrade() - Method in class org.apache.hadoop.hdfs.server.namenode.UpgradeObjectNamenode
 
stateChangeLog - Static variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
status - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
stop() - Method in class org.apache.hadoop.hdfs.server.namenode.BackupNode
 
stop() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Stop all NameNode threads and wait for all to finish.
stopDecommission() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Stop decommissioning a node.
stopDecommission(DatanodeDescriptor) - Method in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
Stop decommissioning the specified datanodes.
stopRequested - Variable in class org.apache.hadoop.hdfs.server.namenode.NameNode
only used for testing purposes
Storage - Class in org.apache.hadoop.hdfs.server.common
Storage information file.
Storage(HdfsConstants.NodeType) - Constructor for class org.apache.hadoop.hdfs.server.common.Storage
Create empty storage info of the specified type
Storage(HdfsConstants.NodeType, int, long) - Constructor for class org.apache.hadoop.hdfs.server.common.Storage
 
Storage(HdfsConstants.NodeType, StorageInfo) - Constructor for class org.apache.hadoop.hdfs.server.common.Storage
 
Storage.StorageDirectory - Class in org.apache.hadoop.hdfs.server.common
One of the storage directories.
Storage.StorageDirectory(File) - Constructor for class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
 
Storage.StorageDirectory(File, Storage.StorageDirType) - Constructor for class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
 
Storage.StorageDirType - Interface in org.apache.hadoop.hdfs.server.common
An interface to denote storage directory type Implementations can define a type for storage directory by implementing this interface.
Storage.StorageState - Enum in org.apache.hadoop.hdfs.server.common
 
STORAGE_DIR_CURRENT - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
STORAGE_FILE_VERSION - Static variable in class org.apache.hadoop.hdfs.server.common.Storage
 
storageDirs - Variable in class org.apache.hadoop.hdfs.server.common.Storage
 
storageID - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
StorageInfo - Class in org.apache.hadoop.hdfs.server.common
Common class for storage information.
StorageInfo() - Constructor for class org.apache.hadoop.hdfs.server.common.StorageInfo
 
StorageInfo(int, int, long) - Constructor for class org.apache.hadoop.hdfs.server.common.StorageInfo
 
StorageInfo(StorageInfo) - Constructor for class org.apache.hadoop.hdfs.server.common.StorageInfo
 
storageInfo - Variable in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
streamBlockInAscii(InetSocketAddress, long, BlockAccessToken, long, long, long, long, JspWriter, Configuration) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
 
StreamFile - Class in org.apache.hadoop.hdfs.server.namenode
 
StreamFile() - Constructor for class org.apache.hadoop.hdfs.server.namenode.StreamFile
 
string2Bytes(String) - Static method in class org.apache.hadoop.hdfs.DFSUtil
Converts a string to a byte array using UTF8 encoding.
string2ChunkSizeToView(String, int) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Convert a String to chunk-size-to-view.
stringAsURI(String) - Static method in class org.apache.hadoop.hdfs.server.common.Util
Interprets the passed string as a URI.
stringCollectionAsURIs(Collection<String>) - Static method in class org.apache.hadoop.hdfs.server.common.Util
Converts a collection of strings into a collection of URIs.
SUCCESS - Static variable in class org.apache.hadoop.hdfs.server.balancer.Balancer
 
supportsSymlinks() - Method in class org.apache.hadoop.fs.Hdfs
 
syncs - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 

T

targets - Variable in class org.apache.hadoop.hdfs.server.namenode.DatanodeDescriptor.BlockTargetPair
 
toNodeRole() - Method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.StartupOption
 
toString() - Method in class org.apache.hadoop.hdfs.DFSClient
toString() - Method in class org.apache.hadoop.hdfs.DistributedFileSystem
 
toString() - Method in class org.apache.hadoop.hdfs.protocol.Block
 
toString() - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
 
toString() - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
 
toString() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
toString() - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
toString() - Method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.NamenodeRole
 
toString() - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
Print basic upgradeStatus details.
toString() - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
 
toString() - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
toString() - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Stringifies the name of the storage
toString() - Method in class org.apache.hadoop.hdfs.server.datanode.ReplicaInfo
 
toString() - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
toString() - Method in class org.apache.hadoop.hdfs.server.namenode.LeaseManager
toString() - Method in class org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
Deprecated. 
toString() - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
 
toString() - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
toString() - Method in interface org.apache.hadoop.hdfs.server.protocol.NodeRegistration
 
transactions - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 
transactionsBatchedInSync - Variable in class org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics
 

U

UC_ACTION_REPORT_STATUS - Static variable in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
UC_ACTION_START_UPGRADE - Static variable in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
ugi - Variable in class org.apache.hadoop.hdfs.HftpFileSystem
 
unfinalizeBlock(Block) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Remove the temporary block file (if any)
unfinalizeBlock(Block) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Unfinalizes the block previously opened for writing using writeToBlock.
UNKOWN_SEQNO - Static variable in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
 
unlinkBlock(Block, int) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
Make a copy of the block if this block is linked to an existing snapshot.
unlock() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Unlock storage.
unlockAll() - Method in class org.apache.hadoop.hdfs.server.common.Storage
Unlock all storage directories.
UnregisteredNodeException - Exception in org.apache.hadoop.hdfs.protocol
This exception is thrown when a node that has not previously registered is trying to access the name node.
UnregisteredNodeException(NodeRegistration) - Constructor for exception org.apache.hadoop.hdfs.protocol.UnregisteredNodeException
 
UnregisteredNodeException(DatanodeID, DatanodeInfo) - Constructor for exception org.apache.hadoop.hdfs.protocol.UnregisteredNodeException
The exception is thrown if a different data-node claims the same storage id as the existing one.
UnresolvedPathException - Exception in org.apache.hadoop.hdfs.protocol
Thrown when a symbolic link is encountered in a path.
UnresolvedPathException(String) - Constructor for exception org.apache.hadoop.hdfs.protocol.UnresolvedPathException
Used by RemoteException to instantiate an UnresolvedPathException.
UnresolvedPathException(String, String, String) - Constructor for exception org.apache.hadoop.hdfs.protocol.UnresolvedPathException
 
UnsupportedActionException - Exception in org.apache.hadoop.hdfs.server.namenode
This exception is thrown when an operation is not supported.
UnsupportedActionException(String) - Constructor for exception org.apache.hadoop.hdfs.server.namenode.UnsupportedActionException
 
updateBlockForPipeline(Block, String) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Get a new generation stamp together with an access token for a block under construction This method is called only when a client needs to recover a failed pipeline or set up a pipeline for appending to a block.
updateBlockForPipeline(Block, String) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Get a new generation stamp together with an access token for a block under construction This method is called only when a client needs to recover a failed pipeline or set up a pipeline for appending to a block.
updateKeys() - Method in class org.apache.hadoop.hdfs.security.AccessTokenHandler
Update access keys, only to be used in master mode
updatePersistedMasterKey(DelegationKey) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Add a MasterKey to the list of keys.
updatePersistedTokenCancellation(DelegationTokenIdentifier) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Update the token cache with the cancel record in edit logs
updatePersistedTokenRenewal(DelegationTokenIdentifier, long) - Method in class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager
Update the token cache with renewal record in edit logs.
updatePipeline(String, Block, Block, DatanodeID[]) - Method in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Update a pipeline for a block under construction
updatePipeline(String, Block, Block, DatanodeID[]) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
updateRegInfo(DatanodeID) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
Update fields when a new registration request comes in.
updateReplicaUnderRecovery(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.DataNode
Update replica with the new generation stamp and length.
updateReplicaUnderRecovery(Block, long, long) - Method in class org.apache.hadoop.hdfs.server.datanode.FSDataset
 
updateReplicaUnderRecovery(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface
Update replica's generation stamp and length and finalize it.
updateReplicaUnderRecovery(Block, long, long) - Method in interface org.apache.hadoop.hdfs.server.protocol.InterDatanodeProtocol
Update replica with the new generation stamp and length.
Upgradeable - Interface in org.apache.hadoop.hdfs.server.common
Common interface for distributed upgrade objects.
UpgradeCommand - Class in org.apache.hadoop.hdfs.server.protocol
This as a generic distributed upgrade command.
UpgradeCommand() - Constructor for class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
UpgradeCommand(int, int, short) - Constructor for class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
UpgradeManager - Class in org.apache.hadoop.hdfs.server.common
Generic upgrade manager.
UpgradeManager() - Constructor for class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
UpgradeObject - Class in org.apache.hadoop.hdfs.server.common
Abstract upgrade object.
UpgradeObject() - Constructor for class org.apache.hadoop.hdfs.server.common.UpgradeObject
 
UpgradeObjectCollection - Class in org.apache.hadoop.hdfs.server.common
Collection of upgrade objects.
UpgradeObjectCollection() - Constructor for class org.apache.hadoop.hdfs.server.common.UpgradeObjectCollection
 
UpgradeObjectDatanode - Class in org.apache.hadoop.hdfs.server.datanode
Base class for data-node upgrade objects.
UpgradeObjectDatanode() - Constructor for class org.apache.hadoop.hdfs.server.datanode.UpgradeObjectDatanode
 
UpgradeObjectNamenode - Class in org.apache.hadoop.hdfs.server.namenode
Base class for name-node upgrade objects.
UpgradeObjectNamenode() - Constructor for class org.apache.hadoop.hdfs.server.namenode.UpgradeObjectNamenode
 
upgradeProgress(String[], int) - Method in class org.apache.hadoop.hdfs.tools.DFSAdmin
Command to request current distributed upgrade status, a detailed status, or to force the upgrade to proceed.
upgradeState - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
upgradeStatus - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
UpgradeStatusReport - Class in org.apache.hadoop.hdfs.server.common
Base upgrade upgradeStatus class.
UpgradeStatusReport() - Constructor for class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
UpgradeStatusReport(int, short, boolean) - Constructor for class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
upgradeVersion - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeManager
 
Util - Class in org.apache.hadoop.hdfs.server.common
 
Util() - Constructor for class org.apache.hadoop.hdfs.server.common.Util
 

V

validateLong(String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Validate a long value.
validatePath(String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Validate filename.
validateURL(String) - Static method in class org.apache.hadoop.hdfs.server.common.JspHelper
Validate a URL.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.BlockConstructionStage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Op
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.DatanodeReportType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.SafeModeAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.UpgradeAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.security.AccessTokenHandler.AccessMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.BlockUCState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.NamenodeRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.NodeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.StartupOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.hadoop.hdfs.server.common.Storage.StorageState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.DatanodeInfo.AdminStates
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.BlockConstructionStage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Op
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.DatanodeReportType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.SafeModeAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.protocol.FSConstants.UpgradeAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.security.AccessTokenHandler.AccessMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.BlockUCState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.NamenodeRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.NodeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.StartupOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.hadoop.hdfs.server.common.Storage.StorageState
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String, SSLSession) - Method in class org.apache.hadoop.hdfs.HsftpFileSystem.DummyHostnameVerifier
 
verifyBlockPlacement(String, LocatedBlock, int) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy
Verify that the block is replicated on at least minRacks different racks if there is more than minRacks rack in the system.
verifyBlockPlacement(String, LocatedBlock, int) - Method in class org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicyDefault
Verify that the block is replicated on at least minRacks different racks if there is more than minRacks rack in the system.
verifyRequest(NodeRegistration) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Verify request.
verifyVersion(int) - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
Verify version.
version - Variable in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
versionID - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientDatanodeProtocol
6: recoverBlock() removed.
versionID - Static variable in interface org.apache.hadoop.hdfs.protocol.ClientProtocol
Compared to the previous version the following changes have been introduced: (Only the latest change is reflected.
versionID - Static variable in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
24: register() renamed registerDatanode()
versionID - Static variable in interface org.apache.hadoop.hdfs.server.protocol.InterDatanodeProtocol
5: getBlockMetaDataInfo(), updateBlock() removed.
versionID - Static variable in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Compared to the previous version the following changes have been introduced: (Only the latest change is reflected.
versionRequest() - Method in class org.apache.hadoop.hdfs.server.namenode.NameNode
 
versionRequest() - Method in interface org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol
 
versionRequest() - Method in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
Request name-node version and storage information.

W

WEB_UGI_PROPERTY_NAME - Static variable in class org.apache.hadoop.hdfs.server.common.JspHelper
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.Block
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeID
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
write(DataOutput) - Method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Op
Write to out
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.DataTransferProtocol.PipelineAck
 
write(DataOutput) - Method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Status
Write to out
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.DirectoryListing
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.HdfsFileStatus
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlock
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.protocol.LocatedBlocks
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.security.BlockAccessKey
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.security.BlockAccessToken
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.security.ExportedAccessKeys
 
write(DataOutput) - Method in enum org.apache.hadoop.hdfs.server.common.HdfsConstants.ReplicaState
Write to out
write() - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
Write version file.
write(File) - Method in class org.apache.hadoop.hdfs.server.common.Storage.StorageDirectory
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.common.StorageInfo
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.common.UpgradeStatusReport
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.namenode.CheckpointSignature
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockCommand
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand.RecoveringBlock
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlockRecoveryCommand
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations.BlockWithLocations
serialization method
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations
serialization method
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.CheckpointCommand
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.NamespaceInfo
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.ReplicaRecoveryInfo
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.ServerCommand
 
write(DataOutput) - Method in class org.apache.hadoop.hdfs.server.protocol.UpgradeCommand
 
WRITE_TIMEOUT - Static variable in interface org.apache.hadoop.hdfs.server.common.HdfsConstants
 
WRITE_TIMEOUT_EXTENSION - Static variable in interface org.apache.hadoop.hdfs.server.common.HdfsConstants
 
writeAll() - Method in class org.apache.hadoop.hdfs.server.common.Storage
Write all data storage files.
writeBlockOp - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
writeCorruptedData(RandomAccessFile) - Method in class org.apache.hadoop.hdfs.server.common.Storage
 
writeOutputStream(OutputStream) - Method in enum org.apache.hadoop.hdfs.protocol.DataTransferProtocol.Status
Write to out
writesFromLocalClient - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
writesFromRemoteClient - Variable in class org.apache.hadoop.hdfs.server.datanode.metrics.DataNodeMetrics
 
writeString(DataOutput, String) - Static method in class org.apache.hadoop.hdfs.DeprecatedUTF8
 

X

xceiverCount - Variable in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
 

A B C D E F G H I J K L M N O P Q R S T U V W X

Copyright © 2009 The Apache Software Foundation