[
https://issues.apache.org/jira/browse/HDDS-7074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-7074:
-----------------------------------
Fix Version/s: 1.3.0
Resolution: Implemented
Status: Resolved (was: Patch Available)
> DN EndpointStateMachineMBean to add getType()
> ---------------------------------------------
>
> Key: HDDS-7074
> URL: https://issues.apache.org/jira/browse/HDDS-7074
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Wei-Chiu Chuang
> Assignee: Chung En Lee
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.3.0
>
>
> Current EndpointStateMachineMBean output:
> {noformat}
> "name": "Hadoop:service=HddsDatanode,name=SCMConnectionManager",
> "modelerType":
> "org.apache.hadoop.ozone.container.common.statemachine.SCMConnectionManager",
> "SCMServers": [
> {
> "addressString": "rhelnn03.ozone.local/10.12.100.63:9861",
> "lastSuccessfulHeartbeat": 0,
> "missedCount": 1,
> "state": "GETVERSION",
> "versionNumber": 1
> },
> {
> "addressString": "rhelnn01.ozone.local/10.12.100.61:9861",
> "lastSuccessfulHeartbeat": 0,
> "missedCount": 0,
> "state": "GETVERSION",
> "versionNumber": 1
> },
> {
> "addressString": "rhelnn02.ozone.local/10.12.100.62:9861",
> "lastSuccessfulHeartbeat": 0,
> "missedCount": 0,
> "state": "GETVERSION",
> "versionNumber": 1
> },
> {
> "addressString": "rhelnn04.ozone.local/10.12.100.64:9891",
> "lastSuccessfulHeartbeat": 1659383902,
> "missedCount": 0,
> "state": "HEARTBEAT",
> "versionNumber": 0
> }
> {noformat}
> We should add a new MBean interface to describe the type (SCM/Reconn) of the
> end point.
> It would also be nice to display the end point state on the DN UI. But that's
> a spearate task.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]