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

Killing a non foreman node results in direct memory being held on

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • Execution - Flow
    • None

    Description

      Similar to DRILL-2792
      Happens for non foreman nodes as well.

      before:

      1/6          select * from sys.memory;
      +------------+------------+--------------+------------+----------------+------------+
      |  hostname  | user_port  | heap_current |  heap_max  | direct_current | direct_max |
      +------------+------------+--------------+------------+----------------+------------+
      | atsqa6c62.qa.lab | 31010      | 72738752     | 4151836672 | 6048576        | 34359738368 |
      | atsqa6c59.qa.lab | 31010      | 177100136    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c60.qa.lab | 31010      | 183895944    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c57.qa.lab | 31010      | 312198128    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c58.qa.lab | 31010      | 180850296    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c61.qa.lab | 31010      | 307163256    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c64.qa.lab | 31010      | 178883744    | 4151836672 | 2000000        | 34359738368 |
      | atsqa6c63.qa.lab | 31010      | 326312736    | 4151836672 | 2000000        | 34359738368 |
      +------------+------------+--------------+------------+----------------+------------+
      8 rows selected (2.209 seconds)
      

      After cancellation of killing non foreman node

      0: jdbc:drill:> select * from sys.memory;
      +------------+------------+--------------+------------+----------------+------------+
      |  hostname  | user_port  | heap_current |  heap_max  | direct_current | direct_max |
      +------------+------------+--------------+------------+----------------+------------+
      | atsqa6c62.qa.lab | 31010      | 395684912    | 4151836672 | 1745146306     | 34359738368 |
      | atsqa6c57.qa.lab | 31010      | 416717016    | 4151836672 | 1751348355     | 34359738368 |
      | atsqa6c58.qa.lab | 31010      | 365235768    | 4151836672 | 1713761930     | 34359738368 |
      | atsqa6c59.qa.lab | 31010      | 409859856    | 4151836672 | 1763119827     | 34359738368 |
      | atsqa6c60.qa.lab | 31010      | 369571576    | 4151836672 | 1759217229     | 34359738368 |
      | atsqa6c63.qa.lab | 31010      | 469310224    | 4151836672 | 1725239747     | 34359738368 |
      | atsqa6c64.qa.lab | 31010      | 471814416    | 4151836672 | 1735044144     | 34359738368 |
      +------------+------------+--------------+------------+----------------+------------+
      

      Attachments

        Activity

          People

            vicky Victoria Markman
            inramana Ramana Inukonda Nagaraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: