Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13231

Extend visualization for Decommissioning, Maintenance Mode under Datanode tab in the NameNode UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: datanode, namenode
    • Labels:
      None
    • Target Version/s:

      Description

      With HDFS-9391, table view is using css dynamic class name to match the state

      hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html
      <td ng-value="{state}-{name}" class="dfshealth-node-icon dfshealth-node-{state}">{name} ({xferaddr})</td>
      

      Some css is missing when the datanode is going to

      hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
                if (n.adminState === "In Service") {
                  n.state = "alive";
                } else if (nodes[i].adminState === "Decommission In Progress") {
                  n.state = "decommissioning";
                } else if (nodes[i].adminState === "Decommissioned") {
                  n.state = "decommissioned";
                } else if (nodes[i].adminState === "Entering Maintenance") {
                  n.state = "entering-maintenance";
                } else if (nodes[i].adminState === "In Maintenance") {
                  n.state = "in-maintenance";
                }
      

      dfshealth-node-decommissioning, dfshealth-node-entering-maintenance, dfshealth-node-in-maintenance should be added into hadoop.css

        Attachments

        1. trunk_icons.png
          33 kB
          Stephen O'Donnell
        2. decommissioning_node.png
          127 kB
          Stephen O'Donnell
        3. option2_with_legend_split.png
          133 kB
          Stephen O'Donnell
        4. option_2_with_colours_aligned.png
          156 kB
          Stephen O'Donnell
        5. HDFS-13231.001.patch
          2 kB
          Stephen O'Donnell

          Issue Links

            Activity

              People

              • Assignee:
                sodonnell Stephen O'Donnell
                Reporter:
                billyean Haibo Yan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: