程序包 | 说明 |
---|---|
org.apache.hadoop.fs.permission | |
org.apache.hadoop.hdfs.server.namenode |
限定符和类型 | 方法和说明 |
---|---|
PermissionStatus |
PermissionStatus.applyUMask(FsPermission umask)
Apply umask.
|
static PermissionStatus |
PermissionStatus.createImmutable(String user,
String group,
FsPermission permission)
Create an immutable
PermissionStatus object. |
static PermissionStatus |
PermissionStatus.read(DataInput in)
Create and initialize a
PermissionStatus from DataInput . |
限定符和类型 | 方法和说明 |
---|---|
protected PermissionStatus |
FSNamesystem.getUpgradePermission()
Return the default path permission when upgrading from releases with no
permissions (<=0.15) to releases with permissions (>=0.16)
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
FSNamesystem.mkdirs(String src,
PermissionStatus permissions)
Create all the necessary directories
|
Copyright © 2009 The Apache Software Foundation