Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      I see exceptions from ContextFactory when I am running Pig unit test:
      Caused by: java.lang.IllegalArgumentException: Can't find field
      at org.apache.hadoop.mapreduce.ContextFactory.<clinit>(ContextFactory.java:139)
      Caused by: java.lang.NoSuchFieldException: reporter
      at java.lang.Class.getDeclaredField(Class.java:1882)
      at org.apache.hadoop.mapreduce.ContextFactory.<clinit>(ContextFactory.java:126)

        Activity

        Daniel Dai created issue -
        Mahadev konar made changes -
        Field Original Value New Value
        Assignee Mahadev konar [ mahadev ]
        Hide
        Arun C Murthy added a comment -

        Daniel, which version of Hadoop were you running this against?

        Show
        Arun C Murthy added a comment - Daniel, which version of Hadoop were you running this against?
        Hide
        Arun C Murthy added a comment -

        Ok, I can reproduce this on branch-0.23.

        Show
        Arun C Murthy added a comment - Ok, I can reproduce this on branch-0.23.
        Arun C Murthy made changes -
        Assignee Mahadev konar [ mahadev ] Arun C Murthy [ acmurthy ]
        Hide
        Arun C Murthy added a comment -

        Fixed ContextFactory, improved javadoc and added a test.

        Show
        Arun C Murthy added a comment - Fixed ContextFactory, improved javadoc and added a test.
        Arun C Murthy made changes -
        Attachment MAPREDUCE-3253.patch [ 12500621 ]
        Arun C Murthy made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Daniel Dai added a comment -

        The Pig unit test issue is fixed by the patch. Thanks Arun!

        Show
        Daniel Dai added a comment - The Pig unit test issue is fixed by the patch. Thanks Arun!
        Hide
        Arun C Murthy added a comment -

        I just committed this after running all tests locally.

        Show
        Arun C Murthy added a comment - I just committed this after running all tests locally.
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.23.0 [ 12315570 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #49 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/49/)
        Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #49 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/49/ ) Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1151 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1151/)
        MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1151 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1151/ ) MAPREDUCE-3253 . Fixed ContextFactory to clone JobContext correctly. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1229 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1229/)
        MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1229 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1229/ ) MAPREDUCE-3253 . Fixed ContextFactory to clone JobContext correctly. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #50 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/50/)
        Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #50 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/50/ ) Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #49 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/49/)
        Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #49 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/49/ ) Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1165 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1165/)
        MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1165 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1165/ ) MAPREDUCE-3253 . Fixed ContextFactory to clone JobContext correctly. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #843 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/843/)
        MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #843 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/843/ ) MAPREDUCE-3253 . Fixed ContextFactory to clone JobContext correctly. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #872 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/872/)
        MAPREDUCE-3253. Fixed ContextFactory to clone JobContext correctly.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #872 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/872/ ) MAPREDUCE-3253 . Fixed ContextFactory to clone JobContext correctly. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188842 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #63 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/63/)
        Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #63 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/63/ ) Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #51 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/51/)
        Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253.

        acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #51 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/51/ ) Merge -c 1188842 from trunk to branch-0.23 to complete fix for MAPREDUCE-3253 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188843 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/ContextFactory.java /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/TestContextFactory.java
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        8h 55m 1 Arun C Murthy 25/Oct/11 06:55
        Patch Available Patch Available Resolved Resolved
        12h 17m 1 Arun C Murthy 25/Oct/11 19:13
        Resolved Resolved Closed Closed
        20d 6h 36m 1 Arun C Murthy 15/Nov/11 00:49

          People

          • Assignee:
            Arun C Murthy
            Reporter:
            Daniel Dai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development