hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen O'Donnell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13231) Extend visualization for Maintenance Mode under Datanode tab in the NameNode UI
Date Mon, 10 Jun 2019 10:04:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-13231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859888#comment-16859888
] 

Stephen O'Donnell commented on HDFS-13231:
------------------------------------------

With the suggested change, the page would like like the screenshot called "new_icons" attached.
I will post a patch for this soon. !new_icons.png! 

> Extend visualization for Maintenance Mode under Datanode tab in the NameNode UI
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-13231
>                 URL: https://issues.apache.org/jira/browse/HDFS-13231
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, namenode
>    Affects Versions: 3.0.1
>            Reporter: Haibo Yan
>            Assignee: Stephen O'Donnell
>            Priority: Major
>         Attachments: Screenshot 2019-06-10 at 10.50.32.png, new_icons.png
>
>
> With HDFS-9391, table view is using css dynamic class name to match the state
> {code:html|title=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>
> {code}
> Some css is missing when the datanode is going to 
> {code:javascript|title=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";
>           }
> {code}
> dfshealth-node-decommissioning, dfshealth-node-entering-maintenance, dfshealth-node-in-maintenance
should be added into hadoop.css



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message