hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1784) TestContainerAllocation assumes CapacityScheduler
Date Tue, 08 Apr 2014 21:12:18 GMT

    [ https://issues.apache.org/jira/browse/YARN-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963451#comment-13963451
] 

Robert Kanter commented on YARN-1784:
-------------------------------------

Looks to be a problem in most of the tests in TestContainerAllocation.  Here's a more full
stack trace from one of them:
{noformat}
java.lang.ClassCastException: org.apache.hadoop.yarn.server.resourcemanager.scheduler.QueueMetrics
cannot be cast to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics.forQueue(FSQueueMetrics.java:103)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.reinitialize(FairScheduler.java:1255)
	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:411)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:801)
	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:223)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.<init>(MockRM.java:90)
	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.<init>(MockRM.java:85)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testNormalContainerAllocationWhenDNSUnavailable(TestContainerAllocation.java:165)
{noformat}

> TestContainerAllocation assumes CapacityScheduler
> -------------------------------------------------
>
>                 Key: YARN-1784
>                 URL: https://issues.apache.org/jira/browse/YARN-1784
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.3.0
>            Reporter: Karthik Kambatla
>            Assignee: Robert Kanter
>            Priority: Minor
>
> TestContainerAllocation assumes CapacityScheduler



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message