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

FSImage.doUpgrade() was made too fault-tolerant by HDFS-1826

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0, 0.23.0
    • 0.23.0
    • namenode
    • None
    • Reviewed

    Description

      Prior to HDFS-1826, doUpgrade() would fail if any of the storage directories failed to successfully write the new fsimage or edits files.
      Now it appears to "succeed" even if some or all of the individual directories fail.

      There is some discussion about whether doUpgrade() should have some fault tolerance, but for now make it fail on any single storage directory failure, as before.

      Attachments

        1. hdfs-1955_1.patch
          8 kB
          Matthew Foley
        2. hdfs-1955_1.patch
          8 kB
          Matthew Foley
        3. hdfs-1955_2.patch
          8 kB
          Matthew Foley

        Issue Links

          Activity

            People

              mattf Matthew Foley
              mattf Matthew Foley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: