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

Suresh Srinivas resolved HADOOP-9146.
-------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

I committed the patch to branch-trunk-win. Thank you Chris.
                
> failure to set sticky bit regression on branch-trunk-win
> --------------------------------------------------------
>
>                 Key: HADOOP-9146
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9146
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: trunk-win
>
>         Attachments: HADOOP-9146-branch-trunk-win.1.patch
>
>
> The problem is visible by running {{TestDFSShell#testFilePermissions}}.  The 
> test fails on trying to set sticky bit.  The problem is that branch-trunk-win 
> accidentally merged in a branch-1 change in 
> {{RawLocalFileSystem#setPermission}} to call {{FileUtil#setPermission}}, 
> which sets permissions using Java {{File}} API.  There is no way to set 
> sticky bit through this API.  We need to switch back to the trunk 
> implementation of {{RawLocalFileSystem#setPermission}}, which uses either 
> native code or a shell call to external chmod.

--
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