Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11935

Provide optional native implementation of stat syscall.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs, native
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated: