[ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HADOOP-4281: ------------------------------------ Attachment: HADOOP-4281.patch All the unit tests passed. Here is the result of ant test-patch. The automated tests for this change was submitted as a part of 2816. [exec] -1 overall. [exec] +1 @author. The patch does not contain any @author tags. [exec] -1 tests included. The patch doesn't appear to include any new or modified tests. [exec] Please justify why no tests are needed for this patch. [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity. Here is the New report with the change compared to the old report ============================================================================================================================ cdev10 04:23:26 ~/hadoop-core-trunk/build/hadoop-0.20.0-dev $ bin/hadoop dfsadmin -report 08/09/27 04:23:48 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead. 08/09/27 04:23:48 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead. Upgrade for version -18 has been completed. Upgrade is not finalized. Configured Capacity: 6339239936 (5.9 GB) Present Capacity: 3782686528 (3.52 GB) DFS Remaining: 2781669184 (2.59 GB) DFS Used: 1001017344 (954.64 MB) DFS Used%: 26.46% ------------------------------------------------- Datanodes available: 1 (1 total, 0 dead) Name: 127.0.0.1:50010 Decommission Status : Normal Configured Capacity: 6339239936 (5.9 GB) Present Capacity: 3782686528 (3.52 GB) DFS Remaining: 2781669184(2.59 GB) DFS Used: 1001017344 (954.64 MB) DFS Used%: 26.46% Last contact: Sat Sep 27 04:23:46 UTC 2008 Old report ============================================================================================================================ ucdev10 04:44:22 ~/hadoop-core-trunk/build/hadoop-0.20.0-dev $ bin/hadoop dfsadmin -report 08/09/27 04:44:41 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead. 08/09/27 04:44:41 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead. Upgrade for version -18 has been completed. Upgrade is not finalized. Total raw bytes: 6339239936 (5.9 GB) Remaining raw bytes: 2781641085 (2.59 GB) Used raw bytes: 1001017344 (954.64 MB) % used: 15.79% ------------------------------------------------- Datanodes available: 1 (1 total, 0 dead) Name: 127.0.0.1:50010 Decommission Status : Normal Total raw bytes: 6339239936 (5.9 GB) Remaining raw bytes: 2781641085(2.59 GB) Used raw bytes: 1001017344 (954.64 MB) % used: 15.79% Last contact: Sat Sep 27 04:44:39 UTC 2008 ============================================================================================================================ > Capacity reported in some of the commands is not consistent with the Web UI > reported data > ----------------------------------------------------------------------------------------- > > Key: HADOOP-4281 > URL: https://issues.apache.org/jira/browse/HADOOP-4281 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.19.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Fix For: 0.20.0 > > Attachments: HADOOP-4281.patch > > > Changes submitted for 2816 changed the Web UI to report the capacity > differently. The same changes need to be applied to commands that show > namenode and datanode capacities -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.