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

fsck move should bail on a file if it can't create a block file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • namenode
    • None

    Description

      NamenodeFsck#lostFoundMove, when it fails to create a file for a block continues on to the next block (There's a comment "perhaps we should bail out here..." but it doesn't). It should instead fail the move for that particular file (unwind the directory creation and not delete the original file). Otherwise a transient failure speaking to the NN means this block is lost forever.

      Attachments

        1. HDFS-3045.001.patch
          5 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              eli2 Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: