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

Improve NameNode upgrade with existing reserved paths and path components

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0-alpha1
    • Fix Version/s: 2.4.0
    • Component/s: namenode
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Right now in trunk, upgrade fails messily if the old fsimage or edits refer to a directory named ".snapshot". We should at least print a better error message (which I believe was the original intention in HDFS-4666), and Aaron T. Myers proposed automatically renaming these files and directories.

        Attachments

        1. hdfs-5709-1.patch
          31 kB
          Andrew Wang
        2. hdfs-5709-2.patch
          31 kB
          Andrew Wang
        3. hdfs-5709-3.patch
          34 kB
          Andrew Wang
        4. hdfs-5709-4.patch
          35 kB
          Andrew Wang
        5. hdfs-5709-5.patch
          32 kB
          Andrew Wang
        6. hdfs-5709-6.patch
          43 kB
          Andrew Wang
        7. hdfs-5709-7.patch
          48 kB
          Andrew Wang
        8. hdfs-5709-addendum.patch
          1 kB
          Andrew Wang

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: