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

TestDatanodeBlockScanner and TestReplication fail intermittently on Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      The tests change the block length to corrupt the data block. If the block file is opened by the datanode then the test can concurrently modify it on Linux but such concurrent modification is not allowed by the default permissions on Windows. Since this is more of a test issue, the fix would be to have the tests make sure that the block is not open concurrently.

        Issue Links

          Activity

          Hide
          bikassaha Bikas Saha added a comment -

          Attaching fix.

          Show
          bikassaha Bikas Saha added a comment - Attaching fix.
          Hide
          sanjay.radia Sanjay Radia added a comment -

          Committed to windows branch. Thanks Bikas

          Show
          sanjay.radia Sanjay Radia added a comment - Committed to windows branch. Thanks Bikas

            People

            • Assignee:
              bikassaha Bikas Saha
              Reporter:
              bikassaha Bikas Saha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development