FederationRPCPerformanceMonitorpublic interface RouterRpcMonitor
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close the monitor.
|
FederationRPCMetrics |
getRPCMetrics() |
Get Router RPC metrics info.
|
void |
init(org.apache.hadoop.conf.Configuration conf,
RouterRpcServer server,
StateStoreService store) |
Initialize the monitor.
|
long |
proxyOp() |
Start proxying an operation to the Namenode.
|
void |
proxyOpComplete(boolean success,
java.lang.String nsId,
FederationNamenodeServiceState state) |
Mark a proxy operation as completed.
|
void |
proxyOpFailureClientOverloaded() |
Failed to proxy an operation to a Namenode because the client was
overloaded.
|
void |
proxyOpFailureCommunicate(java.lang.String nsId) |
Failed to proxy an operation to a namenode because of an unexpected exception.
|
void |
proxyOpFailureStandby(java.lang.String nsId) |
Failed to proxy an operation to a namenode because it was in standby.
|
void |
proxyOpNoNamenodes(java.lang.String nsId) |
Failed to proxy an operation because of no namenodes available.
|
void |
proxyOpNotImplemented() |
Failed to proxy an operation because it is not implemented.
|
void |
proxyOpPermitAccepted(java.lang.String nsId) |
Accepted to proxy an operation to a namenode.
|
void |
proxyOpPermitRejected(java.lang.String nsId) |
Rejected to proxy an operation to a namenode.
|
void |
proxyOpRetries() |
Retry to proxy an operation to a Namenode because of an unexpected
exception.
|
void |
routerFailureLocked() |
If a path is locked.
|
void |
routerFailureReadOnly() |
If a path is in a read only mount point.
|
void |
routerFailureSafemode() |
If the Router is in safe mode.
|
void |
routerFailureStateStore() |
If the Router cannot contact the State Store in an operation.
|
void |
startOp() |
Start processing an operation on the Router.
|
void init(org.apache.hadoop.conf.Configuration conf,
RouterRpcServer server,
StateStoreService store)
conf - Configuration for the monitor.server - RPC server.store - State Store.FederationRPCMetrics getRPCMetrics()
void close()
void startOp()
long proxyOp()
void proxyOpComplete(boolean success,
java.lang.String nsId,
FederationNamenodeServiceState state)
success - if the operation was successful.nsId - nameservice id.state - namenode state in the federation.void proxyOpFailureStandby(java.lang.String nsId)
nsId - nameservice id.void proxyOpFailureCommunicate(java.lang.String nsId)
nsId - nameservice id.void proxyOpPermitRejected(java.lang.String nsId)
nsId - nameservice id.void proxyOpPermitAccepted(java.lang.String nsId)
nsId - nameservice id.void proxyOpFailureClientOverloaded()
void proxyOpNotImplemented()
void proxyOpRetries()
void proxyOpNoNamenodes(java.lang.String nsId)
nsId - nameservice id.void routerFailureStateStore()
void routerFailureSafemode()
void routerFailureLocked()
void routerFailureReadOnly()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.