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/04 22:42:14 UTC

[jira] Commented: (HIVE-708) Add TypedBytes SerDe for transform

    [ https://issues.apache.org/jira/browse/HIVE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739151#action_12739151 ] 

Zheng Shao commented on HIVE-708:
---------------------------------

Looked at the code a bit more. It seems it's compiled against 0.19.  We need to make the following changes to make it compile under 0.17:
* Replace org.apache.hadoop.io.ByteWritable with org.apache.hadoop.hive.serde2.io.ByteWritable. (The former is not in hadoop 0.17)
* Change the calls to org.apache.hadoop.io.BytesWritable - only get() and getSize() are available in hadoop 0.17.


> Add TypedBytes SerDe for transform
> ----------------------------------
>
>                 Key: HIVE-708
>                 URL: https://issues.apache.org/jira/browse/HIVE-708
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Serializers/Deserializers
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: hive.708.1.patch
>
>
> Currently, LazySimpleSerDe is used to send data to the user transformation functions - it would be useful to let the user specify the format of the data.
> Specifically, it would be very easy and useful to accommodate: 
> (cut and paste from Venky's mail)
> Here's the typedbytes stuff that Dumbo uses.
> http://issues.apache.org/jira/browse/HADOOP-1722
> From:
> http://static.last.fm/johan/huguk-20090414/klaas-hadoop-1722.pdf
> Timings for IP count program on 300gigs of weblogs:
> Java: 8 minutes
> Dumbo with typed bytes: 10 minutes
> Hive: 13 minutes
> Dumbo without typed bytes: 16 minutes
> They also have a fast python decoder for this, which is apparently 25% faster than the python version. 
> http://github.com/klbostee/ctypedbytes/tree/master
> http://dumbotics.com/2009/05/31/dumbo-on-clouderas-distribution/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.