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

Mustafa Iman reassigned HIVE-23745:
-----------------------------------


> 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 Iman
>            Assignee: Mustafa Iman
>            Priority: Major
>
> [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.3.4#803005)

Reply via email to