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

Stephen Chu updated HDFS-2127:
------------------------------

    Attachment: HDFS-2127.patch

Attached a patch that modifies TestPermission.java

Renamed "testFilePermision()" to "testFilePermission()."

In testFilePermission(), we invoke an AccessControlException when we call 
canMkdirs(), canCreate(), and canOpen(). I modified canMkdirs(), canCreate(), 
canOpen(), and canRename() to check that the AccessControlExceptions contain 
the absolute paths.
                
> Add a test that ensure AccessControlExceptions contain a full path
> ------------------------------------------------------------------
>
>                 Key: HDFS-2127
>                 URL: https://issues.apache.org/jira/browse/HDFS-2127
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: name-node
>            Reporter: Eli Collins
>            Assignee: Stephen Chu
>              Labels: newbie
>         Attachments: HDFS-2127.patch
>
>
> HDFS-1628 added full paths to AccessControlExceptions, we should have a test 
> that covers the cases that were done manually in [this 
> comment|https://issues.apache.org/jira/browse/HDFS-1628?focusedCommentId=12996135&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12996135].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to