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

Check storage ID uniqueness on datanode startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.2
    • 2.8.0, 3.0.0-alpha1
    • datanode
    • None
    • Reviewed

    Description

      We should fix this to check storage ID uniqueness on datanode startup. If someone has manually edited the storage ID files, or if they have duplicated a directory (or re-added an old disk) they could end up with a duplicate storage ID and not realize it.

      The HDFS-7575 fix does generate storage UUID for each storage, but not checks the uniqueness of these UUIDs.

      Attachments

        1. HDFS-9715.03.patch
          10 kB
          Lei (Eddy) Xu
        2. HDFS-9715.02.patch
          6 kB
          Lei (Eddy) Xu
        3. HDFS-9715.01.patch
          6 kB
          Lei (Eddy) Xu
        4. HDFS-9715.00.patch
          5 kB
          Lei (Eddy) Xu

        Activity

          People

            eddyxu Lei (Eddy) Xu
            eddyxu Lei (Eddy) Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: