| Class | Description |
|---|---|
| AbstractRouterRpcFairnessPolicyController |
Base fairness policy that implements @RouterRpcFairnessPolicyController.
|
| ActiveNamenodeResolver |
Locates the most active NN for a given nameservice ID or blockpool ID.
|
| AddMountAttributes |
Add mount entry attributes to be used by Router admin.
|
| AddMountTableEntriesRequest |
API request for adding all mount table entries to the state store.
|
| AddMountTableEntriesRequestPBImpl |
Protobuf implementation of the state store API object addMountTableEntriesRequest.
|
| AddMountTableEntriesResponse |
API response for adding multiple mount table entries to the state store.
|
| AddMountTableEntriesResponsePBImpl |
Protobuf implementation of the state store API object addMountTableEntriesResponse.
|
| AddMountTableEntryRequest |
API request for adding a mount table entry to the state store.
|
| AddMountTableEntryRequestPBImpl |
Protobuf implementation of the state store API object
AddMountTableEntryRequest.
|
| AddMountTableEntryResponse |
API response for adding a mount table entry to the state store.
|
| AddMountTableEntryResponsePBImpl |
Protobuf implementation of the state store API object
AddMountTableEntryResponse.
|
| AvailableSpaceResolver |
Order the destinations based on available space.
|
| BaseRecord |
Abstract base of a data record in the StateStore.
|
| CachedRecordStore<R extends BaseRecord> |
Record store that takes care of caching the records in memory.
|
| ConnectionContext |
Context to track a connection in a
ConnectionPool. |
| ConnectionManager |
Implements a pool of connections for the
Router to be able to open
many connections to many Namenodes. |
| ConnectionNullException |
Exception when can not get a non-null connection.
|
| ConnectionPool |
Maintains a pool of connections for each User (including tokens) + NN.
|
| ConnectionPoolId |
Identifier for a connection for a user to a namenode.
|
| ConsistentHashRing |
Consistent hash ring to distribute items across nodes (locations).
|
| DestinationOrder |
Order of the destinations when we have multiple of them.
|
| DFSRouter |
Tool to start the
Router for Router-based federation. |
| DisabledNameservice |
Data record indicating a specific name service ID has been disabled and
is no longer valid.
|
| DisabledNameservicePBImpl |
Protobuf implementation of the
DisabledNameservice record. |
| DisabledNameserviceStore |
State store record to track disabled name services.
|
| DisabledNameserviceStoreImpl |
Implementation of
DisabledNameserviceStore. |
| DisableNameserviceRequest |
API request for disabling a name service and updating its state in the
State Store.
|
| DisableNameserviceRequestPBImpl |
Protobuf implementation of the state store API object
DisableNameserviceRequest.
|
| DisableNameserviceResponse |
API response for disabling a name service and updating its state in the
State Store.
|
| DisableNameserviceResponsePBImpl |
Protobuf implementation of the state store API object
DisableNameserviceResponse. |
| DistributedSQLCounter |
Distributed counter that relies on a SQL database to synchronize
between multiple clients.
|
| EnableNameserviceRequest |
API request for enabling a name service and updating its state in the
State Store.
|
| EnableNameserviceRequestPBImpl |
Protobuf implementation of the state store API object
EnableNameserviceRequest.
|
| EnableNameserviceResponse |
API response for enabling a name service and updating its state in the
State Store.
|
| EnableNameserviceResponsePBImpl |
Protobuf implementation of the state store API object
EnableNameserviceResponse.
|
| EnterSafeModeRequest |
API request for the Router entering safe mode state and updating
its state in State Store.
|
| EnterSafeModeRequestPBImpl |
Protobuf implementation of the state store API object
EnterSafeModeRequest.
|
| EnterSafeModeResponse |
API response for the Router entering safe mode state and updating
its state in State Store.
|
| EnterSafeModeResponsePBImpl |
Protobuf implementation of the state store API object
EnterSafeModeResponse.
|
| ErasureCoding |
Module that implements all the RPC calls in
ClientProtocol related to
Erasure Coding in the RouterRpcServer. |
| FederationConnectionId | |
| FederationMBean |
JMX interface for the federation statistics.
|
| FederationNamenodeContext |
Interface for a discovered NN and its current server endpoints.
|
| FederationNamenodeServiceState |
Namenode state in the federation.
|
| FederationNamespaceInfo |
Represents information about a single nameservice/namespace in a federated
HDFS cluster.
|
| FederationProtocolPBTranslator<P extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3,B extends org.apache.hadoop.thirdparty.protobuf.Message.Builder,T extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder> |
Helper class for setting/getting data elements in an object backed by a
protobuf implementation.
|
| FederationRPCMBean |
JMX interface for the RPC server.
|
| FederationRPCMetrics |
Implementation of the RPC metrics collector.
|
| FederationRPCPerformanceMonitor |
Customizable RPC performance monitor.
|
| FederationUtil |
Utilities for managing HDFS federation.
|
| FileSubclusterResolver |
Interface to map a file path in the global name space to a specific
subcluster and path in an HDFS name space.
|
| GetDestinationRequest |
API request for getting the destination subcluster of a file.
|
| GetDestinationRequestPBImpl |
Protobuf implementation of the state store API object
GetDestinationRequest.
|
| GetDestinationResponse |
API response for getting the destination subcluster of a file.
|
| GetDestinationResponsePBImpl |
Protobuf implementation of the state store API object
GetDestinationResponse.
|
| GetDisabledNameservicesRequest |
API request for getting the disabled name services.
|
| GetDisabledNameservicesRequestPBImpl |
Protobuf implementation of the state store API object
GetDisabledNameservicesRequest.
|
| GetDisabledNameservicesResponse |
API response for getting the disabled nameservices in the state store.
|
| GetDisabledNameservicesResponsePBImpl |
Protobuf implementation of the state store API object
GetDisabledNameservicesResponse.
|
| GetMountTableEntriesRequest |
API request for listing mount table entries present in the state store.
|
| GetMountTableEntriesRequestPBImpl |
Protobuf implementation of the state store API object
GetMountTableEntriesRequest.
|
| GetMountTableEntriesResponse |
API response for listing mount table entries present in the state store.
|
| GetMountTableEntriesResponsePBImpl |
Protobuf implementation of the state store API object
GetMountTableEntriesResponse.
|
| GetNamenodeRegistrationsRequest |
API request for listing namenode registrations present in the state store.
|
| GetNamenodeRegistrationsRequestPBImpl |
Protobuf implementation of the state store API object
GetNamenodeRegistrationsRequest.
|
| GetNamenodeRegistrationsResponse |
API response for listing namenode registrations present in the state store.
|
| GetNamenodeRegistrationsResponsePBImpl |
Protobuf implementation of the state store API object
GetNamenodeRegistrationsResponse.
|
| GetNamespaceInfoRequest |
API response for listing HDFS namespaces present in the state store.
|
| GetNamespaceInfoRequestPBImpl |
Protobuf implementation of the state store API object
GetNamespaceInfoRequest.
|
| GetNamespaceInfoResponse |
API response for listing HDFS namespaces present in the state store.
|
| GetNamespaceInfoResponsePBImpl |
Protobuf implementation of the state store API object
GetNamespaceInfoResponse.
|
| GetRouterRegistrationRequest |
API request for retrieving a single router registration present in the state
store.
|
| GetRouterRegistrationRequestPBImpl |
Protobuf implementation of the state store API object
GetRouterRegistrationRequest.
|
| GetRouterRegistrationResponse |
API response for retrieving a single router registration present in the state
store.
|
| GetRouterRegistrationResponsePBImpl |
Protobuf implementation of the state store API object
GetRouterRegistrationResponse.
|
| GetRouterRegistrationsRequest |
API request for retrieving an all non-expired router registrations present in
the state store.
|
| GetRouterRegistrationsRequestPBImpl |
Protobuf implementation of the state store API object
GetRouterRegistrationsRequest.
|
| GetRouterRegistrationsResponse |
API response for retrieving a all non-expired router registrations present in
the state store.
|
| GetRouterRegistrationsResponsePBImpl |
Protobuf implementation of the state store API object
GetRouterRegistrationsResponse.
|
| GetSafeModeRequest |
API request for verifying if current Router state is safe mode.
|
| GetSafeModeRequestPBImpl |
Protobuf implementation of the state store API object
GetSafeModeRequest.
|
| GetSafeModeResponse |
API response for verifying if current Router state is safe mode.
|
| GetSafeModeResponsePBImpl |
Protobuf implementation of the state store API object
GetSafeModeResponse.
|
| HashFirstResolver |
Variation of HashResolver that only uses the first level of the path.
|
| HashResolver |
Order the destinations based on consistent hashing.
|
| IsRouterActiveServlet |
Detect if the Router is active and ready to serve requests.
|
| LeaveSafeModeRequest |
API request for the Router leaving safe mode state and updating
its state in State Store.
|
| LeaveSafeModeRequestPBImpl |
Protobuf implementation of the state store API object
LeaveSafeModeRequest.
|
| LeaveSafeModeResponse |
API response for the Router leaving safe mode state and updating
its state in State Store.
|
| LeaveSafeModeResponsePBImpl |
Protobuf implementation of the state store API object
LeaveSafeModeResponse.
|
| LocalResolver |
The local subcluster (where the writer is) should be tried first.
|
| MembershipNamenodeResolver |
Implements a cached lookup of the most recently active namenode for a
particular nameservice.
|
| MembershipState |
Data schema for storing NN registration information in the
StateStoreService. |
| MembershipStatePBImpl |
Protobuf implementation of the MembershipState record.
|
| MembershipStats |
Data schema for storing NN stats in the
StateStoreService. |
| MembershipStatsPBImpl |
Protobuf implementation of the MembershipStats record.
|
| MembershipStore |
Management API for NameNode registrations stored in
MembershipState records. |
| MembershipStoreImpl |
Implementation of the
MembershipStore State Store API. |
| MountTable |
Data schema for
MountTableStore data stored in the StateStoreService. |
| MountTableManager |
Manage a mount table.
|
| MountTablePBImpl |
Protobuf implementation of the MountTable record.
|
| MountTableProcedure |
Update mount table.
|
| MountTableRefresherService |
This service is invoked from
MountTableStore when there is change in
mount table entries and it updates mount table entry cache on local router as
well as on all remote routers. |
| MountTableRefresherThread |
Base class for updating mount table cache on all the router.
|
| MountTableResolver |
Mount table to map between global paths and remote locations.
|
| MountTableStore |
Management API for the HDFS mount table information stored in
MountTable records. |
| MountTableStoreImpl |
Implementation of the
MountTableStore state store API. |
| MultipleDestinationMountTableResolver |
Mount table resolver that supports multiple locations for each mount entry.
|
| NamenodeBeanMetrics |
Expose the Namenode metrics as the Router was one.
|
| NamenodeHeartbeatRequest |
API request for registering a namenode with the state store.
|
| NamenodeHeartbeatRequestPBImpl |
Protobuf implementation of the state store API object
NamenodeHeartbeatRequest.
|
| NamenodeHeartbeatResponse |
API response for registering a namenode with the state store.
|
| NamenodeHeartbeatResponsePBImpl |
Protobuf implementation of the state store API object
NamenodeHeartbeatResponse.
|
| NamenodeHeartbeatService |
The
Router periodically checks the state of a Namenode (usually on
the same server) and reports their high availability (HA) state and
load/space status to the
StateStoreService
. |
| NamenodePriorityComparator |
Compares NNs in the same namespace and prioritizes by their status.
|
| NamenodeStatusReport |
Status of the namenode.
|
| NameserviceManager |
Interface for enable/disable name service.
|
| NameserviceRPCMBean |
JMX interface for the RPC server of Nameservice.
|
| NameserviceRPCMetrics |
Implementation of the Nameservice RPC metrics collector.
|
| NoLocationException |
This exception is thrown when can not get any mount point for the input path.
|
| NoNamenodesAvailableException |
Exception when no namenodes are available.
|
| NoRouterRpcFairnessPolicyController |
A pass through fairness policy that implements
RouterRpcFairnessPolicyController and allows any number
of handlers to connect to any specific downstream name service. |
| NullStateStoreMetrics |
Implementation of the State Store metrics which does not do anything.
|
| OrderedResolver |
Policy that decides which should be the first location accessed given
multiple destinations.
|
| PathLocation |
A map of the properties and target destinations (name space + path) for
a path in the global/federated name space.
|
| PBRecord |
A record implementation using Protobuf.
|
| PeriodicService |
Service to periodically execute a runnable.
|
| PoolAlignmentContext |
An alignment context shared by all connections in a
ConnectionPool. |
| Query<T extends BaseRecord> |
Check if a record matches a query.
|
| QueryResult<T extends BaseRecord> |
Encapsulates a state store query result that includes a set of records and a
time stamp for the result.
|
| Quota |
Module that implements the quota relevant RPC calls
ClientProtocol.setQuota(String, long, long, StorageType)
and
ClientProtocol.getQuotaUsage(String)
in the RouterRpcServer. |
| RandomResolver |
Order the destinations randomly.
|
| RBFConfigKeys |
Config fields for router-based hdfs federation.
|
| RBFMetrics |
Implementation of the Router metrics collector.
|
| RecordStore<R extends BaseRecord> |
Store records in the State Store.
|
| RefreshFairnessPolicyControllerHandler | |
| RefreshMountTableEntriesRequest |
API request for refreshing mount table cached entries from state store.
|
| RefreshMountTableEntriesRequestPBImpl |
Protobuf implementation of the state store API object
RefreshMountTableEntriesRequest.
|
| RefreshMountTableEntriesResponse |
API response for refreshing mount table entries cache from state store.
|
| RefreshMountTableEntriesResponsePBImpl |
Protobuf implementation of the state store API object
RefreshMountTableEntriesResponse.
|
| RefreshSuperUserGroupsConfigurationRequest |
API request for refreshing super user groups on router.
|
| RefreshSuperUserGroupsConfigurationRequestPBImpl |
Protobuf implementation of the state store API object
RefreshSuperUserGroupsConfigurationRequest.
|
| RefreshSuperUserGroupsConfigurationResponse |
API response for refreshing super user groups on router.
|
| RefreshSuperUserGroupsConfigurationResponsePBImpl |
Protobuf implementation of the state store API object
RefreshSuperUserGroupsConfigurationResponse.
|
| RemoteLocation |
A location in a remote namespace consisting of a nameservice ID and a HDFS
path (destination).
|
| RemoteLocationContext |
Base class for objects that are unique to a namespace.
|
| RemoteMethod |
Determines the remote client protocol method and the parameter list for a
specific location.
|
| RemoteParam |
A dynamically assignable parameter that is location-specific.
|
| RemoteResult<T extends RemoteLocationContext,R> |
Result from a remote location.
|
| RemoveMountTableEntryRequest |
API request for removing a mount table path present in the state store.
|
| RemoveMountTableEntryRequestPBImpl |
Protobuf implementation of the state store API object
RemoveMountTableEntryRequest.
|
| RemoveMountTableEntryResponse |
API response for removing a mount table path present in the state store.
|
| RemoveMountTableEntryResponsePBImpl |
Protobuf implementation of the state store API object
RemoveMountTableEntryResponse.
|
| Router |
Router that provides a unified view of multiple federated HDFS clusters.
|
| RouterAdmin |
This class provides some Federation administrative access shell commands.
|
| RouterAdminProtocol |
Protocol used by routeradmin to communicate with statestore.
|
| RouterAdminProtocolPB |
Protocol that a clients use to communicate with the NameNode.
|
| RouterAdminProtocolServerSideTranslatorPB |
This class is used on the server side.
|
| RouterAdminProtocolTranslatorPB |
This class forwards RouterAdminProtocol calls as RPC calls to the RouterAdmin server
while translating from the parameter types used in RouterAdminProtocol to the
new PB types.
|
| RouterAdminServer |
This class is responsible for handling all the Admin calls to the HDFS
router.
|
| RouterCacheAdmin |
Module that implements all the RPC calls in
ClientProtocol related to Cache Admin
in the RouterRpcServer. |
| RouterClient |
Client to connect to the
Router via the admin protocol. |
| RouterClientMetrics |
This class is for maintaining the various Router Client activity statistics
and publishing them through the metrics interfaces.
|
| RouterClientProtocol |
Module that implements all the RPC calls in
ClientProtocol in the
RouterRpcServer. |
| RouterDistCpProcedure |
Copy data through distcp in router-based federation cluster.
|
| RouterFedBalance |
Balance data in router-based federation cluster.
|
| RouterFederationRename |
Rename across router federation namespaces based on federation balance.
|
| RouterFederationRename.RouterRenameOption | |
| RouterFsck |
Wrapper for the Router to offer the Namenode FSCK.
|
| RouterFsckServlet |
This class is used in Namesystem's web server to do fsck on namenode.
|
| RouterGenericManager |
Generic methods for managing Router.
|
| RouterHeartbeatRequest |
API request for registering a router with the state store.
|
| RouterHeartbeatRequestPBImpl |
Protobuf implementation of the state store API object
RouterHeartbeatRequest.
|
| RouterHeartbeatResponse |
API response for registering a router with the state store.
|
| RouterHeartbeatResponsePBImpl |
Protobuf implementation of the state store API object
RouterHeartbeatResponse.
|
| RouterHeartbeatService |
Service to periodically update the Router current state in the State Store.
|
| RouterHttpServer |
Web interface for the
Router. |
| RouterMBean |
JMX interface for the router specific metrics.
|
| RouterMetrics |
This class is for maintaining the various Router activity statistics
and publishing them through the metrics interfaces.
|
| RouterMetricsService |
Service to manage the metrics of the Router.
|
| RouterNamenodeProtocol |
Module that implements all the RPC calls in
NamenodeProtocol in the
RouterRpcServer. |
| RouterNetworkTopologyServlet |
A servlet to print out the network topology from router.
|
| RouterPermissionChecker |
Class that helps in checking permissions in Router-based federation.
|
| RouterPolicyProvider |
HDFSPolicyProvider for RBF protocols. |
| RouterQuotaManager |
Router quota manager in Router.
|
| RouterQuotaUpdateService |
Service to periodically update the
RouterQuotaUsage
cached information in the Router. |
| RouterQuotaUsage |
The subclass of
QuotaUsage used in Router-based federation. |
| RouterQuotaUsage.Builder |
Build the instance based on the builder.
|
| RouterResolveException |
Thrown by FileSubclusterResolver when a path can't be resolved.
|
| RouterResolver<K,V> |
The order resolver that depends upon the Router service.
|
| RouterRpcClient |
A client proxy for Router to NN communication using the NN ClientProtocol.
|
| RouterRpcFairnessConstants | |
| RouterRpcFairnessPolicyController |
Interface to define handlers assignment for specific name services.
|
| RouterRpcMonitor |
Metrics and monitoring interface for the router RPC server.
|
| RouterRpcServer |
This class is responsible for handling all of the RPC calls to the It is
created, started, and stopped by
Router. |
| RouterSafemodeService |
Service to periodically check if the
StateStoreService cached information in the Router is up to date. |
| RouterSecurityManager |
Manager to hold underlying delegation token secret manager implementations.
|
| RouterServiceState |
States of the Router.
|
| RouterSnapshot |
Module that implements all the RPC calls related to snapshots in
ClientProtocol in the RouterRpcServer. |
| RouterState |
Entry to log the state of a
Router in the
StateStoreService. |
| RouterStateManager |
Interface of managing the Router state.
|
| RouterStatePBImpl |
Protobuf implementation of the RouterState record.
|
| RouterStoragePolicy |
Module that implements all the RPC calls in
ClientProtocol related to
Storage Policy in the RouterRpcServer. |
| RouterStore |
Management API for
RouterState records in the state store. |
| RouterStoreImpl |
Implementation of the
RouterStore state store API. |
| RouterUserProtocol |
Module that implements all the RPC calls in
RefreshUserMappingsProtocol GetUserMappingsProtocol in the
RouterRpcServer. |
| RouterWebHdfsMethods |
WebHDFS Router implementation.
|
| SQLConnectionFactory |
Interface to provide SQL connections to the
SQLDelegationTokenSecretManagerImpl. |
| SQLDelegationTokenSecretManagerImpl |
An implementation of
SQLDelegationTokenSecretManager that
persists TokenIdentifiers and DelegationKeys in a SQL database. |
| SQLSecretManagerRetriableHandler |
Interface to handle retries when
SQLDelegationTokenSecretManagerImpl
throws expected errors. |
| SQLSecretManagerRetriableHandler.SQLCommand<T> | |
| SQLSecretManagerRetriableHandler.SQLCommandVoid | |
| StateStoreBaseImpl |
Base implementation of a State Store driver.
|
| StateStoreCache |
Interface for a cached copy of the State Store.
|
| StateStoreCacheUpdateService |
Service to periodically update the
StateStoreService
cached information in the
Router. |
| StateStoreConnectionMonitorService |
Service to periodically monitor the connection of the StateStore
StateStoreService data store and to re-open the connection
to the data store if required. |
| StateStoreDriver |
Driver class for an implementation of a
StateStoreService
provider. |
| StateStoreFileBaseImpl |
StateStoreDriver implementation based on files. |
| StateStoreFileImpl |
StateStoreDriver implementation based on a local file.
|
| StateStoreFileSystemImpl |
StateStoreDriver implementation based on a filesystem. |
| StateStoreMBean |
JMX interface for the State Store metrics.
|
| StateStoreMetrics |
Implementations of the JMX interface for the State Store metrics.
|
| StateStoreMySQLImpl |
StateStoreDriver implementation based on MySQL.
|
| StateStoreOperationResult |
State store operation result with list of failed records.
|
| StateStoreRecordOperations |
Operations for a driver to manage records in the State Store.
|
| StateStoreSerializableImpl |
State Store driver that stores a serialization of the records.
|
| StateStoreSerializer |
Serializer to store and retrieve data in the State Store.
|
| StateStoreSerializerPBImpl |
Protobuf implementation of the State Store serializer.
|
| StateStoreService |
A service to initialize a
StateStoreDriver and maintain the connection to the data store. |
| StateStoreUnavailableException |
Thrown when the state store is not reachable or available.
|
| StateStoreUtils |
Set of utility functions used to work with the State Store.
|
| StateStoreVersion |
Entry to track the version of the State Store data stored in the State Store
by a Router.
|
| StateStoreVersionPBImpl |
Protobuf implementation of the StateStoreVersion record.
|
| StateStoreZooKeeperImpl |
StateStoreDriver driver implementation that uses ZooKeeper as a
backend. |
| StaticRouterRpcFairnessPolicyController |
Static fairness policy extending @AbstractRouterRpcFairnessPolicyController
and fetching handlers from configuration for all available name services.
|
| SubClusterTimeoutException |
Exception when timing out waiting for the reply of a subcluster.
|
| UpdateMountTableEntryRequest |
API request for updating the destination of an existing mount point in the
state store.
|
| UpdateMountTableEntryRequestPBImpl |
Protobuf implementation of the state store API object
UpdateMountTableEntryRequest.
|
| UpdateMountTableEntryResponse |
API response for updating the destination of an existing mount point in the
state store.
|
| UpdateMountTableEntryResponsePBImpl |
Protobuf implementation of the state store API object
UpdateMountTableEntryResponse.
|
| UpdateNamenodeRegistrationRequest |
API request for overriding an existing namenode registration in the state
store.
|
| UpdateNamenodeRegistrationRequestPBImpl |
Protobuf implementation of the state store API object
OverrideNamenodeRegistrationRequest.
|
| UpdateNamenodeRegistrationResponse |
API response for overriding an existing namenode registration in the state
store.
|
| UpdateNamenodeRegistrationResponsePBImpl |
Protobuf implementation of the state store API object
OverrideNamenodeRegistrationResponse.
|
| ZKDelegationTokenSecretManagerImpl |
Zookeeper based router delegation token store implementation.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.