You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Daniel Dai (Created) (JIRA)" <ji...@apache.org> on 2011/10/24 23:00:32 UTC
[jira] [Created] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
ContextFactory throw NoSuchFieldException
-----------------------------------------
Key: MAPREDUCE-3253
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: mrv2
Affects Versions: 0.23.0
Reporter: Daniel Dai
Priority: Blocker
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135960#comment-13135960 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135305#comment-13135305 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135949#comment-13135949 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135943#comment-13135943 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135318#comment-13135318 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Mahadev konar (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar reassigned MAPREDUCE-3253:
----------------------------------------
Assignee: Mahadev konar
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Mahadev konar
> Priority: Blocker
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Arun C Murthy (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134678#comment-13134678 ]
Arun C Murthy commented on MAPREDUCE-3253:
------------------------------------------
Daniel, which version of Hadoop were you running this against?
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Mahadev konar
> Priority: Blocker
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135453#comment-13135453 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135319#comment-13135319 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-3253:
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.23.0
Status: Resolved (was: Patch Available)
I just committed this after running all tests locally.
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-3253:
-------------------------------------
Attachment: MAPREDUCE-3253.patch
Fixed ContextFactory, improved javadoc and added a test.
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Arun C Murthy (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy reassigned MAPREDUCE-3253:
----------------------------------------
Assignee: Arun C Murthy (was: Mahadev konar)
Ok, I can reproduce this on branch-0.23.
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135310#comment-13135310 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135306#comment-13135306 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated MAPREDUCE-3253:
-------------------------------------
Status: Patch Available (was: Open)
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135308#comment-13135308 ]
Hudson commented on MAPREDUCE-3253:
-----------------------------------
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
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-3253) ContextFactory throw
NoSuchFieldException
Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135280#comment-13135280 ]
Daniel Dai commented on MAPREDUCE-3253:
---------------------------------------
The Pig unit test issue is fixed by the patch. Thanks Arun!
> ContextFactory throw NoSuchFieldException
> -----------------------------------------
>
> Key: MAPREDUCE-3253
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3253
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Daniel Dai
> Assignee: Arun C Murthy
> Priority: Blocker
> Attachments: MAPREDUCE-3253.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira