public class YarnRMCredentials extends Object implements CredentialsProvider
Constructor and Description |
---|
YarnRMCredentials() |
Modifier and Type | Method and Description |
---|---|
void |
updateCredentials(org.apache.hadoop.security.Credentials credentials,
org.apache.hadoop.conf.Configuration config,
CredentialsProperties props,
ActionExecutor.Context context)
Add an RM_DELEGATION_TOKEN to the
Credentials provided. |
public YarnRMCredentials()
public void updateCredentials(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.conf.Configuration config, CredentialsProperties props, ActionExecutor.Context context) throws Exception
Credentials
provided.updateCredentials
in interface CredentialsProvider
credentials
- the credentials object which is updatedconfig
- launcher AM configurationprops
- properties for getting credential token or certificatecontext
- workflow contextException
- thrown if failedCopyright © 2018 Apache Software Foundation. All rights reserved.