[jira] [Updated] (MAPREDUCE-3759) ClassCastException thrown in -list-active-trackers when there are a few unhealthy nodes

2012-02-04 Thread Mahadev konar (Updated) (JIRA)

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

Mahadev konar updated MAPREDUCE-3759:
-

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

I just committed this. Thanks Vinod!

> ClassCastException thrown in -list-active-trackers when there are a few 
> unhealthy nodes
> ---
>
> Key: MAPREDUCE-3759
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3759
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: mrv2
>Affects Versions: 0.23.1
>Reporter: Ramya Sunil
>Assignee: Vinod Kumar Vavilapalli
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3759-20120202.txt
>
>
> When there are a few blacklisted nodes in the cluster, "bin/mapred job 
> -list-active-trackers" throws "java.lang.ClassCastException: 
> org.apache.hadoop.yarn.server.resourcemanager.resource.Resources$1 cannot be 
> cast to org.apache.hadoop.yarn.api.records.impl.pb.ResourcePBImpl"

--
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-3759) ClassCastException thrown in -list-active-trackers when there are a few unhealthy nodes

2012-02-02 Thread Vinod Kumar Vavilapalli (Updated) (JIRA)

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

Vinod Kumar Vavilapalli updated MAPREDUCE-3759:
---

Attachment: MAPREDUCE-3759-20120202.txt

Attached patch that fixes this.

Added test passes with the fix and fails without.

Also verified on single node.

> ClassCastException thrown in -list-active-trackers when there are a few 
> unhealthy nodes
> ---
>
> Key: MAPREDUCE-3759
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3759
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: mrv2
>Affects Versions: 0.23.1
>Reporter: Ramya Sunil
>Assignee: Vinod Kumar Vavilapalli
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3759-20120202.txt
>
>
> When there are a few blacklisted nodes in the cluster, "bin/mapred job 
> -list-active-trackers" throws "java.lang.ClassCastException: 
> org.apache.hadoop.yarn.server.resourcemanager.resource.Resources$1 cannot be 
> cast to org.apache.hadoop.yarn.api.records.impl.pb.ResourcePBImpl"

--
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-3759) ClassCastException thrown in -list-active-trackers when there are a few unhealthy nodes

2012-02-02 Thread Vinod Kumar Vavilapalli (Updated) (JIRA)

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

Vinod Kumar Vavilapalli updated MAPREDUCE-3759:
---

Status: Patch Available  (was: Open)

> ClassCastException thrown in -list-active-trackers when there are a few 
> unhealthy nodes
> ---
>
> Key: MAPREDUCE-3759
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3759
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: mrv2
>Affects Versions: 0.23.1
>Reporter: Ramya Sunil
>Assignee: Vinod Kumar Vavilapalli
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3759-20120202.txt
>
>
> When there are a few blacklisted nodes in the cluster, "bin/mapred job 
> -list-active-trackers" throws "java.lang.ClassCastException: 
> org.apache.hadoop.yarn.server.resourcemanager.resource.Resources$1 cannot be 
> cast to org.apache.hadoop.yarn.api.records.impl.pb.ResourcePBImpl"

--
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