Uses of Class
org.apache.hadoop.security.AccessControlException
Packages that use AccessControlException
Package
Description
An abstract file system API.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
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.voidvoidbooleanCopy 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.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) 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.booleanDoes the file exist?FileContext.Util.getContentSummary(Path f) Return theContentSummaryof path f.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.FilterFs.getFsStatus(Path f) FileContext.getLinkTarget(Path f) Returns the target of the given symbolic link as it was specified when the link was created.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.AbstractFileSystem.listLocatedStatus(Path f) The specification of this method matches that ofFileContext.listLocatedStatus(Path)except that Path f must be for this file system.ChecksumFs.listLocatedStatus(Path f) FileContext.listLocatedStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FilterFs.listLocatedStatus(Path f) 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.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[] files) FileContext.Util.listStatus(Path[] files, PathFilter filter) Filter files/directories in the given list of paths using user-supplied path filter.FileContext.Util.listStatus(Path f, PathFilter filter) Filter files/directories in the given path using the user-supplied path filter.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.voidChecksumFs.renameInternal(Path src, Path dst, boolean overwrite) voidFilterFs.renameInternal(Path src, Path dst, boolean overwrite) 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 pointsFilterFs.resolvePath(Path p) abstract 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.boolean -
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, 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()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.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 TypeMethodDescriptionvoidZKFCProtocol.cedeActive(int millisToCede) Request that this service yield from the active node election for the specified time period.voidZKFCRpcServer.cedeActive(int millisToCede) protected abstract voidZKFailoverController.checkRpcAdminAccess()HAServiceProtocol.getServiceStatus()Return the current status of the service.voidZKFCProtocol.gracefulFailover()Request that this node try to become active through a graceful failover.voidZKFCRpcServer.gracefulFailover()voidHAServiceProtocol.monitorHealth()Monitor the health of service.voidHAServiceProtocol.transitionToActive(HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to active state.voidHAServiceProtocol.transitionToObserver(HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to observer state.voidHAServiceProtocol.transitionToStandby(HAServiceProtocol.StateChangeRequestInfo reqInfo) Request service to transition to standby state. -
Uses of AccessControlException in org.apache.hadoop.ha.protocolPB
Methods in org.apache.hadoop.ha.protocolPB that throw AccessControlExceptionModifier and TypeMethodDescriptionvoidZKFCProtocolClientSideTranslatorPB.cedeActive(int millisToCede) voidZKFCProtocolClientSideTranslatorPB.gracefulFailover() -
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.