Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1801

external-data-source-executor leaking global jni refs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 1.4
    • Fix Version/s: Impala 2.2
    • Component/s: None
    • Labels:
      None

      Description

      repro:

      for i in {1..1000}; do impala-shell.sh -q "select * from functional.alltypes_datasource limit 1;" -B --quiet &> /tmp/a; done
      

      The perm-gen memory slowly grows as reported by the /metrics debug page.

      external-data-source-executor was calling JniUtil::LocalToGlobalRef
      which adds global refs to a static list and thus never get GC'd.

        Attachments

          Activity

            People

            • Assignee:
              mjacobs Matthew Jacobs
              Reporter:
              mjacobs Matthew Jacobs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: