[jira] [Updated] (MAPREDUCE-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-10-04 Thread Konstantin Shvachko (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Shvachko updated MAPREDUCE-2531:
---

 Priority: Blocker  (was: Major)
Fix Version/s: 0.22.0

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
Priority: Blocker
 Fix For: 0.22.0, 0.23.0

 Attachments: MR-2531-V1-trunk.patch, MR-2531-yarn-v1.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
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-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-06-03 Thread Arun C Murthy (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun C Murthy updated MAPREDUCE-2531:
-

Resolution: Fixed
Status: Resolved  (was: Patch Available)

I just committed this to both trunk and MR-279. Thanks Robert!

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
 Fix For: 0.23.0

 Attachments: MR-2531-V1-trunk.patch, MR-2531-yarn-v1.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (MAPREDUCE-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-05-26 Thread Robert Joseph Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joseph Evans updated MAPREDUCE-2531:
---

Attachment: MR-2531-yarn-v1.patch

Attached is the yarn patch.  The test is still under ant, even though the code 
has been moved to mvn.  Not sure if this is an issue or not.  Also not all of 
the ant contrib tests even compile.  My test runs and passes though.

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
 Fix For: 0.23.0

 Attachments: MR-2531-V1-trunk.patch, MR-2531-yarn-v1.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (MAPREDUCE-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-05-25 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated MAPREDUCE-2531:
-

Fix Version/s: 0.23.0

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
 Fix For: 0.23.0

 Attachments: MR-2531-V1-trunk.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (MAPREDUCE-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-05-24 Thread Robert Joseph Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joseph Evans updated MAPREDUCE-2531:
---

Attachment: MR-2531-V1-trunk.patch

A quick fix to call JobID.downgrade instead of just casting.  Included with it 
are unit tests to validate the results.

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
 Attachments: MR-2531-V1-trunk.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (MAPREDUCE-2531) org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast exception

2011-05-24 Thread Robert Joseph Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joseph Evans updated MAPREDUCE-2531:
---

Status: Patch Available  (was: Open)

 org.apache.hadoop.mapred.jobcontrol.getAssignedJobID throw class cast 
 exception 
 

 Key: MAPREDUCE-2531
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2531
 Project: Hadoop Map/Reduce
  Issue Type: Bug
  Components: client
Affects Versions: 0.22.0
Reporter: Robert Joseph Evans
Assignee: Robert Joseph Evans
 Attachments: MR-2531-V1-trunk.patch


 When using a combination of the mapred and mapreduce APIs (PIG) it is 
 possible to have the following exception
 Caused by: java.lang.ClassCastException: org.apache.hadoop.mapreduce.JobID 
 cannot be cast to
 org.apache.hadoop.mapred.JobID
 at 
 org.apache.hadoop.mapred.jobcontrol.Job.getAssignedJobID(Job.java:71)
 at 
 org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:239)
 at org.apache.pig.PigServer.launchPlan(PigServer.java:1325)
 ... 29 more
 This is because the JobID is just downcast.  It should be calling 
 JobID.downgrade

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira