zhengchenyu commented on PR #6068:
URL: https://github.com/apache/hadoop/pull/6068#issuecomment-1719245764

   There are three ways to solve this problem:
   
   1. Call forceKillApplication on all sub cluster.
   2. Store secondary sub cluster when submit unmanaged application, then 
forceKillApplication on these secondary sub cluster.
   3. forceKillApplication to secondary sub cluster when application is removed 
in nodemanager. 
   
   Solution 1 is the easiest way. But we may call 
   forceKillApplication to unused sub cluster. And If we kill application to 
home subcluster but not router, the app in secondary cluster will not be 
removed.
    
   Solution 2: The problem is that NM will store the meta info of app. Router 
does not know when NM store the info. So we must disable the cache.
    
   Here I will choose solution 3. UAM is managed by NM, so this solution is 
most reasonable.
   
   This PR is about solution 3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to