[
https://issues.apache.org/jira/browse/MAPREDUCE-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211836#comment-13211836
]
Bhallamudi Venkata Siva Kamesh commented on MAPREDUCE-3873:
-----------------------------------------------------------
*HostsFileReader#readFileToSet* reading entries from the file and adding those
entries to set. This entry can be either an *IP Address* or a *hostname*.
However while validating a hostname,checking whether the hostname is part of
set of entries excluded. So just comparing *hostname* with *IP address*, which
returns false.
I think, while adding entries to set in *HostsFileReader#readFileToSet*, we
should add the hostname of the entry, rather than just adding it.
> Nodemanager is not getting decommisioned if the absolute ip is given in
> exclude file.
> -------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-3873
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3873
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2, nodemanager
> Affects Versions: 0.23.0
> Reporter: Nishan Shetty
>
> Configure absolute ip in "yarn.resourcemanager.nodes.exclude-path" and try to
> decommission the node.
> It is not getting decommisioned.But if the hostname is given, decommissioning
> is happening.
> I have also given the ip-host mapping of each machine in /etc/hosts.(i,e in
> every machine the other machines ip-host mapping is specified).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira