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

Andrew Wang commented on HDFS-10534:
------------------------------------

Note that if we're adding another dependency, it needs to be added to LICENSE 
and NOTICE. We already have a copy of d3 in hadoop-sls, so this shouldn't be 
too bad. I'd also prefer that we use the minified version, and put the version 
in the filename.

If we wanted to drop the d3 dependency, I think we could calculate the 
histogram ourselves and render it as a table. My preference is to keep the 
webUI lean if possible. It might be that bootstrap, jquery, or dust (our 
existing dependencies) also have nice ways of making a histogram.

> NameNode WebUI should display DataNode usage histogram
> ------------------------------------------------------
>
>                 Key: HDFS-10534
>                 URL: https://issues.apache.org/jira/browse/HDFS-10534
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode, ui
>            Reporter: Zhe Zhang
>            Assignee: Kai Sasaki
>         Attachments: HDFS-10534.01.patch, HDFS-10534.02.patch, 
> HDFS-10534.03.patch, HDFS-10534.04.patch, HDFS-10534.05.patch, 
> HDFS-10534.06.patch, HDFS-10534.07.patch, Screen Shot 2016-06-23 at 6.25.50 
> AM.png, Screen Shot 2016-07-07 at 23.29.14.png
>
>
> In addition of *Min/Median/Max*, another meaningful metric for cluster 
> balance is DN usage in histogram style.
> Since NN already has provided necessary information to calculate histogram of 
> DN usage, it can be done in JS side.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to