Uses of Class
org.apache.hadoop.hdfs.server.federation.router.ConnectionContext
Packages that use ConnectionContext
Package
Description
The router package includes the core services for a HDFS federation router.
-
Uses of ConnectionContext in org.apache.hadoop.hdfs.server.federation.router
Methods in org.apache.hadoop.hdfs.server.federation.router that return ConnectionContextModifier and TypeMethodDescriptionConnectionManager.getConnection(org.apache.hadoop.security.UserGroupInformation ugi, String nnAddress, Class<?> protocol, String nsId) Fetches the next available proxy client in the pool.protected ConnectionContextConnectionPool.getConnection()Return the next connection round-robin.protected ConnectionContextRouterRpcClient.getConnection(org.apache.hadoop.security.UserGroupInformation ugi, String nsId, String rpcAddress, Class<?> proto) Get ClientProtocol proxy client for a NameNode.ConnectionPool.newConnection()Create a new proxy wrapper for a client NN connection.protected static <T> ConnectionContextConnectionPool.newConnection(org.apache.hadoop.conf.Configuration conf, String nnAddress, org.apache.hadoop.security.UserGroupInformation ugi, Class<T> proto, boolean enableMultiSocket, int socketIndex, org.apache.hadoop.ipc.AlignmentContext alignmentContext) Creates a proxy wrapper for a client NN connection.Methods in org.apache.hadoop.hdfs.server.federation.router that return types with arguments of type ConnectionContextModifier and TypeMethodDescriptionConnectionPool.removeConnections(int num) Remove connections from the current pool.Methods in org.apache.hadoop.hdfs.server.federation.router with parameters of type ConnectionContextModifier and TypeMethodDescriptionvoidConnectionPool.addConnection(ConnectionContext conn) Add a connection to the current pool.