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 "Chandni Singh (JIRA)" <ji...@apache.org> on 2018/10/23 23:39:00 UTC

[jira] [Commented] (YARN-8682) YARN Service throws NPE when explicit null instead of empty object {} is used

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

Chandni Singh commented on YARN-8682:
-------------------------------------

[~gsaha] I tried with {{files: null}} but didn't see any NPE. Do you have a stack trace by any change?

> YARN Service throws NPE when explicit null instead of empty object {} is used
> -----------------------------------------------------------------------------
>
>                 Key: YARN-8682
>                 URL: https://issues.apache.org/jira/browse/YARN-8682
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-native-services
>    Affects Versions: 3.0.1
>            Reporter: Gour Saha
>            Assignee: Chandni Singh
>            Priority: Major
>
> YARN Service should not throw NPE for a config like this -
> {code}
> .
> .
>     "configuration": {
>         "env": {
>             "HADOOP_CONF_DIR": "/hadoop-conf",
>             "USER": "testuser",
>             "YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS": "/sys/fs/cgroup:/sys/fs/cgroup:ro",
>             "YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE": "true"
>         },
>         "files": null
>     }
> .
> .
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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