Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3378

StringBuilder.append spend too much time, should be replace to improve plugin performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 3.0.0, 2.2.0
    • plugins
    • None

    Description

      When enable ranger hdfs plugin, the performance isĀ degraded. Use java analysis tools found theĀ org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.getAsString function take too much time. We should replace it to improve performance.

      Attachments

        1. getAsString.png
          885 kB
          caozhiqiang
        2. RANGER-3378-branch-2.0.1.001.patch
          5 kB
          caozhiqiang
        3. getAsString.png
          420 kB
          caozhiqiang
        4. RANGER-3378-branch-2.0.1.003.patch
          2 kB
          caozhiqiang
        5. RANGER-3378-branch-2.0.1.004.patch
          2 kB
          caozhiqiang

        Issue Links

          Activity

            People

              caozhiqiang caozhiqiang
              caozhiqiang caozhiqiang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: