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

If there are multiple edit logs with the same fstime, Recovery Mode should load a different one than the normal loading process

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.2.0
    • None
    • None
    • None

    Description

      If there are multiple edit logs with the same fstime, Recovery Mode should load a different one than the normal loading process. This will protect against many common kinds of corruption which affect only one edit log directory. For example, most I/O errors would fall into this category.

      This improvement is not necessary in branch-2 and later branches because in those branches, we have edit log failover (See HDFS-3049). However, this is an extremely simple and useful thing we can do to make Recovery Mode more helpful in branch-1.

      Attachments

        1. HDFS-3947-b1.001.patch
          9 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: