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

Hudson commented on YARN-6756:
------------------------------

ABORTED: Integrated in Jenkins build Hadoop-trunk-Commit #12268 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/12268/])
YARN-6756. ContainerRequest#executionTypeRequest causes NPE. Contributed 
(jianhe: rev 8201ed8009e5f04c49568a8133635d47fcde3989)
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClientContainerRequest.java
* (edit) 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java


> ContainerRequest#executionTypeRequest causes NPE
> ------------------------------------------------
>
>                 Key: YARN-6756
>                 URL: https://issues.apache.org/jira/browse/YARN-6756
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>            Priority: Critical
>         Attachments: YARN-6756.01.patch, YARN-6756.02.patch
>
>
> ContainerRequest#executionTypeRequest is initialized as null, which could 
> cause below " execTypeReq.getExecutionType" unconditionally throw NPE.
> {code}
>   ResourceRequestInfo addResourceRequest(Long allocationRequestId,
>       Priority priority, String resourceName, ExecutionTypeRequest 
> execTypeReq,
>       Resource capability, T req, boolean relaxLocality,
>       String labelExpression) {
>     ResourceRequestInfo resourceRequestInfo = get(priority, resourceName,
>         execTypeReq.getExecutionType(), capability);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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