[
https://issues.apache.org/jira/browse/YARN-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915440#comment-13915440
]
Xuan Gong commented on YARN-1758:
---------------------------------
Upload a patch to fix this issue, which includes:
1. if Configuration file is not exist, instead of throwing exception, it will
simply return null
2. RM, Scheduler or other active services will do the null check before calling
conf.addResource(). If the inputStream is NULL (meaning the configuration files
are not exist), we will not call conf.addResource() to reload the
configuration. In this case, we will get NullPointerException
3. create a testcase to verify that RM can start successfully even we do not
provide any configuration files.
> MiniYARNCluster broken post YARN-1666
> -------------------------------------
>
> Key: YARN-1758
> URL: https://issues.apache.org/jira/browse/YARN-1758
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Hitesh Shah
> Assignee: Xuan Gong
> Priority: Blocker
> Attachments: YARN-1758.1.patch
>
>
> NPE seen when trying to use MiniYARNCluster
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)