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

Caching OIs in OIFactory should be disabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • Query Processor
    • None

    Description

      OIFactory has various caches and most of them are accessed by key containing OIs. But OIs are not forced to implement hashCode/equals and that is resulted to some kind of memory leakage.

      Considering the price of calculating/accessing hashmap, just removing those caches are better solution, IMHO.

      Attachments

        1. HIVE-4709.D11199.1.patch
          6 kB
          Phabricator

        Activity

          People

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: