You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/08/05 09:42:14 UTC
[jira] Assigned: (HIVE-720) Improve ByteStream by removing all
synchronized method calls
[ https://issues.apache.org/jira/browse/HIVE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao reassigned HIVE-720:
-------------------------------
Assignee: He Yongqiang
> Improve ByteStream by removing all synchronized method calls
> ------------------------------------------------------------
>
> Key: HIVE-720
> URL: https://issues.apache.org/jira/browse/HIVE-720
> Project: Hadoop Hive
> Issue Type: Improvement
> Reporter: Zheng Shao
> Assignee: He Yongqiang
> Attachments: HIVE-720.1.patch, HIVE-720.2.patch
>
>
> org.apache.hadoop.hive.serde2.ByteStream has 2 inner classes: Input and Output, which inherits from ByteArrayInputStream and ByteArrayOutputStream.
> Both these classes have a lot of sychronized methods, which make them really slow.
> We should let ByteStream.Input and ByteStream.Output directly inherit InputStream and OutputStream so we don't need to call synchronized methods at all. This will help LazySimpleSerDe, ColumnarSerDe as well as LazyBinarySerDe.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.