public class JobPath
extends org.apache.hadoop.fs.Path
Path that has a cache for getting file system.| Constructor and Description |
|---|
JobPath(java.lang.String scheme,
java.lang.String authority,
java.lang.String path)
Copy of the constructor in
Path. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.FileSystem |
fileSystemGet(java.net.URI uri,
org.apache.hadoop.conf.Configuration conf)
Calls
FileSystem.get, created to make testing easier. |
org.apache.hadoop.fs.FileSystem |
getFileSystem(org.apache.hadoop.conf.Configuration conf) |
compareTo, depth, equals, getName, getParent, getPathWithoutSchemeAndAuthority, hashCode, isAbsolute, isAbsoluteAndSchemeAuthorityNull, isRoot, isUriPathAbsolute, isWindowsAbsolutePath, makeQualified, makeQualified, mergePaths, suffix, toString, toUri, validateObjectpublic JobPath(java.lang.String scheme,
java.lang.String authority,
java.lang.String path)
Path.scheme - the schemeauthority - the authoritypath - the pathpublic static org.apache.hadoop.fs.FileSystem fileSystemGet(java.net.URI uri,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
FileSystem.get, created to make testing easier.uri - the uriconf - the confjava.io.IOExceptionpublic org.apache.hadoop.fs.FileSystem getFileSystem(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
getFileSystem in class org.apache.hadoop.fs.Pathjava.io.IOExceptionCopyright © 2022. All Rights Reserved.