Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.23.1, 2.0.0-alpha
-
None
-
Reviewed
-
Modified RM to allow restarted NMs to be able to join the cluster without waiting for expiry.
Description
When a node in the RUNNING state (healthy or unhealthy) is rebooted, the resourcemanager rejects the nodemanager's registration request as a duplicate because it is convinced that the nodemanager is already running on that node. It won't allow that node to rejoin the cluster until the node expiration time elapses which is 10min+ by default. We should allow the NM to rejoin the cluster if it re-registers within the expiration timeout.
Note that this problem occurs with NMs that are configured to specific ports. If ephemeral ports are used then a NM reboot "works" because the RM thinks the NM registration is for a new node. See the discussions in MAPREDUCE-3070 and MAPREDUCE-3363.