Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.2.1, 2.4.1, 2.5.1
-
None
-
Any mapreduce example with standard cluster. In our case each node has four networks. It is important that all internode communication be done on a specific network.
Description
The RPC listeners for an application are using the hostname of the node as the binding address of the listener, They ignore yarn.nodemanager.hostname for this. In our setup we want all communication between nodes to be done via the network addresses we specify in yarn.nodemanager.hostname on each node.
TaskAttemptListenerImpl.java and MRClientService.java are two places I have found where the default address is used rather that NM_host. The node Manager hostname should be used for all communication between nodes including the RPC listeners.