Uses of Class org.apache.hadoop.hdfs.protocol.DatanodeID (Apache Hadoop HDFS Client 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.protocol, class: DatanodeID

# Uses of Class
org.apache.hadoop.hdfs.protocol.DatanodeID

Packages that use DatanodeID
Package
Description
org.apache.hadoop.hdfs
org.apache.hadoop.hdfs.client.impl
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.hdfs.protocol
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.hdfs.protocol.datatransfer.sasl
org.apache.hadoop.hdfs.protocolPB

- ## Uses of DatanodeID in org.apache.hadoop.hdfs

  Methods in org.apache.hadoop.hdfs with parameters of type DatanodeID
  Modifier and Type
  Method
  Description
  `static ClientDatanodeProtocol`
  DFSUtilClient.`createClientDatanodeProtocolProxy(DatanodeID datanodeid, org.apache.hadoop.conf.Configuration conf, int socketTimeout, boolean connectToDnViaHostname)`
  Create `ClientDatanodeProtocol` proxy using kerberos ticket
  `static ClientDatanodeProtocol`
  DFSUtilClient.`createClientDatanodeProtocolProxy(DatanodeID datanodeid, org.apache.hadoop.conf.Configuration conf, int socketTimeout, boolean connectToDnViaHostname, LocatedBlock locatedBlock)`
  Create a `ClientDatanodeProtocol` proxy
  `Peer`
  PeerCache.`get(DatanodeID dnId, boolean isDomain)`
  Get a cached peer connected to the given DataNode.
  `Peer`
  DFSClient.`newConnectedPeer(InetSocketAddress addr, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId)`
  `Peer`
  RemotePeerFactory.`newConnectedPeer(InetSocketAddress addr, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId)`
  `static Peer`
  DFSUtilClient.`peerFromSocketAndKey(SaslDataTransferClient saslClient, Socket s, DataEncryptionKeyFactory keyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, DatanodeID datanodeId, int socketTimeoutMs)`
  `void`
  PeerCache.`put(DatanodeID dnId, Peer peer)`
  Give an unused socket to the cache.

- ## Uses of DatanodeID in org.apache.hadoop.hdfs.client.impl

  Methods in org.apache.hadoop.hdfs.client.impl with parameters of type DatanodeID
  Modifier and Type
  Method
  Description
  `static BlockReader`
  BlockReaderRemote.`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.
  Constructors in org.apache.hadoop.hdfs.client.impl with parameters of type DatanodeID
  Modifier
  Constructor
  Description
  `protected`
  `BlockReaderRemote(String file, long blockId, org.apache.hadoop.util.DataChecksum checksum, boolean verifyChecksum, long startOffset, long firstChunkOffset, long bytesToRead, Peer peer, DatanodeID datanodeID, PeerCache peerCache, int networkDistance)`

- ## Uses of DatanodeID in org.apache.hadoop.hdfs.protocol

  Subclasses of DatanodeID in org.apache.hadoop.hdfs.protocol
  Modifier and Type
  Class
  Description
  `class`
  `DatanodeInfo`
  This class extends the primary identifier of a Datanode with ephemeral state, eg usage information, current administrative state, and the network location that is communicated to clients.
  `class`
  `DatanodeInfoWithStorage`
  Fields in org.apache.hadoop.hdfs.protocol declared as DatanodeID
  Modifier and Type
  Field
  Description
  `static final DatanodeID[]`
  DatanodeID.`EMPTY_ARRAY`
  `static final DatanodeID`
  DatanodeID.`EMPTY_DATANODE_ID`
  Methods in org.apache.hadoop.hdfs.protocol with parameters of type DatanodeID
  Modifier and Type
  Method
  Description
  `int`
  DatanodeID.`compareTo(DatanodeID that)`
  Compare based on data transfer address.
  `DatanodeInfo.DatanodeInfoBuilder`
  DatanodeInfo.DatanodeInfoBuilder.`setNodeID(DatanodeID nodeID)`
  `void`
  ClientProtocol.`updatePipeline(String clientName, ExtendedBlock oldBlock, ExtendedBlock newBlock, DatanodeID[] newNodes, String[] newStorageIDs)`
  Update a pipeline for a block under construction.
  `void`
  DatanodeID.`updateRegInfo(DatanodeID nodeReg)`
  Update fields when a new registration request comes in.
  Constructors in org.apache.hadoop.hdfs.protocol with parameters of type DatanodeID
  Modifier
  Constructor
  Description
  ``
  `DatanodeID(String datanodeUuid, DatanodeID from)`
  ``
  `DatanodeID(DatanodeID from)`
  `protected`
  `DatanodeInfo(DatanodeID nodeID)`
  `protected`
  `DatanodeInfo(DatanodeID nodeID, String location)`

- ## Uses of DatanodeID in org.apache.hadoop.hdfs.protocol.datatransfer.sasl

  Methods in org.apache.hadoop.hdfs.protocol.datatransfer.sasl with parameters of type DatanodeID
  Modifier and Type
  Method
  Description
  `IOStreamPair`
  SaslDataTransferClient.`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.
  `Peer`
  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.
  `IOStreamPair`
  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.
  `IOStreamPair`
  SaslDataTransferClient.`socketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId, SecretKey secretKey)`

- ## Uses of DatanodeID in org.apache.hadoop.hdfs.protocolPB

  Methods in org.apache.hadoop.hdfs.protocolPB that return DatanodeID
  Modifier and Type
  Method
  Description
  `static DatanodeID`
  PBHelperClient.`convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto dn)`
  `static DatanodeID[]`
  PBHelperClient.`convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[] did)`
  Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type DatanodeID
  Modifier and Type
  Method
  Description
  `static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto`
  PBHelperClient.`convert(DatanodeID dn)`
  `static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeIDProto[]`
  PBHelperClient.`convert(DatanodeID[] did)`
  `void`
  ClientNamenodeProtocolTranslatorPB.`updatePipeline(String clientName, ExtendedBlock oldBlock, ExtendedBlock newBlock, DatanodeID[] newNodes, String[] storageIDs)`
  Constructors in org.apache.hadoop.hdfs.protocolPB with parameters of type DatanodeID
  Modifier
  Constructor
  Description
  ``
  `ClientDatanodeProtocolTranslatorPB(DatanodeID datanodeid, org.apache.hadoop.conf.Configuration conf, int socketTimeout, boolean connectToDnViaHostname)`
  Constructor.
  ``
  `ClientDatanodeProtocolTranslatorPB(DatanodeID datanodeid, org.apache.hadoop.conf.Configuration conf, int socketTimeout, boolean connectToDnViaHostname, LocatedBlock locatedBlock)`