[ http://issues.apache.org/jira/browse/HADOOP-599?page=all ]

Sameer Paranjpye reopened HADOOP-599:
-------------------------------------

             

> 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());

-- 
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

        

Reply via email to