Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5597 YARN Federation improvements
  3. YARN-10841

Fix token reset synchronization for UAM response token

    XMLWordPrintableJSON

Details

    • 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

      Attachments

        1. YARN-10841.v1.patch
          3 kB
          Minni Mittal

        Activity

          People

            minni31 Minni Mittal
            minni31 Minni Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m