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

Packages that use FsPermission
org.apache.hadoop.dfs A distributed implementation of FileSystem
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
 

Uses of FsPermission in org.apache.hadoop.dfs
 

Methods in org.apache.hadoop.dfs with parameters of type FsPermission
 FSDataOutputStream HftpFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 FSDataOutputStream DistributedFileSystem.create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress)
           
 void NameNode.create(String src, FsPermission masked, String clientName, boolean overwrite, short replication, long blockSize)
          Create a new file entry in the namespace.
 boolean HftpFileSystem.mkdirs(Path f, FsPermission permission)
           
 boolean DistributedFileSystem.mkdirs(Path f, FsPermission permission)
           
 boolean NameNode.mkdirs(String src, FsPermission masked)
          Create a directory (or hierarchy of directories) with the given name and permission.
 void DistributedFileSystem.setPermission(Path p, FsPermission permission)
          Set permission of a path.
 void NameNode.setPermission(String src, FsPermission permissions)
          Set permissions for an existing file/directory.
 

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 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.
 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.
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.
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 RawLocalFileSystem.mkdirs(Path f, FsPermission permission)
          Make the given file and all non-existent parents into directories.
 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.
abstract  boolean FileSystem.mkdirs(Path f, FsPermission permission)
          Make the given file and all non-existent parents into directories.
protected  void FileStatus.setPermission(FsPermission permission)
          Sets permission.
 void RawLocalFileSystem.setPermission(Path p, FsPermission permission)
          Use the command chmod to set permission.
 void HarFileSystem.setPermission(Path p, FsPermission permisssion)
          Not implemented.
 void FilterFileSystem.setPermission(Path p, FsPermission permission)
          Set permission of a path.
 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, 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)
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)
           
 



Copyright © 2008 The Apache Software Foundation