|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnsupportedFileSystemException | |
---|---|
org.apache.hadoop.fs | An abstract file system API. |
org.apache.hadoop.fs.viewfs |
Uses of UnsupportedFileSystemException in org.apache.hadoop.fs |
---|
Methods in org.apache.hadoop.fs that throw UnsupportedFileSystemException | |
---|---|
FSDataOutputStream |
FileContext.create(Path f,
EnumSet<CreateFlag> createFlag,
org.apache.hadoop.fs.Options.CreateOpts... opts)
Create or overwrite file on indicated path and returns an output stream for writing into the file. |
FSDataOutputStream |
AbstractFileSystem.create(Path f,
EnumSet<CreateFlag> createFlag,
org.apache.hadoop.fs.Options.CreateOpts... opts)
The specification of this method matches that of FileContext.create(Path, EnumSet, Options.CreateOpts...) except
that the Path f must be fully qualified and the permission is absolute
(i.e. |
static AbstractFileSystem |
AbstractFileSystem.createFileSystem(URI uri,
Configuration conf)
Create a file system instance for the specified uri using the conf. |
abstract FSDataOutputStream |
AbstractFileSystem.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt,
boolean createParent)
The specification of this method matches that of AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...) except that the opts
have been declared explicitly. |
void |
FileContext.createSymlink(Path target,
Path link,
boolean createParent)
Creates a symbolic link to an existing file. |
boolean |
FileContext.delete(Path f,
boolean recursive)
Delete a file. |
static AbstractFileSystem |
AbstractFileSystem.get(URI uri,
Configuration conf)
The main factory method for creating a file system. |
BlockLocation[] |
FileContext.getFileBlockLocations(Path f,
long start,
long len)
Return blockLocation of the given file for the given offset and len. |
static FileContext |
FileContext.getFileContext()
Create a FileContext using the default config read from the $HADOOP_CONFIG/core.xml, Unspecified key-values for config are defaulted from core-defaults.xml in the release jar. |
static FileContext |
FileContext.getFileContext(Configuration aConf)
Create a FileContext using the passed config. |
static FileContext |
FileContext.getFileContext(URI defaultFsUri)
Create a FileContext for specified URI using the default config. |
static FileContext |
FileContext.getFileContext(URI defaultFsUri,
Configuration aConf)
Create a FileContext for specified default URI using the specified config. |
FileStatus |
FileContext.getFileLinkStatus(Path f)
Return a file status object that represents the path. |
FileStatus |
AbstractFileSystem.getFileLinkStatus(Path f)
The specification of this method matches that of FileContext.getFileLinkStatus(Path)
except that an UnresolvedLinkException may be thrown if a symlink is
encountered in the path leading up to the final path component. |
FileStatus |
FileContext.getFileStatus(Path f)
Return a file status object that represents the path. |
FsStatus |
FileContext.getFsStatus(Path f)
Returns a status object describing the use and capacity of the file system denoted by the Parh argument p. |
Path |
FileContext.getLinkTarget(Path f)
Returns the target of the given symbolic link as it was specified when the link was created. |
static FileContext |
FileContext.getLocalFSFileContext()
|
static FileContext |
FileContext.getLocalFSFileContext(Configuration aConf)
|
org.apache.hadoop.fs.RemoteIterator<LocatedFileStatus> |
FileContext.listLocatedStatus(Path f)
List the statuses of the files/directories in the given path if the path is a directory. |
org.apache.hadoop.fs.RemoteIterator<FileStatus> |
FileContext.listStatus(Path f)
List the statuses of the files/directories in the given path if the path is a directory. |
void |
FileContext.mkdir(Path dir,
FsPermission permission,
boolean createParent)
Make(create) a directory and all the non-existent parents. |
FSDataInputStream |
FileContext.open(Path f)
Opens an FSDataInputStream at the indicated Path using default buffersize. |
FSDataInputStream |
FileContext.open(Path f,
int bufferSize)
Opens an FSDataInputStream at the indicated Path. |
void |
FileContext.rename(Path src,
Path dst,
org.apache.hadoop.fs.Options.Rename... options)
Renames Path src to Path dst |
void |
FileContext.setOwner(Path f,
String username,
String groupname)
Set owner of a path (i.e. |
void |
FileContext.setPermission(Path f,
FsPermission permission)
Set permission of a path. |
void |
FileContext.setTimes(Path f,
long mtime,
long atime)
Set access time of a file. |
void |
FileContext.setVerifyChecksum(boolean verifyChecksum,
Path f)
Set the verify checksum flag for the file system denoted by the path. |
Uses of UnsupportedFileSystemException in org.apache.hadoop.fs.viewfs |
---|
Methods in org.apache.hadoop.fs.viewfs that throw UnsupportedFileSystemException | |
---|---|
FSDataOutputStream |
ViewFs.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt,
boolean createParent)
|
FileStatus |
ViewFs.getFileLinkStatus(Path f)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |