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

TestDatanodeStartupFixesLegacyStorageIDs fails on Windows due to failure to unpack old image tarball that contains hard links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • test
    • None

    Description

      TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22via26FixesStorageIDs uses a checked-in DataNode data directory that contains hard links. The hard links cannot be handled correctly by the commons-compress library used in the Windows implementation of FileUtil#unTar. The result is that the unpacked block files have 0 length, the block files reported to the NameNode are invalid, and therefore the mini-cluster never gets enough good blocks reported to leave safe mode.

      Attachments

        1. HDFS-9138.001.patch
          7 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: