Uses of Class
org.apache.hadoop.fs.permission.FsPermission
Packages that use FsPermission
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.Supporting classes for metrics instrumentation.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
A distributed implementation of
FileSystem for reading and writing files on
Azure Storage.This package contains implementation classes for use inside
filesystems.
This package provides support for HDFS permission and ACL.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
This package provides the administrative APIs for HDFS.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of FsPermission in org.apache.hadoop.fs
Fields in org.apache.hadoop.fs declared as FsPermissionModifier and TypeFieldDescriptionstatic final FsPermissionFileContext.DEFAULT_PERMDefault permission for directory and symlink In previous versions, this default permission was also used to create files, so files created end up with ugo+x permission.static final FsPermissionFileContext.DIR_DEFAULT_PERMDefault permission for directorystatic final FsPermissionFileContext.FILE_DEFAULT_PERMDefault permission for fileMethods in org.apache.hadoop.fs that return FsPermissionModifier and TypeMethodDescriptionFileStatus.getPermission()Get FsPermission associated with the file.protected FsPermissionFSDataOutputStreamBuilder.getPermission()FileContext.getUMask()Methods in org.apache.hadoop.fs with parameters of type FsPermissionModifier and TypeMethodDescriptionChecksumFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) ChecksumFileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) static FSDataOutputStreamFileSystem.create(FileSystem fs, Path file, FsPermission permission) Create a file with the provided permission.abstract FSDataOutputStreamFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) Create an FSDataOutputStream at the indicated Path with write-progress reporting.FileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) Create an FSDataOutputStream at the indicated Path with write-progress reporting.FileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) Create an FSDataOutputStream at the indicated Path with a custom checksum option.FilterFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) FilterFileSystem.create(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) RawLocalFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) 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.ChecksumFileSystem.createNonRecursive(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) ChecksumFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) FileSystem.createNonRecursive(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) Opens an FSDataOutputStream at the indicated Path with write-progress reporting.FileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) Opens an FSDataOutputStream at the indicated Path with write-progress reporting.FilterFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) RawLocalFileSystem.createNonRecursive(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) RawLocalFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) protected OutputStreamRawLocalFileSystem.createOutputStreamWithMode(Path f, boolean append, FsPermission permission) 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.static booleanFileSystem.mkdirs(FileSystem fs, Path dir, FsPermission permission) Create a directory with the provided permission.abstract booleanFileSystem.mkdirs(Path f, FsPermission permission) Make the given file and all non-existent parents into directories.booleanFilterFileSystem.mkdirs(Path f, FsPermission permission) booleanRawLocalFileSystem.mkdirs(Path f, FsPermission permission) protected booleanRawLocalFileSystem.mkOneDirWithMode(Path p, File p2f, FsPermission permission) FSDataOutputStreamBuilder.permission(FsPermission perm) Set permission for the file.protected FSDataOutputStreamFileSystem.primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) Deprecated.protected FSDataOutputStreamFilterFileSystem.primitiveCreate(Path f, FsPermission absolutePermission, EnumSet<CreateFlag> flag, int bufferSize, short replication, long blockSize, Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) protected booleanFileSystem.primitiveMkdir(Path f, FsPermission absolutePermission) Deprecated.protected voidFileSystem.primitiveMkdir(Path f, FsPermission absolutePermission, boolean createParent) Deprecated.protected booleanFilterFileSystem.primitiveMkdir(Path f, FsPermission abdolutePermission) 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.voidChecksumFileSystem.setPermission(Path src, FsPermission permission) voidFileContext.setPermission(Path f, FsPermission permission) Set permission of a path.protected voidFileStatus.setPermission(FsPermission permission) Sets permission.voidFileSystem.setPermission(Path p, FsPermission permission) Set permission of a path.static voidFileUtil.setPermission(File f, FsPermission permission) Set permissions to the required value.voidFilterFileSystem.setPermission(Path p, FsPermission permission) voidRawLocalFileSystem.setPermission(Path p, FsPermission permission) Use the command chmod to set permission.voidFileContext.setUMask(FsPermission newUmask) Set umask to the supplied parameter.Constructors in org.apache.hadoop.fs with parameters of type FsPermissionModifierConstructorDescriptionFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path path) Constructor for file systems on which symbolic links are not supportedFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path) FileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, boolean hasAcl, boolean isEncrypted, boolean isErasureCoded) FileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, Set<FileStatus.AttrFlags> attr) LocatedFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, boolean hasAcl, boolean isEncrypted, boolean isErasureCoded, BlockLocation[] locations) Constructor.LocatedFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, Set<FileStatus.AttrFlags> attr, BlockLocation[] locations) Constructor.LocatedFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, BlockLocation[] locations) Deprecated. -
Uses of FsPermission in org.apache.hadoop.fs.adl
Methods in org.apache.hadoop.fs.adl with parameters of type FsPermissionModifier and TypeMethodDescriptionAdlFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) Create call semantic is handled differently in case of ADL.AdlFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) Deprecated.API only for 0.20-appendbooleanAdlFileSystem.mkdirs(Path path, FsPermission permission) Make the given file and all non-existent parents into directories.voidAdlFileSystem.setPermission(Path path, FsPermission permission) Set permission of a path. -
Uses of FsPermission in org.apache.hadoop.fs.azure
Methods in org.apache.hadoop.fs.azure with parameters of type FsPermissionModifier and TypeMethodDescriptionNativeAzureFileSystem.create(Path path, FsPermission fsPermission, boolean b, int i, short i1, long l, Progressable progressable) Deprecated.booleanNativeAzureFileSystem.mkdirs(Path path, FsPermission fsPermission) Deprecated. -
Uses of FsPermission in org.apache.hadoop.fs.azurebfs
Methods in org.apache.hadoop.fs.azurebfs with parameters of type FsPermissionModifier and TypeMethodDescriptionvoidAzureBlobFileSystemStore.createDirectory(Path path, FsPermission permission, FsPermission umask, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) Creates a directory.AzureBlobFileSystemStore.createFile(Path path, org.apache.hadoop.fs.FileSystem.Statistics statistics, boolean overwrite, FsPermission permission, FsPermission umask, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) AzureBlobFileSystemStore.createNonRecursive(Path path, org.apache.hadoop.fs.FileSystem.Statistics statistics, boolean overwrite, FsPermission permission, FsPermission umask, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) Checks existence of parent of the given path.voidAzureBlobFileSystemStore.setPermission(Path path, FsPermission permission, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) -
Uses of FsPermission in org.apache.hadoop.fs.ftp
Methods in org.apache.hadoop.fs.ftp with parameters of type FsPermissionModifier and TypeMethodDescriptionFTPFileSystem.create(Path file, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) A stream obtained via this call must be closed before using other APIs of this class or else the invocation will block.booleanFTPFileSystem.mkdirs(Path file, FsPermission permission) -
Uses of FsPermission in org.apache.hadoop.fs.impl
Methods in org.apache.hadoop.fs.impl that return FsPermissionModifier and TypeMethodDescriptionprotected FsPermissionMultipartUploaderBuilderImpl.getPermission()Methods in org.apache.hadoop.fs.impl with parameters of type FsPermissionModifier and TypeMethodDescriptionMultipartUploaderBuilderImpl.permission(FsPermission perm) Set permission for the file. -
Uses of FsPermission in org.apache.hadoop.fs.permission
Subclasses of FsPermission in org.apache.hadoop.fs.permissionModifier and TypeClassDescriptionfinal classA class that stores both masked and unmasked create modes and is a drop-in replacement for masked permission.Methods in org.apache.hadoop.fs.permission that return FsPermissionModifier and TypeMethodDescriptionstatic FsPermissionFsCreateModes.applyUMask(FsPermission mode, FsPermission umask) Create from unmasked mode and umask.FsPermission.applyUMask(FsPermission umask) Apply a umask to this permission and return a new one.static FsPermissionFsPermission.createImmutable(short permission) Create an immutableFsPermissionobject.static FsPermissionFsPermission.getCachePoolDefault()Get the default permission for cache pools.static FsPermissionFsPermission.getDefault()Get the default permission for directory and symlink.static FsPermissionFsPermission.getDirDefault()Get the default permission for directory.static FsPermissionFsPermission.getFileDefault()Get the default permission for file.FsCreateModes.getMasked()FsPermission.getMasked()Get masked permission if exists.AclStatus.getPermission()Returns the permission set for the pathstatic FsPermissionFsPermission.getUMask(Configuration conf) Get the user file creation mask (umask)UMASK_LABELconfig param has umask value that is either symbolic or octal.FsCreateModes.getUnmasked()FsPermission.getUnmasked()Get unmasked permission if exists.static FsPermissionCreate and initialize aFsPermissionfromDataInput.static FsPermissionCreate a FsPermission from a Unix symbolic permission stringMethods in org.apache.hadoop.fs.permission with parameters of type FsPermissionModifier and TypeMethodDescriptionstatic FsPermissionFsCreateModes.applyUMask(FsPermission mode, FsPermission umask) Create from unmasked mode and umask.FsPermission.applyUMask(FsPermission umask) Apply a umask to this permission and return a new one.static FsCreateModesFsCreateModes.create(FsPermission masked, FsPermission unmasked) Create from masked and unmasked modes.AclStatus.getEffectivePermission(AclEntry entry, FsPermission permArg) Get the effective permission for the AclEntry.static voidFsPermission.setUMask(Configuration conf, FsPermission umask) Set the user file creation mask (umask)Constructors in org.apache.hadoop.fs.permission with parameters of type FsPermission -
Uses of FsPermission in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs with parameters of type FsPermissionModifier and TypeMethodDescriptionViewFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) 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) ViewFileSystem.createNonRecursive(Path f, FsPermission permission, EnumSet<CreateFlag> flags, int bufferSize, short replication, long blockSize, Progressable progress) voidViewFs.mkdir(Path dir, FsPermission permission, boolean createParent) booleanViewFileSystem.mkdirs(Path dir, FsPermission permission) voidViewFileSystem.setPermission(Path f, FsPermission permission) voidViewFs.setPermission(Path f, FsPermission permission) -
Uses of FsPermission in org.apache.hadoop.hdfs.client
Fields in org.apache.hadoop.hdfs.client declared as FsPermission -
Uses of FsPermission in org.apache.hadoop.hdfs.inotify
Methods in org.apache.hadoop.hdfs.inotify that return FsPermission -
Uses of FsPermission in org.apache.hadoop.hdfs.protocol
Methods in org.apache.hadoop.hdfs.protocol that return FsPermissionMethods in org.apache.hadoop.hdfs.protocol with parameters of type FsPermission -
Uses of FsPermission in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return FsPermissionMethods in org.apache.hadoop.hdfs.server.namenode with parameters of type FsPermission -
Uses of FsPermission in org.apache.hadoop.yarn.logaggregation.filecontroller
Fields in org.apache.hadoop.yarn.logaggregation.filecontroller declared as FsPermissionModifier and TypeFieldDescriptionprotected static final FsPermissionLogAggregationFileController.APP_DIR_PERMISSIONSPermissions for the Application directory.protected static final FsPermissionLogAggregationFileController.APP_LOG_FILE_UMASKUmask for the log file.protected static final FsPermissionLogAggregationFileController.TLDIR_PERMISSIONSPermissions for the top level directory under which app directories will be created.Methods in org.apache.hadoop.yarn.logaggregation.filecontroller with parameters of type FsPermissionModifier and TypeMethodDescriptionprotected booleanLogAggregationFileController.checkExists(FileSystem fs, Path path, FsPermission fsPerm) protected voidLogAggregationFileController.createDir(FileSystem fs, Path path, FsPermission fsPerm)