Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-599

DFS Always Reports 0 Bytes Used

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu

      Description

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

        Attachments

        1. dfs-report-3.patch
          11 kB
          Raghu Angadi

          Activity

            People

            • Assignee:
              rangadi Raghu Angadi
              Reporter:
              albert.chern Albert Chern
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: