You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/22 15:08:00 UTC

[jira] [Updated] (HIVE-23745) Avoid copying userpayload in task communicator

     [ https://issues.apache.org/jira/browse/HIVE-23745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-23745:
----------------------------------
    Labels: pull-request-available  (was: )

> Avoid copying userpayload in task communicator
> ----------------------------------------------
>
>                 Key: HIVE-23745
>                 URL: https://issues.apache.org/jira/browse/HIVE-23745
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Mustafa İman
>            Assignee: Mustafa İman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [https://github.com/apache/hive/blob/master/llap-common/src/java/org/apache/hadoop/hive/llap/tez/Converters.java#L182] I see this copy take a few milliseconds sometimes. Delay here adds up for all tasks of a single vertex in LlapTaskCommunicator as it processes tasks one by one. User payload never changes in this codepath. Copy is made because of limitations of Protobuf library. Protobuf adds a UnsafeByteOperations class that avoid copying of ByteBuffers in 3.1 version. This can be resolved when Protobuf is upgraded.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)