Added Methods |
void addFileSystemForTesting(URI, Configuration, FileSystem)
|
This method adds a file system for testing so that we can find it later. |
void closeAllForUGI(UserGroupInformation )
|
Close all cached filesystems for a given UGI. |
FSDataOutputStream createNonRecursive(Path, boolean, int, short, long, Progressable)
|
Opens an FSDataOutputStream at the indicated Path with write-progress reporting. |
FSDataOutputStream createNonRecursive(Path, FsPermission, boolean, int, short, long, Progressable)
|
Opens an FSDataOutputStream at the indicated Path with write-progress reporting. |
FileSystem get(URI, Configuration, String)
|
|
String getCanonicalServiceName()
|
Get a canonical service name for this file system. |
URI getCanonicalUri()
|
Resolve the uri's hostname and add the default port if not in the uri |
long getDefaultBlockSize(Path )
|
Return the number of bytes that large input files should be optimally be split into to minimize i/o time. |
int getDefaultPort()
|
Get the default port for this file system. |
short getDefaultReplication(Path )
|
Get the default replication. |
Token getDelegationToken(String )
|
Get a new delegation token for this file system. |
FsStatus getStatus()
|
Returns a status object describing the use and capacity of the file system. |
FsStatus getStatus(Path )
|
Returns a status object describing the use and capacity of the file system. |
FileSystem newInstance(URI, Configuration)
|
Returns the FileSystem for this URI's scheme and authority. |
FileSystem newInstance(Configuration )
|
Returns a unique configured filesystem implementation. |
FileSystem newInstance(URI, Configuration, String)
|
Returns the FileSystem for this URI's scheme and authority and the passed user. |
LocalFileSystem newInstanceLocal(Configuration )
|
Get a unique local file system object |