You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Attila Magyar <am...@hortonworks.com> on 2020/06/05 13:13:46 UTC

Review Request 72570: HiveProtoLogger should carry out JSON conversion in its own thread

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72570/
-----------------------------------------------------------

Review request for hive, Ashutosh Chauhan and Rajesh Balamohan.


Bugs: HIVE-23277
    https://issues.apache.org/jira/browse/HIVE-23277


Repository: hive-git


Description
-------

This is to avoid JSON serialization being in the hotpath of compiler thread. In short queries, where subsecond latency matters, this becomes an issue along with the query complexity.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java 750abcb6a61 
  ql/src/java/org/apache/hadoop/hive/ql/hooks/HiveHookEventProtoPartialBuilder.java PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/hooks/HiveProtoLoggingHook.java 86a68008515 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/StageIDsRearranger.java 6c874754a1f 
  ql/src/test/org/apache/hadoop/hive/ql/hooks/TestHiveHookEventProtoPartialBuilder.java PRE-CREATION 
  ql/src/test/org/apache/hadoop/hive/ql/hooks/TestHiveProtoLoggingHook.java add4b6863d8 


Diff: https://reviews.apache.org/r/72570/diff/1/


Testing
-------

pending


Thanks,

Attila Magyar