Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4867

Ozone admin datanode list should report dead and stale nodes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: SCM

      Description

      In ListInfoSubcommand, the logic explicitly only displays HEALTHY nodes:

        private List<DatanodeWithAttributes> getAllNodes(ScmClient scmClient)
            throws IOException {
          List<HddsProtos.Node> nodes = scmClient.queryNode(null,
              HddsProtos.NodeState.HEALTHY, HddsProtos.QueryScope.CLUSTER, "");
        ...
      

      I believe we should include stale and dead nodes in the the output too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sodonnell Stephen O'Donnell
                Reporter:
                nilotpalnandi Nilotpal Nandi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: