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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1-win
    • 1-win
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: