Class BlockRecoveryWorker

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.BlockRecoveryWorker

@Private public class BlockRecoveryWorker extends Object
This class handles the block recovery work commands.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    blk_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
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.util.Daemon
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait