Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-989

Revisit JMX Metrics to fix the Out of Memory issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Server
    • None
    • Patch

    Description

      Bug KNOX-986 uncovers problem with Metrics when large number of unique URLs are accessed via Knox. The problem here is that Knox creates metrics objects per unique URL, the metrics objects are not flushed out (for obvious reason - to maintain the metric state).

      We need to come up with a proper fix to mitigate this while being able to use the JMX Metrics.
      One way of doing this would be to have Metrics objects at service level ( e.g. /gateway/sandbox/webhdfs/* ) the other way would be to have a reaper process that clears out the unused objects. Other suggestions are welcomed !

      Attachments

        1. KNOX-989.1.patch
          3 kB
          Mohammad Islam
        2. KNOX-989.2.patch
          5 kB
          Mohammad Islam
        3. Screen Shot 2017-08-16 at 1.56.16 PM.png
          76 kB
          Sandeep More

        Issue Links

          Activity

            People

              kamrul Mohammad Islam
              smore Sandeep More
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: