Uses of Class
org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo

Packages that use BlockInfo
org.apache.hadoop.hdfs.server.blockmanagement   
org.apache.hadoop.hdfs.server.namenode   
 

Uses of BlockInfo in org.apache.hadoop.hdfs.server.blockmanagement
 

Subclasses of BlockInfo in org.apache.hadoop.hdfs.server.blockmanagement
 class BlockInfoUnderConstruction
          Represents a block that is currently being constructed.
This is usually the last block of a file opened for write or append.
 

Methods in org.apache.hadoop.hdfs.server.blockmanagement that return BlockInfo
 BlockInfo BlockInfo.listInsert(BlockInfo head, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
          Insert this block into the head of the list of blocks related to the specified DatanodeDescriptor.
 BlockInfo BlockInfo.listRemove(BlockInfo head, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
          Remove this block from the list of blocks related to the specified DatanodeDescriptor.
 BlockInfo DatanodeDescriptor.BlockIterator.next()
           
 

Methods in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type BlockInfo
 BlockInfo BlockInfo.listInsert(BlockInfo head, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
          Insert this block into the head of the list of blocks related to the specified DatanodeDescriptor.
 BlockInfo BlockInfo.listRemove(BlockInfo head, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
          Remove this block from the list of blocks related to the specified DatanodeDescriptor.
 

Constructors in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type BlockInfo
BlockInfo(BlockInfo from)
          Copy construction.
 

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

Fields in org.apache.hadoop.hdfs.server.namenode declared as BlockInfo
protected  BlockInfo[] INodeFile.blocks
           
 

Methods in org.apache.hadoop.hdfs.server.namenode with type parameters of type BlockInfo
<T extends BlockInfo>
T
INodeFile.getLastBlock()
          Get the last block of the file.
 

Methods in org.apache.hadoop.hdfs.server.namenode that return BlockInfo
 BlockInfo[] INodeFile.getBlocks()
          Get file blocks
 

Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type BlockInfo
 void INodeFile.setBlock(int idx, BlockInfo blk)
          Set file block
 BlockInfoUnderConstruction INodeFileUnderConstruction.setLastBlock(BlockInfo lastBlock, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor[] targets)
          Convert the last block of the file to an under-construction block.
 

Constructors in org.apache.hadoop.hdfs.server.namenode with parameters of type BlockInfo
INodeFile(org.apache.hadoop.fs.permission.PermissionStatus permissions, BlockInfo[] blklist, short replication, long modificationTime, long atime, long preferredBlockSize)
           
 



Copyright © 2013 Apache Software Foundation. All Rights Reserved.