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 "Vinod Kumar Vavilapalli (Updated) (JIRA)" <ji...@apache.org> on 2012/02/02 23:04:53 UTC

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

     [ 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