Uses of Class
org.apache.hadoop.fs.UnsupportedFileSystemException
Packages that use UnsupportedFileSystemException
Package
Description
An abstract file system API.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
-
Uses of UnsupportedFileSystemException in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that throw UnsupportedFileSystemExceptionModifier and TypeMethodDescriptionvoidChecks if the user can access a path.booleanCopy file from src to dest.booleanCopy from src to dst, optionally deleting src and overwriting dst.final FSDataOutputStreamAbstractFileSystem.create(Path f, EnumSet<CreateFlag> createFlag, Options.CreateOpts... opts) The specification of this method matches that ofFileContext.create(Path, EnumSet, Options.CreateOpts...)except that the Path f must be fully qualified and the permission is absolute (i.e. umask has been applied).FileContext.create(Path f, EnumSet<CreateFlag> createFlag, Options.CreateOpts... opts) Create or overwrite file on indicated path and returns an output stream for writing into the file.static AbstractFileSystemAbstractFileSystem.createFileSystem(URI uri, Configuration conf) Create a file system instance for the specified uri using the conf.abstract FSDataOutputStreamAbstractFileSystem.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) The specification of this method matches that ofAbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...)except that the opts have been declared explicitly.voidFileContext.createSymlink(Path target, Path link, boolean createParent) Creates a symbolic link to an existing file.voidFileSystem.createSymlink(Path target, Path link, boolean createParent) voidFilterFileSystem.createSymlink(Path target, Path link, boolean createParent) booleanDelete a file.booleanDoes the file exist?static AbstractFileSystemAbstractFileSystem.get(URI uri, Configuration conf) The main factory method for creating a file system.FileContext.Util.getContentSummary(Path f) Return theContentSummaryof path f.FileContext.getFileBlockLocations(Path f, long start, long len) Return blockLocation of the given file for the given offset and len.static FileContextFileContext.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 FileContextFileContext.getFileContext(URI defaultFsUri) Create a FileContext for specified URI using the default config.static FileContextFileContext.getFileContext(URI defaultFsUri, Configuration aConf) Create a FileContext for specified default URI using the specified config.static FileContextFileContext.getFileContext(Configuration aConf) Create a FileContext using the passed config.AbstractFileSystem.getFileLinkStatus(Path f) The specification of this method matches that ofFileContext.getFileLinkStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path leading up to the final path component.FileContext.getFileLinkStatus(Path f) Return a file status object that represents the path.FileSystem.getFileLinkStatus(Path f) FilterFileSystem.getFileLinkStatus(Path f) FileContext.getFileStatus(Path f) Return a file status object that represents the path.protected AbstractFileSystemFileContext.getFSofPath(Path absOrFqPath) Get the file system of supplied path.protected static FileSystemFileSystem.getFSofPath(Path absOrFqPath, Configuration conf) FileContext.getFsStatus(Path f) Returns a status object describing the use and capacity of the file system denoted by the Parh argument p.FileContext.getLinkTarget(Path f) Returns the target of the given symbolic link as it was specified when the link was created.static FileContextFileContext.getLocalFSFileContext()static FileContextFileContext.getLocalFSFileContext(Configuration aConf) FileContext.Util.globStatus(Path pathPattern) Return all the files that match filePattern and are not checksum files.FileContext.Util.globStatus(Path pathPattern, PathFilter filter) Return an array of FileStatus objects whose path names match pathPattern and is accepted by the user-supplied path filter.List the statuses and block locations of the files in the given path.FileContext.listLocatedStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FileContext.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FileContext.Util.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FileContext.Util.listStatus(Path f, PathFilter filter) Filter files/directories in the given path using the user-supplied path filter.voidFileContext.mkdir(Path dir, FsPermission permission, boolean createParent) Make(create) a directory and all the non-existent parents.Opens an FSDataInputStream at the indicated Path using default buffersize.Opens an FSDataInputStream at the indicated Path.voidFileContext.rename(Path src, Path dst, Options.Rename... options) Renames Path src to Path dst Fails if src is a file and dst is a directory.voidSet owner of a path (i.e. a file or a directory).voidFileContext.setPermission(Path f, FsPermission permission) Set permission of a path.voidSet access time of a file.voidFileContext.setVerifyChecksum(boolean verifyChecksum, Path f) Set the verify checksum flag for the file system denoted by the path.booleanTruncate the file in the indicated path to the indicated size. -
Uses of UnsupportedFileSystemException in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that throw UnsupportedFileSystemExceptionModifier and TypeMethodDescriptionViewFs.createInternal(Path f, EnumSet<CreateFlag> flag, FsPermission absolutePermission, int bufferSize, short replication, long blockSize, Progressable progress, Options.ChecksumOpt checksumOpt, boolean createParent) ViewFs.getFileLinkStatus(Path f) protected abstract TInodeTree.getTargetFileSystem(String settings, URI[] mergeFsURIs) Constructors in org.apache.hadoop.fs.viewfs that throw UnsupportedFileSystemExceptionModifierConstructorDescriptionprotectedInodeTree(Configuration config, String viewName, URI theUri, boolean initingUriAsFallbackOnNoMounts) Create Inode Tree from the specified mount-table specified in Config.