[
https://issues.apache.org/jira/browse/YARN-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737030#comment-13737030
]
yeshavora commented on YARN-1057:
---------------------------------
By 'Invalide hostname/node', I mean the incorrect name of the host/node which
does not exists. Currently, Yarn just adds the invalid hostname without
checking its existence. Like below.
INFO util.HostsFileReader (HostsFileReader.java:readFileToSet(68)) - Adding
invalidhost.net to the list of included hosts from Include_Yarn_File
Yarn should firstly confirms host's existence and then include/exclude them.
> 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