Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1073 Simpler model for Namenode's fs Image and edit Logs
  3. HDFS-2173

saveNamespace should not throw IOE when only one storage directory fails to write VERSION file

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Edit log branch (HDFS-1073), 0.23.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      This JIRA tracks a TODO in TestSaveNamespace. Currently, if, while writing the VERSION files in the storage directories, one of the directories fails, the entire operation throws IOE. This is unnecessary – instead, just that directory should be marked as failed.

      This is targeted to be fixed after HDFS-1073 is merged to trunk, since it does not ever dataloss, and would rarely occur in practice (the dir would have to fail between writing the fsimage file and writing VERSION)

        Attachments

        1. HDFS-2173.04.patch
          4 kB
          Andras Bokor
        2. HDFS-2173.03.patch
          4 kB
          Andras Bokor
        3. HDFS-2173.02.patch
          4 kB
          Andras Bokor
        4. HDFS-2173.02.patch
          4 kB
          Andrew Wang
        5. HDFS-2173.01.patch
          3 kB
          Andras Bokor

          Issue Links

            Activity

              People

              • Assignee:
                boky01 Andras Bokor
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: