Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
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
Attachments
Issue Links
- incorporates
-
HIVE-10174 LLAP: ORC MemoryManager is singleton synchronized
- Resolved
- relates to
-
HIVE-7741 Don't synchronize WriterImpl.addRow() when dynamic.partition is enabled
- Resolved