Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2309

TestRenameWhileOpen fails in branch-0.20-security

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.20.205.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestRenameWhileOpen is failing in branch-0.20-security.

        Activity

        Hide
        Suresh Srinivas added a comment -

        Can you please describe what the problem is and how you are fixing it.

        Show
        Suresh Srinivas added a comment - Can you please describe what the problem is and how you are fixing it.
        Hide
        Jitendra Nath Pandey added a comment -

        20.security does not process second block report when the NN is in safemode. A block report is considered to be the second block report if the number of blocks for a DN is > 0.

        During the test, a DN sends block received before sending block report. This results in first block report to be discarded.

        Solution:
        Introduce a flag in DatanodeDescriptor to track first block report, instead of using number of blocks.

        Show
        Jitendra Nath Pandey added a comment - 20.security does not process second block report when the NN is in safemode. A block report is considered to be the second block report if the number of blocks for a DN is > 0. During the test, a DN sends block received before sending block report. This results in first block report to be discarded. Solution: Introduce a flag in DatanodeDescriptor to track first block report, instead of using number of blocks.
        Hide
        Suresh Srinivas added a comment -

        +1 for the change.

        Show
        Suresh Srinivas added a comment - +1 for the change.
        Hide
        Jitendra Nath Pandey added a comment -

        Committed to branch-0.20-security!
        This is not relevant for trunk.

        Show
        Jitendra Nath Pandey added a comment - Committed to branch-0.20-security! This is not relevant for trunk.
        Hide
        Matt Foley added a comment -

        Closed upon release of 0.20.205.0

        Show
        Matt Foley added a comment - Closed upon release of 0.20.205.0

          People

          • Assignee:
            Jitendra Nath Pandey
            Reporter:
            Jitendra Nath Pandey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development