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