Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2375

TestFileAppend4 fails in 0.20.205 branch

    Details

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

      Description

      TestFileAppend4 fails due to change from HDFS-2333. The test uses reflection to get to the method DFSOutputStream#getNumCurrentReplicas(). Since HDFS-2333 patch change this method from public to private, reflection get the method fails resulting in test failures.

      1. HDFS-2375.1.txt
        0.9 kB
        Suresh Srinivas
      2. HDFS-2375.txt
        0.6 kB
        Suresh Srinivas

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          43m 11s 1 Suresh Srinivas 27/Sep/11 07:38
          Resolved Resolved Closed Closed
          21d 16h 47m 1 Matt Foley 19/Oct/11 00: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
          Suresh Srinivas made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Hide
          Suresh Srinivas added a comment -

          I committed the patch.

          Show
          Suresh Srinivas added a comment - I committed the patch.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          +1 the new patch looks good.

          Show
          Tsz Wo Nicholas Sze added a comment - +1 the new patch looks good.
          Suresh Srinivas made changes -
          Attachment HDFS-2375.1.txt [ 12496643 ]
          Hide
          Suresh Srinivas added a comment -

          New patch that uses casting instead of unnecessary reflection.

          Show
          Suresh Srinivas added a comment - New patch that uses casting instead of unnecessary reflection.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          +1

          Show
          Tsz Wo Nicholas Sze added a comment - +1
          Suresh Srinivas made changes -
          Attachment HDFS-2375.txt [ 12496640 ]
          Suresh Srinivas made changes -
          Field Original Value New Value
          Link This issue blocks HDFS-2333 [ HDFS-2333 ]
          Suresh Srinivas created issue -

            People

            • Assignee:
              Suresh Srinivas
              Reporter:
              Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development