Uses of Class
org.apache.hadoop.hdfs.security.token.block.BlockTokenIdentifier
Packages that use BlockTokenIdentifier
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs
Fields in org.apache.hadoop.hdfs with type parameters of type BlockTokenIdentifierModifier and TypeFieldDescriptionprotected org.apache.hadoop.security.token.Token<BlockTokenIdentifier>DataStreamer.accessTokenMethod parameters in org.apache.hadoop.hdfs with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionprotected IOStreamPairDFSClient.connectToDN(DatanodeInfo dn, int timeout, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken) static IOStreamPairDFSUtilClient.connectToDN(DatanodeInfo dn, int timeout, org.apache.hadoop.conf.Configuration conf, SaslDataTransferClient saslClient, SocketFactory socketFactory, boolean connectToDnViaHostname, DataEncryptionKeyFactory dekFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken) Connect to the given datanode's datantrasfer port, and return the resulting IOStreamPair.DFSClient.newConnectedPeer(InetSocketAddress addr, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId) RemotePeerFactory.newConnectedPeer(InetSocketAddress addr, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId) static PeerDFSUtilClient.peerFromSocketAndKey(SaslDataTransferClient saslClient, Socket s, DataEncryptionKeyFactory keyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId, int socketTimeoutMs) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.client.impl
Method parameters in org.apache.hadoop.hdfs.client.impl with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionstatic BlockReaderBlockReaderRemote.newBlockReader(String file, ExtendedBlock block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, boolean verifyChecksum, String clientName, Peer peer, DatanodeID datanodeID, PeerCache peerCache, CachingStrategy cachingStrategy, int networkDistance, org.apache.hadoop.conf.Configuration configuration) Create a new BlockReader specifically to satisfy a read.BlockReaderFactory.setBlockToken(org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.protocol
Methods in org.apache.hadoop.hdfs.protocol that return types with arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionorg.apache.hadoop.security.token.Token<BlockTokenIdentifier>LocatedBlock.getBlockToken()org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[]LocatedStripedBlock.getBlockTokens()org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[]StripedBlockInfo.getBlockTokens()Method parameters in org.apache.hadoop.hdfs.protocol with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionClientDatanodeProtocol.getBlockLocalPathInfo(ExtendedBlock block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token) Retrieves the path names of the block file and metadata file stored on the local file system.voidLocatedBlock.setBlockToken(org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.protocol.datatransfer
Method parameters in org.apache.hadoop.hdfs.protocol.datatransfer with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionvoidDataTransferProtocol.blockChecksum(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, BlockChecksumOptions blockChecksumOptions) Get block checksum (MD5 of CRC32).voidSender.blockChecksum(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, BlockChecksumOptions blockChecksumOptions) voidDataTransferProtocol.blockGroupChecksum(StripedBlockInfo stripedBlockInfo, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long requestedNumBytes, BlockChecksumOptions blockChecksumOptions) Get striped block group checksum (MD5 of CRC32).voidSender.blockGroupChecksum(StripedBlockInfo stripedBlockInfo, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long requestedNumBytes, BlockChecksumOptions blockChecksumOptions) voidDataTransferProtocol.copyBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken) Copy a block.voidSender.copyBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken) voidDataTransferProtocol.readBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, long blockOffset, long length, boolean sendChecksum, CachingStrategy cachingStrategy) Read a block.voidSender.readBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, long blockOffset, long length, boolean sendChecksum, CachingStrategy cachingStrategy) voidDataTransferProtocol.replaceBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String delHint, DatanodeInfo source, String storageId) Receive a block from a source datanode and then notifies the namenode to remove the copy from the original datanode.voidSender.replaceBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String delHint, DatanodeInfo source, String storageId) voidDataTransferProtocol.requestShortCircuitFds(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, ShortCircuitShm.SlotId slotId, int maxVersion, boolean supportsReceiptVerification) Request short circuit access file descriptors from a DataNode.voidSender.requestShortCircuitFds(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, ShortCircuitShm.SlotId slotId, int maxVersion, boolean supportsReceiptVerification) voidDataTransferProtocol.transferBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, String[] targetStorageIDs) Transfer a block to another datanode.voidSender.transferBlock(ExtendedBlock blk, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, String[] targetStorageIds) voidDataTransferProtocol.writeBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, DatanodeInfo source, BlockConstructionStage stage, int pipelineSize, long minBytesRcvd, long maxBytesRcvd, long latestGenerationStamp, org.apache.hadoop.util.DataChecksum requestedChecksum, CachingStrategy cachingStrategy, boolean allowLazyPersist, boolean pinning, boolean[] targetPinnings, String storageID, String[] targetStorageIDs) Write a block to a datanode pipeline.voidSender.writeBlock(ExtendedBlock blk, org.apache.hadoop.fs.StorageType storageType, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, String clientName, DatanodeInfo[] targets, org.apache.hadoop.fs.StorageType[] targetStorageTypes, DatanodeInfo source, BlockConstructionStage stage, int pipelineSize, long minBytesRcvd, long maxBytesRcvd, long latestGenerationStamp, org.apache.hadoop.util.DataChecksum requestedChecksum, CachingStrategy cachingStrategy, boolean allowLazyPersist, boolean pinning, boolean[] targetPinnings, String storageId, String[] targetStorageIds) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.protocol.datatransfer.sasl
Method parameters in org.apache.hadoop.hdfs.protocol.datatransfer.sasl with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionSaslDataTransferClient.newSocketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId) Sends client SASL negotiation for a newly allocated socket if required.SaslDataTransferClient.peerSend(Peer peer, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId) Sends client SASL negotiation for a peer if required.SaslDataTransferClient.socketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId) Sends client SASL negotiation for a socket if required.SaslDataTransferClient.socketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId, SecretKey secretKey) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB that return types with arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionstatic org.apache.hadoop.security.token.Token<BlockTokenIdentifier>PBHelperClient.convert(org.apache.hadoop.security.proto.SecurityProtos.TokenProto blockToken) static org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[]PBHelperClient.convertTokens(List<org.apache.hadoop.security.proto.SecurityProtos.TokenProto> tokenProtos) Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type BlockTokenIdentifierModifier and TypeMethodDescriptionstatic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockTokenSecretProtoPBHelperClient.convert(BlockTokenIdentifier blockTokenSecret) Method parameters in org.apache.hadoop.hdfs.protocolPB with type arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionClientDatanodeProtocolTranslatorPB.getBlockLocalPathInfo(ExtendedBlock block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> token) -
Uses of BlockTokenIdentifier in org.apache.hadoop.hdfs.security.token.block
Methods in org.apache.hadoop.hdfs.security.token.block that return types with arguments of type BlockTokenIdentifierModifier and TypeMethodDescriptionorg.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)