[
https://issues.apache.org/jira/browse/HDFS-13059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339471#comment-16339471
]
Ajay Kumar commented on HDFS-13059:
-----------------------------------
[~elgoiri], Created [HDFS-13066] to refactor bar graph related code in new js.
Addressed rest of the comments in patch v3.
[~aw] Article you shared compared pie chart with other forms of visualizations.
Writer is more critical about pie chart not conveying some additional
information (number/figures) specially when data points in hands are much more.
This is not always required. Sometimes we just want to convey relative value of
datapoints in hand. As [~elgoiri] pointed out article does see use of pie chart
useful when comparing small set of datapoints. To be more specific pie chart
are simple enough to show composition of 2-3 data points.Here we simply want to
show current composition of storage reserved for DFS. (3 data points) Tooltip
will show exact % along with its brief summary.
Writer in that article compares pie chart with other forms of visualization. In
our case we have to compare it with what we have right now. i.e
text/numeric-table, which sounds like an improvement.
a) How does one compare the pie chart from multiple clusters?
Current dust js code iterate over array of distinct nn jmx data. Although i
have not tested it for multiple cluster, this change will have same behavior as
existing code.
b) Given that there will be times when two or more of the slices of the pie
charts will be nearly the same size, what does that tell the user?
Tooltip will show exact %. Users don't have to worry until DFS free becomes too
low. Also please keep in mind this change doesn't remove any of the existing
data we already show. So if someone was referring to {{Summary}} table to see
exact values they can still do so.
c) When storage is added to a cluster, how is that reflected in the pie chart
over time?
Pie chart or even "Summary" table is rendered from jmx data. It will update as
soon as jmx data is updated.
> Add pie chart in NN UI to show storage used
> -------------------------------------------
>
> Key: HDFS-13059
> URL: https://issues.apache.org/jira/browse/HDFS-13059
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Major
> Attachments: HDFS-13059.001.patch, HDFS-13059.002.patch,
> HDFS-13059.003.patch, Screen Shot 2018-01-24 at 1.58.28 PM.png, Screen Shot
> 2018-01-24 at 1.58.33 PM.png, Screen Shot 2018-01-24 at 3.04.17 PM.png
>
>
> This jira proposes to add a pie chart in NN UI to show storage used by:
> * DFS Used (Tooltip : "Storage currently used for DFS.")
> * DFS available (Tooltip : "Storage available for DFS use.")
> * Non DFS Used (Tooltip : "Storage allocated for DFS but currently" +
> " used by Non DFS storage.")
> Tooltip will help users better understand what these terms mean.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]