| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.federation.router |
The router package includes the core services for a HDFS federation router.
|
| Modifier and Type | Method | Description |
|---|---|---|
ConnectionContext |
ConnectionManager.getConnection(org.apache.hadoop.security.UserGroupInformation ugi,
java.lang.String nnAddress,
java.lang.Class<?> protocol,
java.lang.String nsId) |
Fetches the next available proxy client in the pool.
|
protected ConnectionContext |
ConnectionPool.getConnection() |
Return the next connection round-robin.
|
ConnectionContext |
ConnectionPool.newConnection() |
Create a new proxy wrapper for a client NN connection.
|
protected static <T> ConnectionContext |
ConnectionPool.newConnection(org.apache.hadoop.conf.Configuration conf,
java.lang.String nnAddress,
org.apache.hadoop.security.UserGroupInformation ugi,
java.lang.Class<T> proto,
boolean enableMultiSocket,
int socketIndex,
org.apache.hadoop.ipc.AlignmentContext alignmentContext) |
Creates a proxy wrapper for a client NN connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ConnectionContext> |
ConnectionPool.removeConnections(int num) |
Remove connections from the current pool.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ConnectionPool.addConnection(ConnectionContext conn) |
Add a connection to the current pool.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.