You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Subru Krishnan (JIRA)" <ji...@apache.org> on 2016/07/27 22:32:20 UTC

[jira] [Updated] (YARN-5441) Fixing minor Scheduler test case failures

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

Subru Krishnan updated YARN-5441:
---------------------------------
    Attachment: YARN-5441-v1.patch

Attaching a patch that sets import {{ExecutionTypeRequest}} whenever {{ResourceRequest}} is created through _BuilderUtils_.

> Fixing minor Scheduler test case failures
> -----------------------------------------
>
>                 Key: YARN-5441
>                 URL: https://issues.apache.org/jira/browse/YARN-5441
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Subru Krishnan
>            Assignee: Subru Krishnan
>         Attachments: YARN-5441-v1.patch
>
>
> YARN-5351 added {{ExecutionTypeRequest}} to the {{ResourceRequest}} comparator but the ResourceRequest object created via utility methods in few tests like *TestFifoScheduler* and  *TestCapacityScheduler* do not set ExecutionTypeRequest which results in null pointer exceptions. This JIRA proposes a simple fix by setting ExecutionTypeRequest in the utility methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org