Hadoop Common
  1. Hadoop Common
  2. HADOOP-5192

Block reciever should not remove a finalized block when block replication fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.3
    • Fix Version/s: 0.18.4, 0.19.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-4702 makes block receivers to remove the received block in case of a block replication failure. But the block should not be removed if the cause of the failure is that the block to be received already exists. The key is that a block receiver should allow to remove only partial blocks in case of block replication failures.

      1. 5192_20090407_0.18.patch
        5 kB
        Tsz Wo Nicholas Sze
      2. blockCleanup.patch
        5 kB
        Hairong Kuang
      3. blockCleanup1.patch
        5 kB
        Hairong Kuang
      4. blockCleanup1-br18.patch
        3 kB
        Hairong Kuang
      5. blockRemove.patch
        0.7 kB
        Hairong Kuang

        Issue Links

          Activity

          Hairong Kuang created issue -
          Hairong Kuang made changes -
          Field Original Value New Value
          Attachment blockRemove.patch [ 12399668 ]
          Raghu Angadi made changes -
          Link This issue is part of HADOOP-4702 [ HADOOP-4702 ]
          Hairong Kuang made changes -
          Attachment blockCleanup.patch [ 12399691 ]
          Hairong Kuang made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Nigel Daley made changes -
          Fix Version/s 0.19.1 [ 12313473 ]
          Hairong Kuang made changes -
          Attachment blockCleanup1.patch [ 12400063 ]
          Tsz Wo Nicholas Sze made changes -
          Hadoop Flags [Reviewed]
          Hairong Kuang made changes -
          Comment [     [exec] +1 overall.
               [exec]
               [exec] +1 @author. The patch does not contain any @author tags.
               [exec]
               [exec] +1 tests included. The patch appears to include 3 new or modified tests.
               [exec]
               [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
               [exec]
               [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
               [exec]
               [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
               [exec]
               [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
               [exec]
               [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.

          ant test-core passed all unit tests except for TestMapReduceLocal. ]
          Hairong Kuang made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hairong Kuang made changes -
          Attachment blockCleanup1-br18.patch [ 12404782 ]
          Tsz Wo Nicholas Sze made changes -
          Attachment 5192_20090407_0.18.patch [ 12404877 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development