Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21422

Add metrics to LRFU cache policy

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0-alpha-1
    • llap
    • llap

    Description

      The LRFU cache policy for the LLAP data cache doesn't  provide enough insight to figure out, what is cached and why something might get evicted. This ticket is used to add Hadoop metrics 2 information (accessible via JMX) to the LRFU policy, providing following information:

      • How much memory is cached for data buffers
      • How much memory is cached for meta data buffers
      • How large is the min-heap of the cache policy
      • How long is the eviction short list (linked list)
      • How much memory is currently "locked" (buffers with positive reference count) and therefore in use by a query

      These new counters are found in the MX bean, following this path:

      Hadoop/LlapDaemon/LowLevelLrfuCachePolicy-<hostname>

       

      Attachments

        1. HIVE-21422.patch
          10 kB
          Oliver Draese
        2. HIVE-21422.1.patch
          12 kB
          Oliver Draese
        3. HIVE-21422.2.patch
          18 kB
          Oliver Draese

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            odraese Oliver Draese Assign to me
            odraese Oliver Draese
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment