hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-3470) Make PermissionStatusFormat public
Date Thu, 09 Apr 2015 18:22:13 GMT
Arun Suresh created YARN-3470:
---------------------------------

             Summary: Make PermissionStatusFormat public
                 Key: YARN-3470
                 URL: https://issues.apache.org/jira/browse/YARN-3470
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Arun Suresh
            Priority: Minor


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.3.4#6332)

Mime
View raw message