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

zhihai xu commented on HADOOP-11935:
------------------------------------

It looks like {{java.nio.file}} doesn't support sticky bit in 
[PosixFilePermission|http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermission.html].
But {{org.apache.hadoop.fs.permission.FsPermission}} supports [sticky 
bit|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/permission/FsPermission.java#L63].


> Provide optional native implementation of stat syscall.
> -------------------------------------------------------
>
>                 Key: HADOOP-11935
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11935
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs, native
>            Reporter: Chris Nauroth
>
> Currently, 
> {{RawLocalFileSystem.DeprecatedRawLocalFileStatus#loadPermissionInfo}} is 
> implemented as forking an {{ls}} command and parsing the output.  This was 
> observed to be a bottleneck in YARN-3491.  This issue proposes an optional 
> native implementation of a {{stat}} syscall through JNI.  We would maintain 
> the existing code as a fallback for systems where the native code is not 
> available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to