[ 
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to