Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
2021-06-24T10:11:39,465 [ERROR] [AMRM Heartbeater thread] |impl.AMRMClientAsyncImpl|: Exception on heartbeat
org.apache.hadoop.yarn.exceptions.YarnException: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: amrmToken from UAM cluster-0 should be null here
at org.apache.hadoop.yarn.server.nodemanager.amrmproxy.FederationInterceptor.allocate(FederationInterceptor.java:782)
2021-06-24T10:10:12,608 INFO [616916] FederationInterceptor: Received new UAM amrmToken with keyId 843616604
Hearbeatcallback sets token to null. But because of synchroniztion issue, it happened after mergeAllocate is called. So, while allocate merge is happening the value should get set to null and should have happened Inside lock