Class BlockRecoveryWorker
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.BlockRecoveryWorker
This class handles the block recovery work commands.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassblk_0 blk_1 blk_2 blk_3 blk_4 blk_5 blk_6 blk_7 blk_8 64k 64k 64k 64k 64k 64k 64k 64k 64k <-- stripe_0 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 61k <-- startStripeIdx 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 59k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k 64k <-- last full stripe 64k 64k 13k 64k 55k 3k <-- target last stripe 64k 64k 64k 1k 64k 64k 58k 64k 64k 64k 19k 64k <-- total visible stripe Due to different speed of streamers, the internal blocks in a block group could have different lengths when the block group isn't ended normally. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.util.DaemonrecoverBlocks(String who, Collection<BlockRecoveryCommand.RecoveringBlock> blocks)
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Details
-
recoverBlocks
public org.apache.hadoop.util.Daemon recoverBlocks(String who, Collection<BlockRecoveryCommand.RecoveringBlock> blocks)
-