Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol.datatransfer |
Modifier and Type | Method and Description |
---|---|
BlockConstructionStage |
BlockConstructionStage.getRecoveryStage()
get the recovery stage of this stage
|
static BlockConstructionStage |
BlockConstructionStage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockConstructionStage[] |
BlockConstructionStage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Sender.writeBlock(ExtendedBlock blk,
Token<BlockTokenIdentifier> blockToken,
String clientName,
DatanodeInfo[] targets,
DatanodeInfo source,
BlockConstructionStage stage,
int pipelineSize,
long minBytesRcvd,
long maxBytesRcvd,
long latestGenerationStamp,
DataChecksum requestedChecksum,
CachingStrategy cachingStrategy) |
void |
DataTransferProtocol.writeBlock(ExtendedBlock blk,
Token<BlockTokenIdentifier> blockToken,
String clientName,
DatanodeInfo[] targets,
DatanodeInfo source,
BlockConstructionStage stage,
int pipelineSize,
long minBytesRcvd,
long maxBytesRcvd,
long latestGenerationStamp,
DataChecksum requestedChecksum,
CachingStrategy cachingStrategy)
Write a block to a datanode pipeline.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.