Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.fs.viewfs | |
org.apache.hadoop.mapred | |
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.security | |
org.apache.hadoop.security.token | |
org.apache.hadoop.security.token.delegation.web | |
org.apache.hadoop.yarn.client.api |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.security | |
org.apache.hadoop.yarn.security.client |
Modifier and Type | Method and Description |
---|---|
Token<?>[] |
FileSystem.addDelegationTokens(String renewer,
org.apache.hadoop.security.Credentials credentials)
Obtain all delegation tokens used by this FileSystem that are not
already present in the given Credentials.
|
Token<?> |
FileSystem.getDelegationToken(String renewer)
Get a new delegation token for this file system.
|
Modifier and Type | Method and Description |
---|---|
List<Token<?>> |
FileContext.getDelegationTokens(Path p,
String renewer)
Get delegation tokens for the file systems accessed for a given
path.
|
List<Token<?>> |
AbstractFileSystem.getDelegationTokens(String renewer)
Get one or more delegation tokens associated with the filesystem.
|
Modifier and Type | Method and Description |
---|---|
List<Token<?>> |
ViewFs.getDelegationTokens(String renewer) |
Modifier and Type | Method and Description |
---|---|
Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> |
JobClient.getDelegationToken(Text renewer)
Get a delegation token for the user from the JobTracker.
|
Modifier and Type | Method and Description |
---|---|
void |
JobClient.cancelDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token)
Deprecated.
Use
cancel(org.apache.hadoop.conf.Configuration) instead |
long |
JobClient.renewDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token)
Deprecated.
Use
renew(org.apache.hadoop.conf.Configuration) instead |
Modifier and Type | Method and Description |
---|---|
Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> |
Cluster.getDelegationToken(Text renewer)
Get a delegation token for the user from the JobTracker.
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.cancelDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token)
Deprecated.
Use
cancel(org.apache.hadoop.conf.Configuration) instead |
long |
Cluster.renewDelegationToken(Token<org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier> token)
Deprecated.
Use
renew(org.apache.hadoop.conf.Configuration) instead |
Modifier and Type | Method and Description |
---|---|
static Token<?> |
TokenCache.getDelegationToken(org.apache.hadoop.security.Credentials credentials,
String namenode)
Deprecated.
Use
Credentials.getToken(org.apache.hadoop.io.Text)
instead, this method is included for compatibility against Hadoop-1 |
static Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> |
TokenCache.getJobToken(org.apache.hadoop.security.Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
static void |
TokenCache.setJobToken(Token<? extends TokenIdentifier> t,
org.apache.hadoop.security.Credentials credentials)
store job token
|
Modifier and Type | Method and Description |
---|---|
Token<T> |
TokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Method and Description |
---|---|
abstract void |
TokenRenewer.cancel(Token<?> token,
Configuration conf)
Cancel the given token
|
abstract boolean |
TokenRenewer.isManaged(Token<?> token)
Is the given token managed? Only managed tokens may be renewed or
cancelled.
|
abstract long |
TokenRenewer.renew(Token<?> token,
Configuration conf)
Renew the given token.
|
Modifier and Type | Method and Description |
---|---|
Token<T> |
TokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Constructor and Description |
---|
Token(Token<T> other)
Clone a token.
|
Modifier and Type | Method and Description |
---|---|
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> |
DelegationTokenAuthenticatedURL.Token.getDelegationToken() |
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> |
DelegationTokenAuthenticator.getDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
String renewer)
Requests a delegation token using the configured
Authenticator
for authentication. |
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> |
DelegationTokenAuthenticator.getDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
String renewer,
String doAsUser)
Requests a delegation token using the configured
Authenticator
for authentication. |
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> |
DelegationTokenAuthenticatedURL.getDelegationToken(URL url,
DelegationTokenAuthenticatedURL.Token token,
String renewer)
Requests a delegation token using the configured
Authenticator
for authentication. |
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> |
DelegationTokenAuthenticatedURL.getDelegationToken(URL url,
DelegationTokenAuthenticatedURL.Token token,
String renewer,
String doAsUser)
Requests a delegation token using the configured
Authenticator
for authentication. |
Modifier and Type | Method and Description |
---|---|
void |
DelegationTokenAuthenticator.cancelDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> dToken)
Cancels a delegation token from the server end-point.
|
void |
DelegationTokenAuthenticator.cancelDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> dToken,
String doAsUser)
Cancels a delegation token from the server end-point.
|
long |
DelegationTokenAuthenticator.renewDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> dToken)
Renews a delegation token from the server end-point using the
configured
Authenticator for authentication. |
long |
DelegationTokenAuthenticator.renewDelegationToken(URL url,
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token token,
Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> dToken,
String doAsUser)
Renews a delegation token from the server end-point using the
configured
Authenticator for authentication. |
void |
DelegationTokenAuthenticatedURL.Token.setDelegationToken(Token<org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier> delegationToken) |
Modifier and Type | Method and Description |
---|---|
abstract Token<AMRMTokenIdentifier> |
YarnClient.getAMRMToken(ApplicationId appId)
Get the AMRM token of the application.
|
abstract Token<TimelineDelegationTokenIdentifier> |
TimelineClient.getDelegationToken(String renewer)
Get a delegation token so as to be able to talk to the timeline server in a
secure way.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
TimelineClient.cancelDelegationToken(Token<TimelineDelegationTokenIdentifier> timelineDT)
Cancel a timeline delegation token.
|
abstract long |
TimelineClient.renewDelegationToken(Token<TimelineDelegationTokenIdentifier> timelineDT)
Renew a timeline delegation token.
|
Modifier and Type | Method and Description |
---|---|
Token<ContainerTokenIdentifier> |
ContainerTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Token<AMRMTokenIdentifier> |
AMRMTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Method and Description |
---|---|
Token<ContainerTokenIdentifier> |
ContainerTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Token<AMRMTokenIdentifier> |
AMRMTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Method and Description |
---|---|
Token<RMDelegationTokenIdentifier> |
RMDelegationTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Token<TimelineDelegationTokenIdentifier> |
TimelineDelegationTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Modifier and Type | Method and Description |
---|---|
Token<RMDelegationTokenIdentifier> |
RMDelegationTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Token<TimelineDelegationTokenIdentifier> |
TimelineDelegationTokenSelector.selectToken(Text service,
Collection<Token<? extends TokenIdentifier>> tokens) |
Copyright © 2015 Apache Software Foundation. All rights reserved.