Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11444

Remove use of reflection for User#getShortName

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.3
    • Fix Version/s: 0.99.0, 0.98.4, 0.94.22
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The time we spend looking up a user's short name with User#getShortName in hot security code paths is mostly spent in Class#getMethod, ~70%. This is only ~1% of overall CPU time but is the bulk of time spent in AccessController#prePut, for example.

        Attachments

        1. IntegrationTestIngestWithACL.put.svg
          109 kB
          Andrew Kyle Purtell
        2. IntegrationTestIngestWithACL.put.svg
          62 kB
          Andrew Kyle Purtell
        3. IntegrationTestIngestWithACL.get.svg
          54 kB
          Andrew Kyle Purtell
        4. IntegrationTestIngestWithACL.get.svg
          31 kB
          Andrew Kyle Purtell
        5. HBASE-11444.patch
          2 kB
          Andrew Kyle Purtell
        6. HBASE-11444.patch
          1 kB
          Andrew Kyle Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Kyle Purtell
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: