Uses of Class
org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier

Packages that use BlockTokenIdentifier
org.apache.hadoop.hdfs A distributed implementation of FileSystem
org.apache.hadoop.hdfs.protocol   
org.apache.hadoop.hdfs.security.token.block   
org.apache.hadoop.hdfs.server.common   
 

Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs
 

Method parameters in org.apache.hadoop.hdfs with type arguments of type BlockTokenIdentifier
protected  BlockReader DFSInputStream.getBlockReader(InetSocketAddress dnAddr, String file, Block block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, int bufferSize, boolean verifyChecksum, String clientName)
          Retrieve a BlockReader suitable for reading.
static BlockReader BlockReader.newBlockReader(Socket sock, String file, Block block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, int bufferSize)
           
static BlockReader BlockReader.newBlockReader(Socket sock, String file, Block block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, int bufferSize, boolean verifyChecksum)
          Java Doc required
static BlockReader BlockReader.newBlockReader(Socket sock, String file, Block block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, int bufferSize, boolean verifyChecksum, String clientName)
          Create a new BlockReader specifically to satisfy a read.
 

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

Methods in org.apache.hadoop.hdfs.protocol that return types with arguments of type BlockTokenIdentifier
 org.apache.hadoop.security.token.Token<BlockTokenIdentifier> LocatedBlock.getBlockToken()
           
 

Method parameters in org.apache.hadoop.hdfs.protocol with type arguments of type BlockTokenIdentifier
protected abstract  void DataTransferProtocol.Receiver.opBlockChecksum(DataInputStream in, Block blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Abstract OP_BLOCK_CHECKSUM method.
static void DataTransferProtocol.Sender.opBlockChecksum(DataOutputStream out, Block blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Send OP_BLOCK_CHECKSUM
protected abstract  void DataTransferProtocol.Receiver.opCopyBlock(DataInputStream in, Block blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Abstract OP_COPY_BLOCK method.
static void DataTransferProtocol.Sender.opCopyBlock(DataOutputStream out, Block blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Send OP_COPY_BLOCK
protected abstract  void DataTransferProtocol.Receiver.opReadBlock(DataInputStream in, Block blk, long offset, long length, String client, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Abstract OP_READ_BLOCK method.
static void DataTransferProtocol.Sender.opReadBlock(DataOutputStream out, Block blk, long blockOffset, long blockLen, String clientName, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Send OP_READ_BLOCK
protected abstract  void DataTransferProtocol.Receiver.opReplaceBlock(DataInputStream in, Block blk, String sourceId, DatanodeInfo src, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Abstract OP_REPLACE_BLOCK method.
static void DataTransferProtocol.Sender.opReplaceBlock(DataOutputStream out, Block blk, String storageId, DatanodeInfo src, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Send OP_REPLACE_BLOCK
protected abstract  void DataTransferProtocol.Receiver.opWriteBlock(DataInputStream in, Block blk, int pipelineSize, DataTransferProtocol.BlockConstructionStage stage, long newGs, long minBytesRcvd, long maxBytesRcvd, String client, DatanodeInfo src, DatanodeInfo[] targets, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Abstract OP_WRITE_BLOCK method.
static void DataTransferProtocol.Sender.opWriteBlock(DataOutputStream out, Block blk, int pipelineSize, DataTransferProtocol.BlockConstructionStage stage, long newGs, long minBytesRcvd, long maxBytesRcvd, String client, DatanodeInfo src, DatanodeInfo[] targets, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)
          Send OP_WRITE_BLOCK
 void LocatedBlock.setBlockToken(org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token)
           
 

Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.security.token.block
 

Fields in org.apache.hadoop.hdfs.security.token.block with type parameters of type BlockTokenIdentifier
static org.apache.hadoop.security.token.Token<BlockTokenIdentifier> BlockTokenSecretManager.DUMMY_TOKEN
           
 

Methods in org.apache.hadoop.hdfs.security.token.block that return BlockTokenIdentifier
 BlockTokenIdentifier BlockTokenSecretManager.createIdentifier()
          Create an empty block token identifier
 

Methods in org.apache.hadoop.hdfs.security.token.block that return types with arguments of type BlockTokenIdentifier
 org.apache.hadoop.security.token.Token<BlockTokenIdentifier> BlockTokenSecretManager.generateToken(Block block, EnumSet<BlockTokenSecretManager.AccessMode> modes)
          Generate an block token for current user
 org.apache.hadoop.security.token.Token<BlockTokenIdentifier> BlockTokenSecretManager.generateToken(String userId, Block block, EnumSet<BlockTokenSecretManager.AccessMode> modes)
          Generate a block token for a specified user
 org.apache.hadoop.security.token.Token<BlockTokenIdentifier> BlockTokenSelector.selectToken(org.apache.hadoop.io.Text service, Collection<org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier>> tokens)
           
 

Methods in org.apache.hadoop.hdfs.security.token.block with parameters of type BlockTokenIdentifier
 void BlockTokenSecretManager.checkAccess(BlockTokenIdentifier id, String userId, Block block, BlockTokenSecretManager.AccessMode mode)
          Check if access should be allowed.
protected  byte[] BlockTokenSecretManager.createPassword(BlockTokenIdentifier identifier)
          Create a new password/secret for the given block token identifier.
 byte[] BlockTokenSecretManager.retrievePassword(BlockTokenIdentifier identifier)
          Look up the token password/secret for the given block token identifier.
 

Method parameters in org.apache.hadoop.hdfs.security.token.block with type arguments of type BlockTokenIdentifier
 void BlockTokenSecretManager.checkAccess(org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token, String userId, Block block, BlockTokenSecretManager.AccessMode mode)
          Check if access should be allowed.
 

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

Method parameters in org.apache.hadoop.hdfs.server.common with type arguments of type BlockTokenIdentifier
static void JspHelper.streamBlockInAscii(InetSocketAddress addr, long blockId, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long genStamp, long blockSize, long offsetIntoBlock, long chunkSizeToView, javax.servlet.jsp.JspWriter out, org.apache.hadoop.conf.Configuration conf)
           
 



Copyright © 2009 The Apache Software Foundation