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

Qtests: running all cases from TestNegativeCliDriver results in OOMs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Metastore, Tests
    • None

    Description

      I think that it is caused by unclosed SessionState objects which are piling up and cause OOM..

      There is special have been made to start a new sessionstate for every qtest; but the old one is not closed up to this point

      this prevents running all TestNegativeCliDriver tests in one maven call....I keep getting OOMs

      This issues sometimes appears on the ptest executor as well and its reported as a failed batch.

      I've gone back in time a bit....seems like at c925cf8d2bdf646f5c3c57ed7252c01b2ab33eec it was ok to execute the whole batch; but at 1b4baf474c15377cc9f0bacdda317feabeefacaf and probably also at a42314deb07a1c8d9d4daeaa799ad1c1ebb0c6c9 its not possible anymore. I suspect that there is possibly another issue....or these are just the consequences that the sessionstate got heavier by a few hundred bytes; and made it easier to fill up the heap....

      Attachments

        1. HIVE-18383.02.patch
          7 kB
          Zoltan Haindrich
        2. HIVE-18383.01.patch
          6 kB
          Zoltan Haindrich

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: