Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3424

TestDatanodeBlockScanner and TestReplication fail intermittently on Windows

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          21d 8h 33m 1 Sanjay Radia 06/Jun/12 02:55
          Sanjay Radia made changes -
          Target Version/s HADOOP-1-Windows [ 12320362 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Sanjay Radia added a comment -

          Committed to windows branch. Thanks Bikas

          Show
          Sanjay Radia added a comment - Committed to windows branch. Thanks Bikas
          Bikas Saha made changes -
          Link This issue is part of HADOOP-8079 [ HADOOP-8079 ]
          Bikas Saha made changes -
          Attachment HDFS-3424.branch-1-win.patch [ 12527471 ]
          Hide
          Bikas Saha added a comment -

          Attaching fix.

          Show
          Bikas Saha added a comment - Attaching fix.
          Bikas Saha made changes -
          Field Original Value New Value
          Project Hadoop Map/Reduce [ 12310941 ] Hadoop HDFS [ 12310942 ]
          Key MAPREDUCE-4259 HDFS-3424
          Affects Version/s 1.0.0 [ 12318243 ]
          Affects Version/s 1.0.0 [ 12318240 ]
          Bikas Saha created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development