| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.protocol.datatransfer.sasl |
| Modifier and Type | Class | Description |
|---|---|---|
class |
DFSClient |
DFSClient can connect to a Hadoop Filesystem and
perform basic file tasks.
|
| Modifier and Type | Method | Description |
|---|---|---|
static IOStreamPair |
DFSUtilClient.connectToDN(DatanodeInfo dn,
int timeout,
org.apache.hadoop.conf.Configuration conf,
SaslDataTransferClient saslClient,
javax.net.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.
|
static Peer |
DFSUtilClient.peerFromSocketAndKey(SaslDataTransferClient saslClient,
java.net.Socket s,
DataEncryptionKeyFactory keyFactory,
org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken,
DatanodeID datanodeId,
int socketTimeoutMs) |
| Modifier and Type | Method | Description |
|---|---|---|
IOStreamPair |
SaslDataTransferClient.newSocketSend(java.net.Socket socket,
java.io.OutputStream underlyingOut,
java.io.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(java.net.Socket socket,
java.io.OutputStream underlyingOut,
java.io.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(java.net.Socket socket,
java.io.OutputStream underlyingOut,
java.io.InputStream underlyingIn,
DataEncryptionKeyFactory encryptionKeyFactory,
org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken,
DatanodeID datanodeId,
javax.crypto.SecretKey secretKey) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.