You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2014/05/10 23:59:41 UTC
[jira] [Updated] (HIVE-7041) DoubleWritable/ByteWritable should
extend their hadoop counterparts
[ https://issues.apache.org/jira/browse/HIVE-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-7041:
-----------------------------
Attachment: HIVE-7041.1.patch
> DoubleWritable/ByteWritable should extend their hadoop counterparts
> -------------------------------------------------------------------
>
> Key: HIVE-7041
> URL: https://issues.apache.org/jira/browse/HIVE-7041
> Project: Hive
> Issue Type: Bug
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-7041.1.patch
>
>
> Hive has its own implementations of ByteWritable/DoubleWritable/ShortWritable. We cannot replace usage of these classes since they will break 3rd party UDFs/SerDes, however we can at least extend from the Hadoop version of these classes when possible to avoid duplicate code.
> When Hive finally moves to version 1.0 we might want to consider removing use of these Hive-specific writables and switching over to using the Hadoop version of these classes.
> ShortWritable didn't exist in Hadoop until 2.x so it looks like we can't do it with this class until 0.20/1.x support is dropped from Hive.
--
This message was sent by Atlassian JIRA
(v6.2#6252)