hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8115) Make PermissionStatusFormat public
Date Fri, 29 Sep 2017 21:42:03 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186469#comment-16186469
] 

Hadoop QA commented on HDFS-8115:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  6s{color} | {color:red}
HDFS-8115 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-8115 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12724291/HDFS-8115.1.patch
|
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/21444/console |
| Powered by | Apache Yetus 0.6.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> 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


Mime
View raw message