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

FsPermission#fromShort() should cache FsAction.values()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FsPermission#fromShort() calls FsAction.values() every time, which causes unnecessary performance penalty.

        Attachments

          Activity

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: