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

    Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Edit log branch (HDFS-1073), 0.23.0
    • Fix Version/s: 0.24.0
    • Component/s: None
    • Labels:
      None

      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)

        Issue Links

          Activity

          Hide
          Eli Collins added a comment -

          Should this be a separate issue? It's not related to 1073 right?

          Show
          Eli Collins added a comment - Should this be a separate issue? It's not related to 1073 right?
          Hide
          Todd Lipcon added a comment -

          I made it a subtask since the bug is in code which has been mostly rewritten in the branch. So, if it got fixed in trunk before 1073 was merged, we'd just have to re-fix it.

          Show
          Todd Lipcon added a comment - I made it a subtask since the bug is in code which has been mostly rewritten in the branch. So, if it got fixed in trunk before 1073 was merged, we'd just have to re-fix it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development