org.apache.oozie.action.hadoop
Class Credentials
java.lang.Object
org.apache.oozie.action.hadoop.Credentials
- Direct Known Subclasses:
- HbaseCredentials, HCatCredentials
public abstract class Credentials
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Credentials
public Credentials()
addtoJobConf
public abstract void addtoJobConf(org.apache.hadoop.mapred.JobConf jobconf,
CredentialsProperties props,
ActionExecutor.Context context)
throws 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.
- Parameters:
jobconf
- job conf where the token will insert intoprops
- properties for getting credential token or certificatecontext
- workflow context
- Throws:
Exception
- thrown if failed
Copyright © 2013 Apache Software Foundation. All Rights Reserved.