FAQ
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: name-node
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedApr 7, '10 at 7:28a
activeApr 7, '10 at 7:28a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Kurt Huwig (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase