[
https://issues.apache.org/jira/browse/HDFS-10534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368854#comment-15368854
]
Kai Sasaki commented on HDFS-10534:
-----------------------------------
[~andrew.wang] Thanks for comment!
I prototyped a histogram rendered by table ({{table_histogram.html}}, and it
looks well.
But when we need to render dynamically, it's a little hacky and hard to
maintain because jQuery and dust does not support rendering histogram natively.
We need to maintain table rendering logic for various type of browser platforms
for future.
So I think since d3.js is already added as dependency in {{hadoop-sls}}, we can
use also it in {{hadoop-hdfs}}. And it will reduce the cost of maintenance and
the risk of missing support of browser platform.
> 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, table_histogram.html
>
>
> 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]