You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "zhihai xu (JIRA)" <ji...@apache.org> on 2015/06/15 08:37:00 UTC

[jira] [Updated] (HADOOP-11935) Provide optional native implementation of stat syscall.

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

zhihai xu updated HADOOP-11935:
-------------------------------
    Attachment: HADOOP-11935-NativeIO-prelim.patch

> 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
>         Attachments: HADOOP-11935-NativeIO-prelim.patch
>
>
> 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)