You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2017/09/29 21:40:01 UTC

[jira] [Issue Comment Deleted] (HDFS-8115) Make PermissionStatusFormat public

     [ https://issues.apache.org/jira/browse/HDFS-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Suresh updated HDFS-8115:
------------------------------
    Comment: was deleted

(was: Is this on target for 2.9.0 ?)

> Make PermissionStatusFormat public
> ----------------------------------
>
>                 Key: HDFS-8115
>                 URL: https://issues.apache.org/jira/browse/HDFS-8115
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>            Priority: Minor
>         Attachments: HDFS-8115.1.patch
>
>
> implementations of {{INodeAttributeProvider}} are required to provide an implementation of {{getPermissionLong()}} method. Unfortunately, the long permission format is an encoding of the user, group and mode with each field converted to int using {{SerialNumberManager}} which is package protected.
> Thus it would be nice to make the {{PermissionStatusFormat}} enum public (and also make the {{toLong()}} static method public) so that user specified implementations of {{INodeAttributeProvider}} may use it.
> This would also make it more consistent with {{AclStatusFormat}} which I guess has been made public for the same reason.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org