[
https://issues.apache.org/jira/browse/YARN-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753050#comment-13753050
]
Hitesh Shah commented on YARN-1057:
-----------------------------------
[~xgong] Likewise, from the patch, it looks like if a hostname fails to
resolve, it would not be added to the exclude list. If the include list is
empty, it means the host in question can easily register later on as the
exclude list would not have the entry?
> Add mechanism to check validity of a Node to be Added/Excluded
> --------------------------------------------------------------
>
> Key: YARN-1057
> URL: https://issues.apache.org/jira/browse/YARN-1057
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 2.1.0-beta
> Reporter: yeshavora
> Assignee: Xuan Gong
> Attachments: YARN-1057.1.patch
>
>
> Yarn does not complain while passing an invalid hostname like
> 'invalidhost.com' inside include/exclude node file. (specified by
> 'yarn.resourcemanager.nodes.include-path' or
> 'yarn.resourcemanager.nodes.exclude-path').
> Need to add a mechanism to check the validity of the hostname before
> including or excluding from cluster. It should throw an error / exception
> while adding/removing an invalid node.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira