Aaron Fabbri created HADOOP-16291:
-------------------------------------
Summary: HDFS Permissions Guide appears incorrect about
getFileStatus()/getFileInfo()
Key: HADOOP-16291
URL: https://issues.apache.org/jira/browse/HADOOP-16291
Project: Hadoop Common
Issue Type: Bug
Components: documentation
Reporter: Aaron Fabbri
Fix some errors in the HDFS Permissions doc.
Noticed this when reviewing HADOOP-16251. The FS Permissions
[documentation|https://hadoop.apache.org/docs/r3.2.0/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html]
seems to mark a lot of permissions as Not Applicable (N/A) when that is not
the case. In particular getFileInfo (getFileStatus) checks READ permission bit
[here|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java#L3202-L3204],
as it should.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]