| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.federation.metrics |
Report metrics for Router-based Federation.
|
| org.apache.hadoop.hdfs.server.federation.resolver |
The resolver package contains indepedent data resolvers used in HDFS
federation.
|
| org.apache.hadoop.hdfs.server.federation.router |
The router package includes the core services for a HDFS federation router.
|
| org.apache.hadoop.hdfs.server.federation.store.protocol |
Contains the abstract definitions of the API request and response objects for
the various state store APIs.
|
| org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb |
Protobuf implementations of FederationProtocolBase request/response objects
used by state store APIs.
|
| org.apache.hadoop.hdfs.server.federation.store.records |
Contains the abstract definitions of the state store data records.
|
| org.apache.hadoop.hdfs.server.federation.store.records.impl.pb |
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FederationRPCMetrics.addProxyTime(long time,
FederationNamenodeServiceState state) |
Add the time to proxy an operation from the moment the Router sends it to
the Namenode until it replied.
|
void |
FederationRPCPerformanceMonitor.proxyOpComplete(boolean success,
java.lang.String nsId,
FederationNamenodeServiceState state) |
| Modifier and Type | Method | Description |
|---|---|---|
FederationNamenodeServiceState |
FederationNamenodeContext.getState() |
The current state of the namenode (active, standby, etc).
|
static FederationNamenodeServiceState |
FederationNamenodeServiceState.getState(org.apache.hadoop.ha.HAServiceProtocol.HAServiceState state) |
|
FederationNamenodeServiceState |
NamenodeStatusReport.getState() |
Get the state of the Namenode being monitored.
|
static FederationNamenodeServiceState |
FederationNamenodeServiceState.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FederationNamenodeServiceState[] |
FederationNamenodeServiceState.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
RouterRpcMonitor.proxyOpComplete(boolean success,
java.lang.String nsId,
FederationNamenodeServiceState state) |
Mark a proxy operation as completed.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract FederationNamenodeServiceState |
UpdateNamenodeRegistrationRequest.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
static UpdateNamenodeRegistrationRequest |
UpdateNamenodeRegistrationRequest.newInstance(java.lang.String nameserviceId,
java.lang.String namenodeId,
FederationNamenodeServiceState state) |
|
abstract void |
UpdateNamenodeRegistrationRequest.setState(FederationNamenodeServiceState state) |
| Modifier and Type | Method | Description |
|---|---|---|
FederationNamenodeServiceState |
UpdateNamenodeRegistrationRequestPBImpl.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
UpdateNamenodeRegistrationRequestPBImpl.setState(FederationNamenodeServiceState state) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract FederationNamenodeServiceState |
MembershipState.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
static MembershipState |
MembershipState.newInstance(java.lang.String router,
java.lang.String nameservice,
java.lang.String namenode,
java.lang.String clusterId,
java.lang.String blockPoolId,
java.lang.String rpcAddress,
java.lang.String serviceAddress,
java.lang.String lifelineAddress,
java.lang.String webScheme,
java.lang.String webAddress,
FederationNamenodeServiceState state,
boolean safemode) |
Create a new membership instance.
|
void |
MembershipState.overrideState(FederationNamenodeServiceState newState) |
Overrides the cached getBlockPoolId() with an update.
|
abstract void |
MembershipState.setState(FederationNamenodeServiceState state) |
| Modifier and Type | Method | Description |
|---|---|---|
FederationNamenodeServiceState |
MembershipStatePBImpl.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MembershipStatePBImpl.setState(FederationNamenodeServiceState state) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.