You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aaron Fabbri (JIRA)" <ji...@apache.org> on 2019/05/02 21:00:03 UTC

[jira] [Created] (HADOOP-16291) HDFS Permissions Guide appears incorrect about getFileStatus()/getFileInfo()

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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org