Uses of Class
org.apache.hadoop.hdfs.protocol.LocatedBlocks
Packages that use LocatedBlocks
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of LocatedBlocks in org.apache.hadoop.hdfs
Fields in org.apache.hadoop.hdfs declared as LocatedBlocksMethods in org.apache.hadoop.hdfs that return LocatedBlocksModifier and TypeMethodDescriptionprotected LocatedBlocksDFSClient.getBlockLocations(String src, long length) DFSClient.getLocatedBlocks(String src, long start) Get locations of the blocks of the specified file `src` from offset `start` within the prefetch size which is related to parameter `dfs.client.read.prefetch.size`.DFSClient.getLocatedBlocks(String src, long start, long length) This is just a wrapper around callGetBlockLocations, but non-static so that we can stub it out for tests.protected LocatedBlocksDFSInputStream.getLocatedBlocks()DistributedFileSystem.getLocatedBlocks(org.apache.hadoop.fs.Path p, long start, long len) Returns LocatedBlocks of the corresponding HDFS file p from offset start for length len.Methods in org.apache.hadoop.hdfs with parameters of type LocatedBlocksModifier and TypeMethodDescriptionstatic org.apache.hadoop.fs.BlockLocation[]DFSUtilClient.locatedBlocks2Locations(LocatedBlocks blocks) Convert a LocatedBlocks to BlockLocations[]voidDFSClient.removeNodeFromDeadNodeDetector(DFSInputStream dfsInputStream, LocatedBlocks locatedBlocks) Remove datanodes that given block placed on from DeadNodeDetector. -
Uses of LocatedBlocks in org.apache.hadoop.hdfs.protocol
Methods in org.apache.hadoop.hdfs.protocol that return LocatedBlocksModifier and TypeMethodDescriptionClientProtocol.getBlockLocations(String src, long offset, long length) Get locations of the blocks of the specified file within the specified range.HdfsLocatedFileStatus.getLocatedBlocks()Get block locations for this entity, in HDFS format.Methods in org.apache.hadoop.hdfs.protocol with parameters of type LocatedBlocksModifier and TypeMethodDescriptionHdfsFileStatus.Builder.locations(LocatedBlocks locations) Set the block locations for this entity (default = null). -
Uses of LocatedBlocks in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB that return LocatedBlocksModifier and TypeMethodDescriptionstatic LocatedBlocksPBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProto lb) ClientNamenodeProtocolTranslatorPB.getBlockLocations(String src, long offset, long length) Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type LocatedBlocksModifier and TypeMethodDescriptionstatic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.LocatedBlocksProtoPBHelperClient.convert(LocatedBlocks lb)