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

TestDFSShell.testGet sporadically fails attempting to corrupt block files due to race condition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestDFSShell.testGet attempts to simulate corruption of block files in order to test hadoop fs -get with the -ignoreCrc option. It is possible that the data node's DataXceiver thread has not yet closed the block file. This causes a locking violation on Windows, so the test fails.

        Attachments

        1. HDFS-4065-branch-1-win.patch
          5 kB
          Chris Nauroth

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: