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

external-data-source-executor leaking global jni refs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 1.4
    • Impala 2.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: