Uses of Class
org.apache.hadoop.fs.permission.FsPermission

Packages that use FsPermission
org.apache.hadoop.filecache   
org.apache.hadoop.fs An abstract file system API. 
org.apache.hadoop.fs.ftp   
org.apache.hadoop.fs.kfs A client for the Kosmos filesystem (KFS) 
org.apache.hadoop.fs.permission   
org.apache.hadoop.fs.s3 A distributed, block-based implementation of FileSystem that uses Amazon S3 as a backing store. 
org.apache.hadoop.fs.s3native A distributed implementation of FileSystem for reading and writing files on Amazon S3
org.apache.hadoop.mapred A software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) parallelly on large clusters (thousands of nodes) built of commodity hardware in a reliable, fault-tolerant manner. 
org.apache.hadoop.mapreduce   
org.apache.hadoop.util Common utilities. 
 

Uses of FsPermission in org.apache.hadoop.filecache
 

Methods in org.apache.hadoop.filecache with parameters of type FsPermission
static long TrackerDistributedCacheManager.downloadCacheObject(Configuration conf, URI source, Path destination, long desiredTimestamp, boolean isArchive, FsPermission permission)
          Download a given path to the local file system.
 

Uses of FsPermission in org.apache.hadoop.fs
 

Methods in org.apache.hadoop.fs that return FsPermission
 FsPermission FileStatus.getPermission()
          Get FsPermission associated with the file.
 

Methods in org.apache.hadoop.fs with parameters of type FsPermission
static FSDataOutputStream FileSystem.create(FileSystem fs, Path file, FsPermission permission)
          create a file with the provided permission The permission of the file is set to be the provided permission as in setPermission, not permission&~umask It is implemented using two RPCs.
 FSDataOutputStream HarFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 FSDataOutputStream FilterFileSystem.create(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.
 FSDataOutputStream ChecksumFileSystem.create(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.
 FSDataOutputStream RawLocalFileSystem.create(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.
abstract  FSDataOutputStream FileSystem.create(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.
 FSDataOutputStream ChecksumFileSystem.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.
 FSDataOutputStream RawLocalFileSystem.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.
 FSDataOutputStream FileSystem.createNonRecursive(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
          Deprecated. API only for 0.20-append
static boolean FileSystem.mkdirs(FileSystem fs, Path dir, FsPermission permission)
          create a directory with the provided permission The permission of the directory is set to be the provided permission as in setPermission, not permission&~umask
 boolean HarFileSystem.mkdirs(Path f, FsPermission permission)
          not implemented.
 boolean FilterFileSystem.mkdirs(Path f, FsPermission permission)
          Make the given file and all non-existent parents into directories.
 boolean RawLocalFileSystem.mkdirs(Path f, FsPermission permission)
          Make the given file and all non-existent parents into directories.
abstract  boolean FileSystem.mkdirs(Path f, FsPermission permission)
          Make the given file and all non-existent parents into directories.
static void FileUtil.setPermission(File f, FsPermission permission)
          Set permissions to the required value.
protected  void FileStatus.setPermission(FsPermission permission)
          Sets permission.
 void HarFileSystem.setPermission(Path p, FsPermission permisssion)
          Not implemented.
 void FilterFileSystem.setPermission(Path p, FsPermission permission)
          Set permission of a path.
 void RawLocalFileSystem.setPermission(Path p, FsPermission permission)
          Use the command chmod to set permission.
 void FileSystem.setPermission(Path p, FsPermission permission)
          Set permission of a path.
 

Constructors in org.apache.hadoop.fs with parameters of type FsPermission
FileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path path)
           
 

Uses of FsPermission in org.apache.hadoop.fs.ftp
 

Methods in org.apache.hadoop.fs.ftp with parameters of type FsPermission
 FSDataOutputStream FTPFileSystem.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.
 boolean FTPFileSystem.mkdirs(Path file, FsPermission permission)
           
 

Uses of FsPermission in org.apache.hadoop.fs.kfs
 

Methods in org.apache.hadoop.fs.kfs with parameters of type FsPermission
 FSDataOutputStream KosmosFileSystem.create(Path file, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 boolean KosmosFileSystem.mkdirs(Path path, FsPermission permission)
           
 

Uses of FsPermission in org.apache.hadoop.fs.permission
 

Methods in org.apache.hadoop.fs.permission that return FsPermission
 FsPermission FsPermission.applyUMask(FsPermission umask)
          Apply a umask to this permission and return a new one
static FsPermission FsPermission.createImmutable(short permission)
          Create an immutable FsPermission object.
static FsPermission FsPermission.getDefault()
          Get the default permission.
 FsPermission PermissionStatus.getPermission()
          Return permission
static FsPermission FsPermission.getUMask(Configuration conf)
          Get the user file creation mask (umask) UMASK_LABEL config param has umask value that is either symbolic or octal.
static FsPermission FsPermission.read(DataInput in)
          Create and initialize a FsPermission from DataInput.
static FsPermission FsPermission.valueOf(String unixSymbolicPermission)
          Create a FsPermission from a Unix symbolic permission string
 

Methods in org.apache.hadoop.fs.permission with parameters of type FsPermission
 PermissionStatus PermissionStatus.applyUMask(FsPermission umask)
          Apply umask.
 FsPermission FsPermission.applyUMask(FsPermission umask)
          Apply a umask to this permission and return a new one
static PermissionStatus PermissionStatus.createImmutable(String user, String group, FsPermission permission)
          Create an immutable PermissionStatus object.
static void FsPermission.setUMask(Configuration conf, FsPermission umask)
          Set the user file creation mask (umask)
static void PermissionStatus.write(DataOutput out, String username, String groupname, FsPermission permission)
          Serialize a PermissionStatus from its base components.
 

Constructors in org.apache.hadoop.fs.permission with parameters of type FsPermission
FsPermission(FsPermission other)
          Copy constructor
PermissionStatus(String user, String group, FsPermission permission)
          Constructor
 

Uses of FsPermission in org.apache.hadoop.fs.s3
 

Methods in org.apache.hadoop.fs.s3 with parameters of type FsPermission
 FSDataOutputStream S3FileSystem.create(Path file, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 boolean S3FileSystem.mkdirs(Path path, FsPermission permission)
           
 

Uses of FsPermission in org.apache.hadoop.fs.s3native
 

Methods in org.apache.hadoop.fs.s3native with parameters of type FsPermission
 FSDataOutputStream NativeS3FileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 boolean NativeS3FileSystem.mkdirs(Path f, FsPermission permission)
           
 

Uses of FsPermission in org.apache.hadoop.mapred
 

Fields in org.apache.hadoop.mapred declared as FsPermission
static FsPermission TaskController.TASK_LAUNCH_SCRIPT_PERMISSION
           
 

Uses of FsPermission in org.apache.hadoop.mapreduce
 

Fields in org.apache.hadoop.mapreduce declared as FsPermission
static FsPermission JobSubmissionFiles.JOB_DIR_PERMISSION
           
static FsPermission JobSubmissionFiles.JOB_FILE_PERMISSION
           
 

Uses of FsPermission in org.apache.hadoop.util
 

Methods in org.apache.hadoop.util with parameters of type FsPermission
static void DiskChecker.checkDir(LocalFileSystem localFS, Path dir, FsPermission expected)
          Create the local directory if necessary, check permissions and also ensure it can be read from and written into.
static boolean DiskChecker.mkdirsWithExistsAndPermissionCheck(LocalFileSystem localFS, Path dir, FsPermission expected)
          Create the directory or check permissions if it already exists.
 



Copyright © 2009 The Apache Software Foundation