Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6275

drillbit direct_current memory usage is not populated/updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.14.0
    • Component/s: Metadata
    • Labels:

      Description

      We used to keep track drill memory usage in sys.memory. And it was useful in detecting memory leaks. This feature seems broken. The direct_current memory usage is not populated or updated.

      0: jdbc:drill:zk=10.10.30.166:5181> select * from sys.memory;
      +---------------+------------+---------------+-------------+-----------------+---------------------+--------------+
      | hostname | user_port | heap_current | heap_max | direct_current | jvm_direct_current | direct_max |
      +---------------+------------+---------------+-------------+-----------------+---------------------+--------------+
      | 10.10.30.168 | 31010 | 1162636800 | 2147483648 | 0 | 22096 | 10737418240 |
      | 10.10.30.169 | 31010 | 1301175040 | 2147483648 | 0 | 22096 | 10737418240 |
      | 10.10.30.166 | 31010 | 989448872 | 2147483648 | 0 | 22096 | 10737418240 |
      | 10.10.30.167 | 31010 | 1767205312 | 2147483648 | 0 | 22096 | 10737418240 |
      +---------------+------------+---------------+-------------+-----------------+---------------------+--------------+
      4 rows selected (1.564 seconds)
      0: jdbc:drill:zk=10.10.30.166:5181> select * from sys.version;
      +------------------+-------------------------------------------+-------------------------------------------------------+----------------------------+---------------------+----------------------------+
      | version | commit_id | commit_message | commit_time | build_email | build_time |
      +------------------+-------------------------------------------+-------------------------------------------------------+----------------------------+---------------------+----------------------------+
      | 1.13.0-SNAPSHOT | 534212456cc25a49272838cba91c223f63df7fd2 | Cleanup when closing, and cleanup spill after a kill | 07.03.2018 @ 16:18:27 PST | inramana@gmail.com | 08.03.2018 @ 10:09:28 PST |
      +------------------+-------------------------------------------+-------------------------------------------------------+----------------------------+---------------------+----------------------------+
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timothyfarkas Timothy Farkas
                Reporter:
                cchang@maprtech.com Chun Chang
                Reviewer:
                Kunal Khatua
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: