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 "Jian He (JIRA)" <ji...@apache.org> on 2017/06/30 18:41:00 UTC

[jira] [Commented] (YARN-6756) ContainerRequest#executionTypeRequest causes NPE

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

Jian He commented on YARN-6756:
-------------------------------

HI [~asuresh] , can you help check this ?

> 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
>            Priority: Critical
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org