hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4314) failure to set sticky bit regression on branch-trunk-win
Date Sat, 15 Dec 2012 00:34:12 GMT
Chris Nauroth created HDFS-4314:

             Summary: failure to set sticky bit regression on branch-trunk-win
                 Key: HDFS-4314
                 URL: https://issues.apache.org/jira/browse/HDFS-4314
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
    Affects Versions: trunk-win
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth
             Fix For: trunk-win

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

View raw message