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

Use KryoPool instead of thread-local caching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Query Processor

    Description

      Kryo 3.x introduces a Pooling mechanism for Kryo

      https://github.com/EsotericSoftware/kryo#pooling-kryo-instances

      // Build pool with SoftReferences enabled (optional)
      KryoPool pool = new KryoPool.Builder(factory).softReferences().build();
      

      Attachments

        1. HIVE-12302.1.patch
          152 kB
          Prasanth Jayachandran
        2. HIVE-12302.2.patch
          151 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: