@Deprecated public class ProxiedFileSystemWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxiedFileSystemWrapper.AuthType
Deprecated.
|
| Constructor and Description |
|---|
ProxiedFileSystemWrapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.FileSystem |
getProxiedFileSystem(State properties,
ProxiedFileSystemWrapper.AuthType authType,
String authPath,
String uri)
Deprecated.
Same as @see #getProxiedFileSystem(State, AuthType, String, String, Configuration) where state properties will be copied
into Configuration.
|
org.apache.hadoop.fs.FileSystem |
getProxiedFileSystem(State properties,
ProxiedFileSystemWrapper.AuthType authType,
String authPath,
String uri,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
Getter for proxiedFs, using the passed parameters to create an instance of a proxiedFs.
|
void |
setProxiedFileSystem(org.apache.hadoop.fs.FileSystem currentProxiedFs)
Deprecated.
Setter for proxiedFs.
|
public void setProxiedFileSystem(org.apache.hadoop.fs.FileSystem currentProxiedFs)
currentProxiedFs - public org.apache.hadoop.fs.FileSystem getProxiedFileSystem(State properties, ProxiedFileSystemWrapper.AuthType authType, String authPath, String uri) throws IOException, InterruptedException, URISyntaxException
properties - authType - authPath - uri - IOExceptionInterruptedExceptionURISyntaxExceptionpublic org.apache.hadoop.fs.FileSystem getProxiedFileSystem(State properties, ProxiedFileSystemWrapper.AuthType authType, String authPath, String uri, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException, URISyntaxException
properties - authType - is either TOKEN or KEYTAB.authPath - is the KEYTAB location if the authType is KEYTAB; otherwise, it is the token file.uri - File system URI.IOExceptionInterruptedExceptionURISyntaxException