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

Remove use of reflection for User#getShortName

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.3
    • 0.99.0, 0.98.4, 0.94.22
    • None
    • None
    • 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. HBASE-11444.patch
          1 kB
          Andrew Kyle Purtell
        2. HBASE-11444.patch
          2 kB
          Andrew Kyle Purtell
        3. IntegrationTestIngestWithACL.get.svg
          31 kB
          Andrew Kyle Purtell
        4. IntegrationTestIngestWithACL.get.svg
          54 kB
          Andrew Kyle Purtell
        5. IntegrationTestIngestWithACL.put.svg
          62 kB
          Andrew Kyle Purtell
        6. IntegrationTestIngestWithACL.put.svg
          109 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: