public class JHSCredentials extends Object implements CredentialsProvider
Constructor and Description |
---|
JHSCredentials() |
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 MR_DELEGATION_TOKEN to the
Credentials provided. |
public JHSCredentials()
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.