Removed Methods |
boolean detachBlock(Block, int)
|
Make a copy of the block if this block is linked to an existing snapshot. |
long getChannelPosition(Block, BlockWriteStreams)
|
Retrieves the offset in the block to which the the next write will write data to. |
void setChannelPosition(Block, BlockWriteStreams, long, long)
|
Sets the offset in the block to which the the next write will write data to. |
void updateBlock(Block, Block)
|
{@inheritDoc} |
void validateBlockMetadata(Block )
|
{@inheritDoc} |
BlockWriteStreams writeToBlock(Block, boolean)
|
Start writing to a block file If isRecovery is true and the block pre-exists then we kill all volumeMap.put(b v); volumeMap.put(b v); other threads that might be writing to this block and then reopen the file. |
Added Methods |
void adjustCrcChannelPosition(Block, BlockWriteStreams, int)
|
Sets the offset in the meta file so that the last checksum will be overwritten. |
ReplicaInPipelineInterface append(Block, long, long)
|
|
void checkAndUpdate(long, File, File, FSVolume)
|
Reconcile the difference between blocks on the disk and blocks in volumeMap Check the given block for inconsistencies. |
ReplicaInPipelineInterface createRbw(Block )
|
|
ReplicaInPipelineInterface createTemporary(Block )
|
|
ReplicaInfo getReplica(long )
|
@deprecated use #fetchReplicaInfo(long) instead. |
long getReplicaVisibleLength(Block )
|
|
boolean hasEnoughResource()
|
Return true - if there are still valid volumes on the DataNode. |
ReplicaRecoveryInfo initReplicaRecovery(RecoveringBlock )
|
|
ReplicaInPipelineInterface recoverAppend(Block, long, long)
|
|
void recoverClose(Block, long, long)
|
|
ReplicaInPipelineInterface recoverRbw(Block, long, long, long)
|
|
boolean unlinkBlock(Block, int)
|
Make a copy of the block if this block is linked to an existing snapshot. |
ReplicaInfo updateReplicaUnderRecovery(Block, long, long)
|
|