Did this patch get committed? As a matter of policy, we don't close any
bugs until the patches submitted against them are committed.
Also, if the issue is closed, there is no way for Doug to tell that he
needs to commit the patch.
Raghu Angadi (JIRA) wrote:
[ http://issues.apache.org/jira/browse/HADOOP-599?page=all ]
Raghu Angadi resolved HADOOP-599.
---------------------------------
Resolution: Fixed
DFS Always Reports 0 Bytes Used
-------------------------------
Key: HADOOP-599
URL: http://issues.apache.org/jira/browse/HADOOP-599
Project: Hadoop
Issue Type: Bug
Components: dfs
Affects Versions: 0.6.0, 0.7.0, 0.6.1, 0.6.2, 0.7.1
Environment: Ubuntu
Reporter: Albert Chern
Assigned To: Raghu Angadi
Priority: Minor
Attachments: patch.1, patch.2
Ever since 0.6 our DFS cluster has been reporting that it is empty, even though
it's not. We seem to have resolved the issue by changing line 296 of
org.apache.hadoop.dfs.FSDataset from:
Long remaining = new Long(volumes[idx].getCapacity();
to:
Long remaining = new Long(volumes[idx].getAvailable());