YARN-4682. AMRM client to log when AMRM token updated. (Prabhu Joseph via stevel)
This commit is contained in:
parent
2fb423e195
commit
51fc7f5427
|
@ -819,6 +819,9 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-2575. Create separate ACLs for Reservation create/update/delete/list
|
||||
ops (Sean Po via asuresh)
|
||||
|
||||
YARN-4682. AMRM client to log when AMRM token updated.
|
||||
(Prabhu Joseph via stevel)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||
|
|
|
@ -915,6 +915,7 @@ public class AMRMClientImpl<T extends ContainerRequest> extends AMRMClient<T> {
|
|||
// to ensure we replace the previous token setup by the RM.
|
||||
// Afterwards we can update the service address for the RPC layer.
|
||||
UserGroupInformation currentUGI = UserGroupInformation.getCurrentUser();
|
||||
LOG.info("Updating with new AMRMToken");
|
||||
currentUGI.addToken(amrmToken);
|
||||
amrmToken.setService(ClientRMProxy.getAMRMTokenService(getConfig()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue