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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 19h 31m 1 Jitendra Nath Pandey 07/Sep/11 02:40
        Resolved Resolved Closed Closed
        41d 22h 45m 1 Matt Foley 19/Oct/11 01:26
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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
        Jitendra Nath Pandey made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        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
        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 -

        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 -

        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.
        Jitendra Nath Pandey made changes -
        Field Original Value New Value
        Attachment HDFS-2309-20-security.1.patch [ 12493003 ]
        Jitendra Nath Pandey created issue -

          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