Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2448

NoSuchMethodError: org.apache.hadoop.hdfs.TestDatanodeBlockScanner.corruptReplica(..)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: contrib/raid, test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.TestDatanodeBlockScanner.corruptReplica(Ljava/lang/String;I)Z
      	at org.apache.hadoop.raid.TestBlockFixer.corruptBlock(TestBlockFixer.java:643)
      	at org.apache.hadoop.raid.TestBlockFixer.implBlockFix(TestBlockFixer.java:189)
      	at org.apache.hadoop.raid.TestBlockFixer.testBlockFixLocal(TestBlockFixer.java:139)
      

        Issue Links

          Activity

          Tsz Wo Nicholas Sze created issue -
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Assignee Nicholas Carlini [ ncarlini ]
          Tsz Wo Nicholas Sze made changes -
          Component/s contrib/raid [ 12313416 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli ]
          Eli Collins made changes -
          Link This issue relates to HDFS-1562 [ HDFS-1562 ]
          Hide
          Eli Collins added a comment -

          Not sure why MR code is calling into an HDFS test.

          Show
          Eli Collins added a comment - Not sure why MR code is calling into an HDFS test.
          Hide
          Eli Collins added a comment -

          Patch that modifies the test to use MiniDFSCluster#corruptBlockOnDataNodes instead of TestDatanodeBlockScanner#corruptReplica.

          Show
          Eli Collins added a comment - Patch that modifies the test to use MiniDFSCluster#corruptBlockOnDataNodes instead of TestDatanodeBlockScanner#corruptReplica.
          Eli Collins made changes -
          Attachment mapreduce-2448-1.patch [ 12477175 ]
          Eli Collins made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.23.0 [ 12315570 ]
          Hide
          Nigel Daley added a comment -

          +1 code review.

          Precommit testing aborted because it detected that trunk was broken:
          https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/181/console
          This patch is meant to fix trunk. Please commit.

          Show
          Nigel Daley added a comment - +1 code review. Precommit testing aborted because it detected that trunk was broken: https://builds.apache.org/hudson/job/PreCommit-MAPREDUCE-Build/181/console This patch is meant to fix trunk. Please commit.
          Hide
          Eli Collins added a comment -

          Thanks Nigel! I've committed this.

          Show
          Eli Collins added a comment - Thanks Nigel! I've committed this.
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #645 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/645/)
          MAPREDUCE-2448. NoSuchMethodError: org.apache.hadoop.hdfs.TestDatanodeBlockScanner.corruptReplica(..). Contributed by Eli Collins

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #645 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/645/ ) MAPREDUCE-2448 . NoSuchMethodError: org.apache.hadoop.hdfs.TestDatanodeBlockScanner.corruptReplica(..). Contributed by Eli Collins
          Hide
          Eli Collins added a comment -

          I merged this to 0.22.

          Show
          Eli Collins added a comment - I merged this to 0.22.
          Eli Collins made changes -
          Fix Version/s 0.22.0 [ 12314184 ]
          Fix Version/s 0.23.0 [ 12315570 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-22-branch #44 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-22-branch/44/)
          MAPREDUCE-2448. svn merge -c 1096520 from trunk

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-22-branch #44 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-22-branch/44/ ) MAPREDUCE-2448 . svn merge -c 1096520 from trunk
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #669 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk/669/)

          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #669 (See https://builds.apache.org/hudson/job/Hadoop-Mapreduce-trunk/669/ )

            People

            • Assignee:
              Eli Collins
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development