[
https://issues.apache.org/jira/browse/YARN-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737171#comment-13737171
]
Hitesh Shah commented on YARN-1057:
-----------------------------------
Thanks for the clarification. I am not sure if it is easy to figure out whether
a host exists or not. An operations team may setup an include file with host01
to host99 even though only 50 hosts exist with the expectation that other hosts
will be added in later. It would help if you can provide a use-case for this or
if this is a regression from 1.x behavior, please let us know.
> 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
>
> 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