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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Edit log branch (HDFS-1073), 0.23.0
    • 2.9.0, 3.0.0-alpha1
    • None
    • 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)

      Attachments

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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment