public interface HadoopDelegationTokenProvider
Modifier and Type | Method and Description |
---|---|
boolean |
delegationTokensRequired(SparkConf sparkConf,
org.apache.hadoop.conf.Configuration hadoopConf)
Returns true if delegation tokens are required for this service.
|
scala.Option<Object> |
obtainDelegationTokens(org.apache.hadoop.conf.Configuration hadoopConf,
SparkConf sparkConf,
org.apache.hadoop.security.Credentials creds)
Obtain delegation tokens for this service and get the time of the next renewal.
|
String |
serviceName()
Name of the service to provide delegation tokens.
|
boolean delegationTokensRequired(SparkConf sparkConf, org.apache.hadoop.conf.Configuration hadoopConf)
sparkConf
- (undocumented)hadoopConf
- (undocumented)scala.Option<Object> obtainDelegationTokens(org.apache.hadoop.conf.Configuration hadoopConf, SparkConf sparkConf, org.apache.hadoop.security.Credentials creds)
hadoopConf
- Configuration of current Hadoop Compatible system.creds
- Credentials to add tokens and security keys to.sparkConf
- (undocumented)String serviceName()