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

DFS Always Reports 0 Bytes Used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1
    • 0.8.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: