[
https://issues.apache.org/jira/browse/HDFS-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved HDFS-1086.
------------------------------------
Resolution: Incomplete
UI has change a lot since this jira. Closing as stale.
> Percentage bar in dfsnodelist.jsp shows wrong values
> ----------------------------------------------------
>
> Key: HDFS-1086
> URL: https://issues.apache.org/jira/browse/HDFS-1086
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 0.20.2
> Reporter: Kurt Huwig
>
> dfsnodelist.jsp shows a bar for each node which indicated how much of the
> filesystem is used. The HTML code is
> <table border="1px" width="100px"><tr><td cellspacing="0" class="perc_filled"
> width="2%"></td><td cellspacing="0" class="perc_nonfilled"
> width="98%"></td></tr>
> The corresponding CSS in /static/hadoop.css reads like this:
> div#dfsnodetable td, div#dfsnodetable th, div#dfstable td {
> padding-left : 10px;
> padding-right : 10px;
> }
> This padding results in wrong bars, as the 10 pixels are added to the bar
> which I verified with firebug.
> The proper fix would be to use an enclosing div for the bar, so that the
> style for the rest of the table - which needs the padding - does not apply to
> the bars.
--
This message was sent by Atlassian JIRA
(v6.2#6252)