Uses of Enum Class
org.apache.hadoop.hdfs.server.federation.resolver.FederationNamenodeServiceState
Packages that use FederationNamenodeServiceState
Package
Description
Report metrics for Router-based Federation.
The resolver package contains indepedent data resolvers used in HDFS
federation.
The router package includes the core services for a HDFS federation router.
Contains the abstract definitions of the API request and response objects for
the various state store APIs.
Protobuf implementations of FederationProtocolBase request/response objects
used by state store APIs.
Contains the abstract definitions of the state store data records.
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
-
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.metrics
Methods in org.apache.hadoop.hdfs.server.federation.metrics with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionvoidFederationRPCMetrics.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.voidFederationRPCPerformanceMonitor.proxyOpComplete(boolean success, String nsId, FederationNamenodeServiceState state) -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.resolver
Methods in org.apache.hadoop.hdfs.server.federation.resolver that return FederationNamenodeServiceStateModifier and TypeMethodDescriptionFederationNamenodeContext.getState()The current state of the namenode (active, standby, etc).FederationNamenodeServiceState.getState(org.apache.hadoop.ha.HAServiceProtocol.HAServiceState state) NamenodeStatusReport.getState()Get the state of the Namenode being monitored.Returns the enum constant of this class with the specified name.static FederationNamenodeServiceState[]FederationNamenodeServiceState.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.router
Methods in org.apache.hadoop.hdfs.server.federation.router with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionvoidRouterRpcMonitor.proxyOpComplete(boolean success, String nsId, FederationNamenodeServiceState state) Mark a proxy operation as completed. -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.store.protocol
Methods in org.apache.hadoop.hdfs.server.federation.store.protocol that return FederationNamenodeServiceStateModifier and TypeMethodDescriptionabstract FederationNamenodeServiceStateUpdateNamenodeRegistrationRequest.getState()Methods in org.apache.hadoop.hdfs.server.federation.store.protocol with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionUpdateNamenodeRegistrationRequest.newInstance(String nameserviceId, String namenodeId, FederationNamenodeServiceState state) abstract voidUpdateNamenodeRegistrationRequest.setState(FederationNamenodeServiceState state) -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb
Methods in org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb that return FederationNamenodeServiceStateMethods in org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionvoidUpdateNamenodeRegistrationRequestPBImpl.setState(FederationNamenodeServiceState state) -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.store.records
Methods in org.apache.hadoop.hdfs.server.federation.store.records that return FederationNamenodeServiceStateModifier and TypeMethodDescriptionabstract FederationNamenodeServiceStateMembershipState.getState()Methods in org.apache.hadoop.hdfs.server.federation.store.records with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionstatic MembershipStateMembershipState.newInstance(String router, String nameservice, String namenode, String clusterId, String blockPoolId, String rpcAddress, String serviceAddress, String lifelineAddress, String webScheme, String webAddress, FederationNamenodeServiceState state, boolean safemode) Create a new membership instance.voidMembershipState.overrideState(FederationNamenodeServiceState newState) Overrides the cached getBlockPoolId() with an update.abstract voidMembershipState.setState(FederationNamenodeServiceState state) -
Uses of FederationNamenodeServiceState in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb
Methods in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb that return FederationNamenodeServiceStateMethods in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb with parameters of type FederationNamenodeServiceStateModifier and TypeMethodDescriptionvoidMembershipStatePBImpl.setState(FederationNamenodeServiceState state)