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

Ozone admin datanode list should report dead and stale nodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: