org.apache.hadoop.security.token.DtFetcherAbfssDtFetcherpublic class AbfsDtFetcher
extends java.lang.Object
implements org.apache.hadoop.security.token.DtFetcher
org.apache.hadoop.hdfs.HdfsDtFetcher.
It is needed for the `hadoop dtutil` command.| Constructor | Description |
|---|---|
AbfsDtFetcher() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.security.token.Token<?> |
addDelegationTokens(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.Credentials creds,
java.lang.String renewer,
java.lang.String url) |
Returns Token object via FileSystem, null if bad argument.
|
protected java.lang.String |
getScheme() |
Get the scheme for this specific fetcher.
|
org.apache.hadoop.io.Text |
getServiceName() |
Returns the service name for the scheme..
|
boolean |
isTokenRequired() |
public org.apache.hadoop.io.Text getServiceName()
getServiceName in interface org.apache.hadoop.security.token.DtFetcherprotected java.lang.String getScheme()
public boolean isTokenRequired()
isTokenRequired in interface org.apache.hadoop.security.token.DtFetcherpublic org.apache.hadoop.security.token.Token<?> addDelegationTokens(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.Credentials creds,
java.lang.String renewer,
java.lang.String url)
throws java.lang.Exception
addDelegationTokens in interface org.apache.hadoop.security.token.DtFetcherconf - - a Configuration object used with FileSystem.get()creds - - a Credentials object to which token(s) will be addedrenewer - - the renewer to send with the token requesturl - - the URL to which the request is sentjava.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.