Uses of Interface
org.apache.hadoop.hdfs.server.blockmanagement.BlockCollection
Packages that use BlockCollection
Package
Description
-
Uses of BlockCollection in org.apache.hadoop.hdfs.server.blockmanagement
Methods in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type BlockCollectionModifier and TypeMethodDescriptionBlockManager.addBlockCollection(BlockInfo block, BlockCollection bc) BlockManager.addBlockCollectionWithCheck(BlockInfo block, BlockCollection bc) Do some check when adding a block to blocksmap.voidBlockManager.checkRedundancy(BlockCollection bc) Check sufficient redundancy of the blocks in the collection.booleanBlockManager.commitOrCompleteLastBlock(BlockCollection bc, org.apache.hadoop.hdfs.protocol.Block commitBlock, INodesInPath iip) Commit the last block of the file and mark it as complete if it has meets the minimum redundancy requirementorg.apache.hadoop.hdfs.protocol.LocatedBlockBlockManager.convertLastBlockToUnderConstruction(BlockCollection bc, long bytesToRemove) Convert the last block of the file to an under construction block.protected booleanDatanodeAdminManager.isSufficient(BlockInfo block, BlockCollection bc, NumberReplicas numberReplicas, boolean isDecommission, boolean isMaintenance) Checks whether a block is sufficiently replicated/stored for DECOMMISSION_INPROGRESS or ENTERING_MAINTENANCE datanodes.protected voidDatanodeAdminManager.logBlockReplicationInfo(BlockInfo block, BlockCollection bc, DatanodeDescriptor srcNode, NumberReplicas num, Iterable<DatanodeStorageInfo> storages) -
Uses of BlockCollection in org.apache.hadoop.hdfs.server.namenode
Classes in org.apache.hadoop.hdfs.server.namenode that implement BlockCollectionMethods in org.apache.hadoop.hdfs.server.namenode that return BlockCollection