Uses of Class
org.apache.hadoop.hdfs.protocol.LocatedBlock

Packages that use LocatedBlock
org.apache.hadoop.hdfs A distributed implementation of FileSystem
org.apache.hadoop.hdfs.protocol   
org.apache.hadoop.hdfs.server.common   
org.apache.hadoop.hdfs.server.namenode   
org.apache.hadoop.hdfs.server.protocol   
 

Uses of LocatedBlock in org.apache.hadoop.hdfs
 

Methods in org.apache.hadoop.hdfs with parameters of type LocatedBlock
 void DFSClient.reportBadBlocks(LocatedBlock[] blocks)
          Report corrupt blocks that were discovered by the client.
 

Uses of LocatedBlock in org.apache.hadoop.hdfs.protocol
 

Methods in org.apache.hadoop.hdfs.protocol that return LocatedBlock
 LocatedBlock ClientProtocol.addBlock(String src, String clientName, Block previous, DatanodeInfo[] excludedNodes)
          A client that wants to write an additional block to the indicated filename (which must currently be open for writing) should call addBlock().
 LocatedBlock ClientProtocol.append(String src, String clientName)
          Append to the end of the file.
 LocatedBlock LocatedBlocks.get(int index)
          Get located block.
 LocatedBlock LocatedBlocks.getLastLocatedBlock()
          Get the last located block.
static LocatedBlock LocatedBlock.read(DataInput in)
          Read LocatedBlock from in.
 LocatedBlock ClientProtocol.updateBlockForPipeline(Block block, String clientName)
          Get a new generation stamp together with an access token for a block under construction This method is called only when a client needs to recover a failed pipeline or set up a pipeline for appending to a block.
 

Methods in org.apache.hadoop.hdfs.protocol that return types with arguments of type LocatedBlock
 List<LocatedBlock> LocatedBlocks.getLocatedBlocks()
          Get located blocks.
 

Methods in org.apache.hadoop.hdfs.protocol with parameters of type LocatedBlock
 void ClientProtocol.reportBadBlocks(LocatedBlock[] blocks)
          The client wants to report corrupted blocks (blocks with specified locations on datanodes).
 

Method parameters in org.apache.hadoop.hdfs.protocol with type arguments of type LocatedBlock
 void LocatedBlocks.insertRange(int blockIdx, List<LocatedBlock> newBlocks)
           
 

Constructors in org.apache.hadoop.hdfs.protocol with parameters of type LocatedBlock
LocatedBlocks(long flength, boolean isUnderConstuction, List<LocatedBlock> blks, LocatedBlock lastBlock, boolean isLastBlockCompleted)
          public Constructor
 

Constructor parameters in org.apache.hadoop.hdfs.protocol with type arguments of type LocatedBlock
LocatedBlocks(long flength, boolean isUnderConstuction, List<LocatedBlock> blks, LocatedBlock lastBlock, boolean isLastBlockCompleted)
          public Constructor
 

Uses of LocatedBlock in org.apache.hadoop.hdfs.server.common
 

Methods in org.apache.hadoop.hdfs.server.common with parameters of type LocatedBlock
static DatanodeInfo JspHelper.bestNode(LocatedBlock blk)
           
 

Uses of LocatedBlock in org.apache.hadoop.hdfs.server.namenode
 

Methods in org.apache.hadoop.hdfs.server.namenode that return LocatedBlock
 LocatedBlock NameNode.addBlock(String src, String clientName, Block previous, DatanodeInfo[] excludedNodes)
           
 LocatedBlock NameNode.append(String src, String clientName)
          Append to the end of the file.
 LocatedBlock FSNamesystem.getAdditionalBlock(String src, String clientName, Block previous, HashMap<org.apache.hadoop.net.Node,org.apache.hadoop.net.Node> excludedNodes)
          The client would like to obtain an additional block for the indicated filename (which is being written-to).
 LocatedBlock NameNode.updateBlockForPipeline(Block block, String clientName)
          Get a new generation stamp together with an access token for a block under construction This method is called only when a client needs to recover a failed pipeline or set up a pipeline for appending to a block.
 

Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type LocatedBlock
 void NameNode.reportBadBlocks(LocatedBlock[] blocks)
          The client has detected an error on the specified located blocks and is reporting them to the server.
abstract  int BlockPlacementPolicy.verifyBlockPlacement(String srcPath, LocatedBlock lBlk, int minRacks)
          Verify that the block is replicated on at least minRacks different racks if there is more than minRacks rack in the system.
 int BlockPlacementPolicyDefault.verifyBlockPlacement(String srcPath, LocatedBlock lBlk, int minRacks)
          Verify that the block is replicated on at least minRacks different racks if there is more than minRacks rack in the system.
 

Uses of LocatedBlock in org.apache.hadoop.hdfs.server.protocol
 

Subclasses of LocatedBlock in org.apache.hadoop.hdfs.server.protocol
static class BlockRecoveryCommand.RecoveringBlock
          This is a block with locations from which it should be recovered and the new generation stamp, which the block will have after successful recovery.
 

Methods in org.apache.hadoop.hdfs.server.protocol with parameters of type LocatedBlock
 void DatanodeProtocol.reportBadBlocks(LocatedBlock[] blocks)
          same as ClientProtocol.reportBadBlocks(LocatedBlock[]) }
 



Copyright © 2009 The Apache Software Foundation