hadoop dfs -report information is incorrect
-------------------------------------------
Key: HADOOP-493
URL: http://issues.apache.org/jira/browse/HADOOP-493
Project: Hadoop
Issue Type: Bug
Reporter: Yoram Arnon
Priority: Minor
The information presented by hadoop dfs -report is incorrect.
In the following example, the total raw bytes are correct, the used raw bytes
are incorrect and should actually be on the order of 138TB.
The total effective bytes is correct, and the actual replication factor is
really a healthy 3.
[EMAIL PROTECTED]:build:942>hadoop dfs 2> /dev/null -report | head
Total raw bytes: 240761579888640 (224226.69 Gb)
Used raw bytes: 35934229005360 (33466.35 Gb)
% used: 14.92%
Total effective bytes: 47093545108964 (43859.28 Gb)
Effective replication multiplier: 0.7630393703047027
-------------------------------------------------
In the following example again the total raw bytes and total effective bytes
are correct, but the used raw bytes, % used and effective replication are a tad
off the mark.
hadoop dfs 2> /dev/null -report | head
Total raw bytes: 236476179599360 (220235.60 Gb)
Used raw bytes: -22028236104431 (-2.15 k)
% used: -9.31%
Total effective bytes: 55609049637201 (51789.96 Gb)
Effective replication multiplier: -0.39612682194976206
-------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira