hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Shankar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2105) Three TestFairScheduler tests fail in trunk
Date Tue, 27 May 2014 00:13:02 GMT

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

Ashwin Shankar commented on YARN-2105:

These test failures are due to defaultQueueName field in Default rule not getting initialized
when queue placement policy
is not configured in the alloc xml,resulting in NPEs/assertion failures.

To correct this, I've overridden the initialize method in Default rule to set the defaultQueueName
if it is not already set. 
initialize() is directly called from QueuePlacementPolicy.java,in cases when policy is not

Added a unit test to verify that default rule is initialized properly in aforementioned scenario.

Apologize for any inconvenience caused. 

> Three TestFairScheduler tests fail in trunk
> -------------------------------------------
>                 Key: YARN-2105
>                 URL: https://issues.apache.org/jira/browse/YARN-2105
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ashwin Shankar
>         Attachments: YARN-2105-v1.txt
> The following tests fail in trunk:
> {code}
> Failed tests:
>   TestFairScheduler.testDontAllowUndeclaredPools:2412 expected:<1> but was:<0>
> Tests in error:
>   TestFairScheduler.testQueuePlacementWithPolicy:624 NullPointer
>   TestFairScheduler.testNotUserAsDefaultQueue:530 ยป NullPointer
> {code}

This message was sent by Atlassian JIRA

View raw message