Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-788

Datanode behaves badly when one disk is very low on space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • datanode
    • None

    Description

      FSDataset.getNextVolume() uses FSVolume.getAvailable() to determine whether to allocate a block on a volume. This doesn't factor in other in-flight blocks that have been "promised" space on the volume. The resulting issue is that, if a volume is nearly full but not full, multiple blocks will be allocated on that volume, and then they will all hit "Out of space" errors during the write.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: