Uses of Class
org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations
Packages that use BlocksWithLocations
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
The Balancer is a tool for balancing the data across
the storage devices of an HDFS cluster.
-
Uses of BlocksWithLocations in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB that return BlocksWithLocationsModifier and TypeMethodDescriptionstatic BlocksWithLocationsPBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.BlocksWithLocationsProto blocks) NamenodeProtocolTranslatorPB.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode, long size, long minBlockSize, long timeInterval, org.apache.hadoop.fs.StorageType storageType) Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type BlocksWithLocationsModifier and TypeMethodDescriptionstatic org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.BlocksWithLocationsProtoPBHelper.convert(BlocksWithLocations blks) -
Uses of BlocksWithLocations in org.apache.hadoop.hdfs.server.balancer
Methods in org.apache.hadoop.hdfs.server.balancer that return BlocksWithLocationsModifier and TypeMethodDescriptionNameNodeConnector.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode, long size, long minBlockSize, long timeInterval, org.apache.hadoop.fs.StorageType storageType) -
Uses of BlocksWithLocations in org.apache.hadoop.hdfs.server.blockmanagement
Methods in org.apache.hadoop.hdfs.server.blockmanagement that return BlocksWithLocationsModifier and TypeMethodDescriptionBlockManager.getBlocksWithLocations(org.apache.hadoop.hdfs.protocol.DatanodeID datanode, long size, long minBlockSize, long timeInterval, org.apache.hadoop.fs.StorageType storageType) Get all blocks with location information from a datanode. -
Uses of BlocksWithLocations in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return BlocksWithLocationsModifier and TypeMethodDescriptionFSNamesystem.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeID datanode, long size, long minimumBlockSize, long timeInterval, org.apache.hadoop.fs.StorageType storageType) return a list of blocks & their locations ondatanodewhose total size issizeNameNodeRpcServer.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode, long size, long minBlockSize, long timeInterval, org.apache.hadoop.fs.StorageType storageType) -
Uses of BlocksWithLocations in org.apache.hadoop.hdfs.server.protocol
Methods in org.apache.hadoop.hdfs.server.protocol that return BlocksWithLocationsModifier and TypeMethodDescriptionNamenodeProtocol.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode, long size, long minBlockSize, long hotBlockTimeInterval, org.apache.hadoop.fs.StorageType storageType) Get a list of blocks belonging todatanodewhose total size equalssize.