hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13522) Add %A and %a formats for fs -stat command to print permissions
Date Tue, 18 Oct 2016 07:23:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15584721#comment-15584721

Hudson commented on HADOOP-13522:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10629 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10629/])
HADOOP-13522. Add %A and %a formats for fs -stat command to print (aajisaka: rev bedfec0c10144087168bc79501ffd5ab4fa52606)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Stat.java
* (edit) hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
* (edit) hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/FsPermission.java

> Add %A and %a formats for fs -stat command to print permissions
> ---------------------------------------------------------------
>                 Key: HADOOP-13522
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13522
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Alex Garbarini
>            Assignee: Alex Garbarini
>             Fix For: 2.9.0, 3.0.0-alpha2
>         Attachments: HADOOP-13522.001.patch, HADOOP-13522.002.patch, HADOOP-13522.003.patch,
HADOOP-13522.004.patch, HADOOP-13522.005.patch, HADOOP-13522.006.patch, HADOOP-13522.007.patch,
> This patch adds to fs/shell/Stat.java the missing options of %a and %A. 
> FileStatus already contains the getPermission() method required for returning symbolic
permissions. FsPermission contains the method to return the binary short, but nothing to present
in standard Octal format. 
> Most UNIX admins base their work on such standard octal permissions. Hence, this patch
also introduces one tiny method to translate the toShort() return into octal.
> Build has already passed unit tests and javadoc.

This message was sent by Atlassian JIRA

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

View raw message