Uses of Class
org.apache.hadoop.security.AccessControlException
Packages that use AccessControlException
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.ViewFileSystem and ViewFileSystemOverloadScheme classes.
This package provides the administrative APIs for HDFS.
Support for service-level authorization.
-
Uses of AccessControlException in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that throw AccessControlExceptionModifier and TypeMethodDescriptionvoidThe specification of this method matches that ofFileContext.access(Path, FsAction)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.voidChecks if the user can access a path.voidChecks if the user can access a path.voidfinal 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 booleanThe specification of this method matches that ofFileContext.delete(Path, boolean)except that Path f must be for this file system.booleanDelete a file.booleanFileContext.deleteOnExit(Path f) Mark a path to be deleted on JVM shutdown.abstract BlockLocation[]AbstractFileSystem.getFileBlockLocations(Path f, long start, long len) The specification of this method matches that ofFileContext.getFileBlockLocations(Path, long, long)except that Path f must be for this file system.FileContext.getFileBlockLocations(Path f, long start, long len) Return blockLocation of the given file for the given offset and len.abstract FileChecksumAbstractFileSystem.getFileChecksum(Path f) The specification of this method matches that ofFileContext.getFileChecksum(Path)except that Path f must be for this file system.FileContext.getFileChecksum(Path f) Get the checksum of a file.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) abstract FileStatusAbstractFileSystem.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.FileContext.getFileStatus(Path f) Return a file status object that represents the path.abstract FsStatusAbstractFileSystem.getFsStatus()The specification of this method matches that ofFileContext.getFsStatus(Path).AbstractFileSystem.getFsStatus(Path f) The specification of this method matches that ofFileContext.getFsStatus(Path)except that Path f must be for this file system.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.org.apache.hadoop.fs.RemoteIterator<LocatedFileStatus>AbstractFileSystem.listLocatedStatus(Path f) The specification of this method matches that ofFileContext.listLocatedStatus(Path)except that Path f must be for this file system.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.abstract FileStatus[]AbstractFileSystem.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.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.org.apache.hadoop.fs.RemoteIterator<FileStatus>AbstractFileSystem.listStatusIterator(Path f) The specification of this method matches that ofFileContext.listStatus(Path)except that Path f must be for this file system.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.The specification of this method matches that ofFileContext.open(Path)except that Path f must be for this file system.abstract FSDataInputStreamThe specification of this method matches that ofFileContext.open(Path, int)except that Path f must be for this file system.Opens an FSDataInputStream at the indicated Path using default buffersize.Opens an FSDataInputStream at the indicated Path.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.protected PathResolves all symbolic links in the specified path.AbstractFileSystem.resolvePath(Path p) Return the fully-qualified path of path f resolving the path through any internal symlinks or mount pointFileContext.resolvePath(Path f) Resolve the path following any symlinks or mount pointsabstract voidThe specification of this method matches that ofFileContext.setOwner(Path, String, String)except that Path f must be for this file system.voidSet owner of a path (i.e. a file or a directory).abstract voidAbstractFileSystem.setPermission(Path f, FsPermission permission) The specification of this method matches that ofFileContext.setPermission(Path, FsPermission)except that Path f must be for this file system.voidFileContext.setPermission(Path f, FsPermission permission) Set permission of a path.abstract booleanAbstractFileSystem.setReplication(Path f, short replication) The specification of this method matches that ofFileContext.setReplication(Path, short)except that Path f must be for this file system.booleanFileContext.setReplication(Path f, short replication) Set replication for an existing file.abstract voidThe specification of this method matches that ofFileContext.setTimes(Path, long, long)except that Path f must be for this file system.voidSet access time of a file.abstract voidAbstractFileSystem.setVerifyChecksum(boolean verifyChecksum) The specification of this method matches that ofFileContext.setVerifyChecksum(boolean, Path)except that Path f must be for this file system.voidFileContext.setVerifyChecksum(boolean verifyChecksum, Path f) Set the verify checksum flag for the file system denoted by the path.booleanThe specification of this method matches that ofFileContext.truncate(Path, long)except that Path f must be for this file system.booleanTruncate the file in the indicated path to the indicated size. -
Uses of AccessControlException in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that throw AccessControlExceptionModifier and TypeMethodDescriptionvoidvoidViewFs.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) booleanbooleanbooleanViewFs.getFileBlockLocations(Path f, long start, long len) ViewFileSystem.getFileChecksum(Path f) ViewFileSystem.getFileChecksum(Path f, long length) ViewFs.getFileChecksum(Path f) ViewFs.getFileLinkStatus(Path f) ViewFileSystem.getFileStatus(Path f) Return a file status object that represents the path.ViewFs.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.ViewFs.getFsStatus()org.apache.hadoop.fs.RemoteIterator<LocatedFileStatus>ViewFs.listLocatedStatus(Path f) ViewFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.ViewFs.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.org.apache.hadoop.fs.RemoteIterator<FileStatus>ViewFs.listStatusIterator(Path f) voidViewFs.mkdir(Path dir, FsPermission permission, boolean createParent) voidViewFs.renameInternal(Path src, Path dst) ViewFs.resolvePath(Path f) voidvoidvoidViewFileSystem.setPermission(Path f, FsPermission permission) voidViewFs.setPermission(Path f, FsPermission permission) booleanViewFileSystem.setReplication(Path f, short replication) booleanViewFs.setReplication(Path f, short replication) voidvoidvoidViewFs.setVerifyChecksum(boolean verifyChecksum) boolean -
Uses of AccessControlException in org.apache.hadoop.ha
Methods in org.apache.hadoop.ha that throw AccessControlExceptionModifier and TypeMethodDescriptionorg.apache.hadoop.ha.HAServiceStatusHAServiceProtocol.getServiceStatus()Return the current status of the service.voidHAServiceProtocol.monitorHealth()Monitor the health of service.voidHAServiceProtocol.transitionToActive(org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to active state.voidHAServiceProtocol.transitionToObserver(org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to observer state.voidHAServiceProtocol.transitionToStandby(org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to standby state. -
Uses of AccessControlException in org.apache.hadoop.hdfs.client
Methods in org.apache.hadoop.hdfs.client that throw AccessControlExceptionModifier and TypeMethodDescriptionvoidHdfsAdmin.createEncryptionZone(Path path, String keyName) Deprecated.voidHdfsAdmin.createEncryptionZone(Path path, String keyName, EnumSet<CreateEncryptionZoneFlag> flags) Create an encryption zone rooted at an empty existing directory, using the specified encryption key.HdfsAdmin.getEncryptionZoneForPath(Path path) Get the path of the encryption zone for a given file or directory. -
Uses of AccessControlException in org.apache.hadoop.mapreduce.v2.hs
Methods in org.apache.hadoop.mapreduce.v2.hs that throw AccessControlExceptionModifier and TypeMethodDescriptionprotected booleanHistoryFileManager.deleteDir(FileStatus serialDir) -
Uses of AccessControlException in org.apache.hadoop.security.authorize
Subclasses of AccessControlException in org.apache.hadoop.security.authorizeModifier and TypeClassDescriptionclassAn exception class for authorization-related issues.