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

When storageID of dfs.data.dir of being inconsistent, restart datanode will be failure.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • datanode
    • None
    • namenode datanode

    Description

      A datanode has multiple storage directories configured using dfs.data.dir. When the storageID in the VERSION files in these directories, the datanode fails to startup. Consider a scenario, when old data in a storage directory is not cleared, the storage ID from it will not match with storage ID of in other storage storage directories. In this situation, the DataNode will quit and restart fails.

      Attachments

        1. VERSION-1
          0.2 kB
          liuyang
        2. VERSION-2
          0.2 kB
          liuyang
        3. hadoop-root-datanode-167-52-0-55.log
          80 kB
          liuyang

        Activity

          People

            Unassigned Unassigned
            liuyang@huawei liuyang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: