Uses of Class
org.apache.hadoop.fs.FileAlreadyExistsException
Packages that use FileAlreadyExistsException
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.ViewFileSystem and ViewFileSystemOverloadScheme classes.
YARN Registry Client API.
-
Uses of FileAlreadyExistsException in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that throw FileAlreadyExistsExceptionModifier and TypeMethodDescriptionfinal FSDataOutputStreamAbstractFileSystem.create(Path f, EnumSet<CreateFlag> createFlag, org.apache.hadoop.fs.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, org.apache.hadoop.fs.Options.CreateOpts... opts) Create or overwrite file on indicated path and returns an output stream for writing into the file.abstract FSDataOutputStreamAbstractFileSystem.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 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) abstract voidAbstractFileSystem.mkdir(Path dir, FsPermission permission, boolean createParent) The specification of this method matches that ofFileContext.mkdir(Path, FsPermission, boolean)except that the Path f must be fully qualified and the permission is absolute (i.e.voidFileContext.mkdir(Path dir, FsPermission permission, boolean createParent) Make(create) a directory and all the non-existent parents.final voidAbstractFileSystem.rename(Path src, Path dst, Options.Rename... options) The specification of this method matches that ofFileContext.rename(Path, Path, Options.Rename...)except that Path f must be for this file system.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.abstract voidAbstractFileSystem.renameInternal(Path src, Path dst) The specification of this method matches that ofFileContext.rename(Path, Path, Options.Rename...)except that Path f must be for this file system and NO OVERWRITE is performed.voidAbstractFileSystem.renameInternal(Path src, Path dst, boolean overwrite) The specification of this method matches that ofFileContext.rename(Path, Path, Options.Rename...)except that Path f must be for this file system. -
Uses of FileAlreadyExistsException in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that throw FileAlreadyExistsExceptionModifier and TypeMethodDescriptionViewFs.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) voidViewFs.mkdir(Path dir, FsPermission permission, boolean createParent) voidViewFs.renameInternal(Path src, Path dst) -
Uses of FileAlreadyExistsException in org.apache.hadoop.registry.client.api
Methods in org.apache.hadoop.registry.client.api that throw FileAlreadyExistsExceptionModifier and TypeMethodDescriptionvoidRegistryOperations.bind(String path, ServiceRecord record, int flags) Bind a path in the registry to a service record