Stephen O'Donnell created HDDS-4867:
---------------------------------------
Summary: Ozone admin datanode list should report dead and stale
nodes
Key: HDDS-4867
URL: https://issues.apache.org/jira/browse/HDDS-4867
Project: Apache Ozone
Issue Type: Improvement
Components: SCM
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
In ListInfoSubcommand, the logic explicitly only displays HEALTHY nodes:
{code}
private List<DatanodeWithAttributes> getAllNodes(ScmClient scmClient)
throws IOException {
List<HddsProtos.Node> nodes = scmClient.queryNode(null,
HddsProtos.NodeState.HEALTHY, HddsProtos.QueryScope.CLUSTER, "");
...
{code}
I believe we should include stale and dead nodes in the the output too.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]