addtoJobConf
public void addtoJobConf(org.apache.hadoop.mapred.JobConf jobConf,
CredentialsProperties props,
ActionExecutor.Context context)
throws java.lang.Exception
This is the interface for all the Credentials implementation. Any new credential implementaion must implement
this function. This function should modify the jobconf which will be used further to pass the credentials to the
tasks while running it. Credentials properties and context is also provided by that user can get all the
necessary configuration.
- Specified by:
addtoJobConf in class Credentials
- Parameters:
jobConf - job conf where the token will insert intoprops - properties for getting credential token or certificatecontext - workflow context
- Throws:
java.lang.Exception - thrown if failed