Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.ftp | |
org.apache.hadoop.fs.http.client | |
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.fs.viewfs | |
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
org.apache.hadoop.hdfs.nfs.nfs3 | |
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.protocolPB | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.web | |
org.apache.hadoop.hdfs.web.resources | |
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.v2.jobhistory | |
org.apache.hadoop.util |
Common utilities.
|
org.apache.hadoop.yarn.server.nodemanager | |
org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer |
Modifier and Type | Field and Description |
---|---|
static FsPermission |
FileContext.DEFAULT_PERM
Default 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 FsPermission |
FileContext.DIR_DEFAULT_PERM
Default permission for directory
|
static FsPermission |
FileContext.FILE_DEFAULT_PERM
Default permission for file
|
Modifier and Type | Method and Description |
---|---|
FsPermission |
FileStatus.getPermission()
Get FsPermission associated with the file.
|
FsPermission |
FileContext.getUMask() |
FsPermission |
Options.CreateOpts.Perms.getValue() |
Modifier and Type | Method and Description |
---|---|
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 |
FilterFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
RawLocalFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
abstract FSDataOutputStream |
FileSystem.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.
|
FSDataOutputStream |
HarFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
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.
|
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt)
Create an FSDataOutputStream at the indicated Path with a custom
checksum option
|
HdfsDataOutputStream |
Hdfs.createInternal(Path f,
EnumSet<CreateFlag> createFlag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
abstract FSDataOutputStream |
AbstractFileSystem.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 of
AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...) except that the opts
have been declared explicitly. |
FSDataOutputStream |
FilterFs.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
FSDataOutputStream |
DelegateToFileSystem.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
FSDataOutputStream |
ChecksumFs.createInternal(Path f,
EnumSet<CreateFlag> createFlag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
Deprecated.
API only for 0.20-append
|
FSDataOutputStream |
ChecksumFileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
FilterFileSystem.createNonRecursive(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
Deprecated.
|
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
Deprecated.
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
Deprecated.
API only for 0.20-append
|
void |
Hdfs.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
abstract void |
AbstractFileSystem.mkdir(Path dir,
FsPermission permission,
boolean createParent)
The specification of this method matches that of
FileContext.mkdir(Path, FsPermission, boolean) except that the Path
f must be fully qualified and the permission is absolute (i.e. |
void |
FilterFs.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
void |
FileContext.mkdir(Path dir,
FsPermission permission,
boolean createParent)
Make(create) a directory and all the non-existent parents.
|
void |
DelegateToFileSystem.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
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 |
FilterFileSystem.mkdirs(Path f,
FsPermission permission) |
boolean |
RawLocalFileSystem.mkdirs(Path f,
FsPermission permission) |
abstract boolean |
FileSystem.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.
|
static Options.CreateOpts.Perms |
Options.CreateOpts.perms(FsPermission perm) |
protected FSDataOutputStream |
FilterFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
protected FSDataOutputStream |
FileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt)
Deprecated.
|
protected boolean |
FilterFileSystem.primitiveMkdir(Path f,
FsPermission abdolutePermission) |
protected boolean |
RawLocalFileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission) |
protected boolean |
FileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission)
Deprecated.
|
protected void |
FileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission,
boolean createParent)
Deprecated.
|
static void |
FileUtil.setPermission(File f,
FsPermission permission)
Set permissions to the required value.
|
protected void |
FileStatus.setPermission(FsPermission permission)
Sets permission.
|
void |
Hdfs.setPermission(Path f,
FsPermission permission) |
void |
FilterFileSystem.setPermission(Path p,
FsPermission permission) |
abstract void |
AbstractFileSystem.setPermission(Path f,
FsPermission permission)
The specification of this method matches that of
FileContext.setPermission(Path, FsPermission) except that Path f
must be for this file system. |
void |
FilterFs.setPermission(Path f,
FsPermission permission) |
void |
FileContext.setPermission(Path f,
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.
|
void |
HarFileSystem.setPermission(Path p,
FsPermission permission)
Not implemented.
|
void |
DelegateToFileSystem.setPermission(Path f,
FsPermission permission) |
void |
FileContext.setUMask(FsPermission newUmask)
Set umask to the supplied parameter.
|
Constructor and Description |
---|
FileStatus(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 supported
|
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) |
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)
Constructor
|
Options.CreateOpts.Perms(FsPermission perm) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
HttpFSFileSystem.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.
|
boolean |
HttpFSFileSystem.mkdirs(Path f,
FsPermission permission)
Make the given file and all non-existent parents into
directories.
|
static String |
HttpFSFileSystem.permissionToString(FsPermission p)
Converts a
FsPermission to a Unix octal representation. |
void |
HttpFSFileSystem.setPermission(Path p,
FsPermission permission)
Set permission of a path.
|
Modifier and Type | Method and Description |
---|---|
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 for directory and symlink.
|
static FsPermission |
FsPermission.getDirDefault()
Get the default permission for directory.
|
static FsPermission |
FsPermission.getFileDefault()
Get the default permission for file.
|
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
|
Modifier and Type | Method and Description |
---|---|
FsPermission |
FsPermission.applyUMask(FsPermission umask)
Apply a umask to this permission and return a new one.
|
PermissionStatus |
PermissionStatus.applyUMask(FsPermission umask)
Apply umask.
|
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. |
Constructor and Description |
---|
FsPermission(FsPermission other)
Copy constructor
|
PermissionStatus(String user,
String group,
FsPermission permission)
Constructor
|
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
S3FileSystem.create(Path file,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
boolean |
S3FileSystem.mkdirs(Path path,
FsPermission permission) |
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
NativeS3FileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
boolean |
NativeS3FileSystem.mkdirs(Path f,
FsPermission permission) |
Modifier and Type | Field and Description |
---|---|
static FsPermission |
Constants.PERMISSION_RRR |
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
ViewFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
ViewFs.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
FSDataOutputStream |
ViewFileSystem.createNonRecursive(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
void |
ViewFs.mkdir(Path dir,
FsPermission permission,
boolean createParent) |
boolean |
ViewFileSystem.mkdirs(Path dir,
FsPermission permission) |
void |
ViewFs.setPermission(Path f,
FsPermission permission) |
void |
ViewFileSystem.setPermission(Path f,
FsPermission permission) |
Modifier and Type | Method and Description |
---|---|
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) |
HdfsDataOutputStream |
DistributedFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
InetSocketAddress[] favoredNodes)
Same as
DistributedFileSystem.create(Path, FsPermission, boolean, int, short, long,
Progressable) with the addition of favoredNodes that is a hint to
where the namenode should place the file blocks. |
FSDataOutputStream |
DistributedFileSystem.create(Path f,
FsPermission permission,
EnumSet<CreateFlag> cflags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
DFSOutputStream |
DFSClient.create(String src,
FsPermission permission,
EnumSet<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize,
Progressable progress,
int buffersize,
Options.ChecksumOpt checksumOpt)
Create a new dfs file with the specified block replication
with write-progress reporting and return an output stream for writing
into the file.
|
DFSOutputStream |
DFSClient.create(String src,
FsPermission permission,
EnumSet<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize,
Progressable progress,
int buffersize,
Options.ChecksumOpt checksumOpt,
InetSocketAddress[] favoredNodes)
Same as
#create(String, FsPermission, EnumSet, boolean, short, long,
Progressable, int, ChecksumOpt) with the addition of favoredNodes that is
a hint to where the namenode should place the file blocks. |
DFSOutputStream |
DFSClient.create(String src,
FsPermission permission,
EnumSet<CreateFlag> flag,
short replication,
long blockSize,
Progressable progress,
int buffersize,
Options.ChecksumOpt checksumOpt)
Call
#create(String, FsPermission, EnumSet, boolean, short,
long, Progressable, int, ChecksumOpt) with createParent
set to true. |
FSDataOutputStream |
DistributedFileSystem.createNonRecursive(Path f,
FsPermission permission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
Same as create(), except fails if parent directory doesn't already exist.
|
boolean |
DistributedFileSystem.mkdir(Path f,
FsPermission permission)
Create a directory, only when the parent directories exist.
|
boolean |
HftpFileSystem.mkdirs(Path f,
FsPermission permission) |
boolean |
DistributedFileSystem.mkdirs(Path f,
FsPermission permission)
Create a directory and its parent directories.
|
boolean |
DFSClient.mkdirs(String src,
FsPermission permission,
boolean createParent)
Create a directory (or hierarchy of directories) with the given
name and permission.
|
protected HdfsDataOutputStream |
DistributedFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
DFSOutputStream |
DFSClient.primitiveCreate(String src,
FsPermission absPermission,
EnumSet<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize,
Progressable progress,
int buffersize,
Options.ChecksumOpt checksumOpt)
Same as {
#create(String, FsPermission, EnumSet, short, long,
Progressable, int, ChecksumOpt) except that the permission
is absolute (ie has already been masked with umask. |
protected boolean |
DistributedFileSystem.primitiveMkdir(Path f,
FsPermission absolutePermission) |
boolean |
DFSClient.primitiveMkdir(String src,
FsPermission absPermission)
Same {
DFSClient.mkdirs(String, FsPermission, boolean) except
that the permissions has already been masked against umask. |
boolean |
DFSClient.primitiveMkdir(String src,
FsPermission absPermission,
boolean createParent)
Same {
DFSClient.mkdirs(String, FsPermission, boolean) except
that the permissions has already been masked against umask. |
void |
DistributedFileSystem.setPermission(Path p,
FsPermission permission) |
void |
DFSClient.setPermission(String src,
FsPermission permission)
Set permissions to a file or directory.
|
Modifier and Type | Field and Description |
---|---|
static FsPermission |
RpcProgramNfs3.umask |
Modifier and Type | Method and Description |
---|---|
FsPermission |
HdfsFileStatus.getPermission()
Get FsPermission associated with the file.
|
Modifier and Type | Method and Description |
---|---|
HdfsFileStatus |
ClientProtocol.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize)
Create a new file entry in the namespace.
|
void |
ClientProtocol.createSymlink(String target,
String link,
FsPermission dirPerm,
boolean createParent)
Create symlink to a file or directory.
|
boolean |
ClientProtocol.mkdirs(String src,
FsPermission masked,
boolean createParent)
Create a directory (or hierarchy of directories) with the given
name and permission.
|
void |
ClientProtocol.setPermission(String src,
FsPermission permission)
Set permissions for an existing file/directory.
|
Constructor and Description |
---|
HdfsFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
String owner,
String group,
byte[] symlink,
byte[] path,
long fileId,
int childrenNum)
Constructor
|
HdfsLocatedFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
String owner,
String group,
byte[] symlink,
byte[] path,
long fileId,
LocatedBlocks locations,
int childrenNum)
Constructor
|
SnapshottableDirectoryStatus(long modification_time,
long access_time,
FsPermission permission,
String owner,
String group,
byte[] localName,
long inodeId,
int childrenNum,
int snapshotNumber,
int snapshotQuota,
byte[] parentFullPath) |
Modifier and Type | Method and Description |
---|---|
static FsPermission |
PBHelper.convert(HdfsProtos.FsPermissionProto p) |
Modifier and Type | Method and Description |
---|---|
static HdfsProtos.FsPermissionProto |
PBHelper.convert(FsPermission p) |
HdfsFileStatus |
ClientNamenodeProtocolTranslatorPB.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize) |
void |
ClientNamenodeProtocolTranslatorPB.createSymlink(String target,
String link,
FsPermission dirPerm,
boolean createParent) |
boolean |
ClientNamenodeProtocolTranslatorPB.mkdirs(String src,
FsPermission masked,
boolean createParent) |
void |
ClientNamenodeProtocolTranslatorPB.setPermission(String src,
FsPermission permission) |
Modifier and Type | Method and Description |
---|---|
FsPermission |
INode.getFsPermission()
The same as getFsPermission(null).
|
FsPermission |
INodeAttributes.getFsPermission() |
FsPermission |
INodeAttributes.SnapshotCopy.getFsPermission() |
FsPermission |
INodeReference.getFsPermission(Snapshot snapshot) |
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
WebHdfsFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
boolean |
WebHdfsFileSystem.mkdirs(Path f,
FsPermission permission) |
void |
WebHdfsFileSystem.setPermission(Path p,
FsPermission permission) |
Modifier and Type | Method and Description |
---|---|
static FsPermission |
PermissionParam.getDefaultFsPermission() |
FsPermission |
PermissionParam.getFsPermission() |
Constructor and Description |
---|
PermissionParam(FsPermission value)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static FsPermission |
JobSubmissionFiles.JOB_DIR_PERMISSION |
static FsPermission |
JobSubmissionFiles.JOB_FILE_PERMISSION |
Modifier and Type | Field and Description |
---|---|
static FsPermission |
JobHistoryUtils.HISTORY_DONE_DIR_PERMISSION
Permissions for the history done dir and derivatives.
|
static FsPermission |
JobHistoryUtils.HISTORY_DONE_DIR_UMASK
Umask for the done dir and derivatives.
|
static FsPermission |
JobHistoryUtils.HISTORY_DONE_FILE_PERMISSION |
static FsPermission |
JobHistoryUtils.HISTORY_INTERMEDIATE_DONE_DIR_PERMISSIONS
Permissions for the intermediate done directory.
|
static FsPermission |
JobHistoryUtils.HISTORY_INTERMEDIATE_FILE_PERMISSIONS |
static FsPermission |
JobHistoryUtils.HISTORY_INTERMEDIATE_USER_DIR_PERMISSIONS
Permissions for the user directory under the intermediate done directory.
|
static FsPermission |
JobHistoryUtils.HISTORY_STAGING_DIR_PERMISSIONS
Permissions for the history staging dir while JobInProgress.
|
static FsPermission |
JobHistoryUtils.HISTORY_STAGING_USER_DIR_PERMISSIONS
Permissions for the user directory under the staging directory.
|
Modifier and Type | Method and Description |
---|---|
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 void |
DiskChecker.mkdirsWithExistsAndPermissionCheck(LocalFileSystem localFS,
Path dir,
FsPermission expected)
Create the directory or check permissions if it already exists.
|
Modifier and Type | Field and Description |
---|---|
static FsPermission |
ContainerExecutor.TASK_LAUNCH_SCRIPT_PERMISSION |
Modifier and Type | Field and Description |
---|---|
static FsPermission |
ResourceLocalizationService.NM_PRIVATE_PERM |
Copyright © 2013 Apache Software Foundation. All rights reserved.