Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12175 Upgrade Kryo version to 3.0.x
  3. HIVE-12424

Make use of Kryo's Object-to-Object deep copy

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • None

    Description

      Currently, plan serialization and operator tree serialization uses Object -> bytes -> Object approach for deep copy. It also uses ByteArrayOutputStream as intermediate buffer whose write method is synchronized. Similarly read from ByteArrayInputStream is also synchronized. Also Utilities.clonePlan() creates a new HiveConf object that scans through conf directories and adds site.xml which is an expensive operation. All these can be avoided using Kryo's Object -> Object deep copy.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: