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-14843) Improve FsPermission symbolic parsing unit test coverage
Date Tue, 12 Sep 2017 22:10:01 GMT

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

Hudson commented on HADOOP-14843:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12852 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12852/])
HADOOP-14843. Improve FsPermission symbolic parsing unit test coverage. (jlowe: rev 86f4d1c66c8b541465ff769e5d951305c41c715c)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/permission/TestFsPermission.java


> Improve FsPermission symbolic parsing unit test coverage
> --------------------------------------------------------
>
>                 Key: HADOOP-14843
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14843
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.7.4, 2.8.1
>            Reporter: Jason Lowe
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: HADOOP-14843.01.patch, HADOOP-14843.02.patch, HADOOP-14843.03.patch,
HADOOP-14843.04.patch, HADOOP-14843.patch
>
>
> A user misunderstood the syntax format for the FsPermission symbolic constructor and
passed the argument "-rwr" instead of "u=rw,g=r".  In 2.7 and earlier this was silently misinterpreted
as mode 0777 and in 2.8 it oddly became mode 0000.  In either case FsPermission should have
flagged "-rwr" as an invalid argument rather than silently misinterpreting it.



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

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


Mime
View raw message