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

LLAP: Cache metrics are incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      CacheCapacityUsed goes negative, CacheCapacityRemaining is a lot higher than the original cache size.

      This was while using the LRFU cache policy.

      Reproduces when running a query which reads far too much data to store in cache.

      name: "Hadoop:service=LlapDaemon,name=LlapDaemonCacheMetrics-",
      tag.ProcessName: "LlapDaemon",
      tag.SessionId: "37c590b9-cccd-4b81-8b5f-36b3659c3454",
      CacheCapacityRemaining: 15958381947264,
      CacheCapacityTotal: 10737418240,
      CacheCapacityUsed: -15947644529024,
      CacheReadRequests: 5837,
      CacheRequestedBytes: 28996627387,
      CacheHitBytes: 8266607002,
      CacheAllocatedArena: 79,
      CacheNumLockedBuffers: 315,
      CacheHitRatio: 0.28508857
      

      Attachments

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              sseth Siddharth Seth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: