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

ORC: Cleanup writer per-row synchronization

    XMLWordPrintableJSON

Details

    • Remove per-row synchronization from ORC WriterImpl

    Description

      ORC writers were originally meant to be thread-safe, but in the present day implementation each ORC writer is entirely share-nothing which converts most of the synchronized blocks in ORC as entirely uncontested locks.

      These uncontested locks prevent the JVM from inlining/optimizing these methods, while adding no extra thread-safety to the ORC writers.

      Attachments

        1. HIVE-10191.1.patch
          8 kB
          Gopal Vijayaraghavan
        2. HIVE-10191.2.patch
          9 kB
          Gopal Vijayaraghavan
        3. HIVE-10191.3.patch
          8 kB
          Gopal Vijayaraghavan
        4. HIVE-10191.4.patch
          8 kB
          Gopal Vijayaraghavan
        5. HIVE-10191.5.patch
          8 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: