hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-599) DFS Always Reports 0 Bytes Used
Date Fri, 27 Oct 2006 23:11:18 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-599?page=all ]

Raghu Angadi updated HADOOP-599:
--------------------------------

    Attachment: dfs-report.patch


dfs-report.patch

Resubmitting the patch with proper paths etc. This fixes 'dfs -report'.


> 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: dfs-report.patch
>
>
> 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

        

Mime
View raw message