You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Russell Jurney (JIRA)" <ji...@apache.org> on 2012/08/23 08:05:42 UTC
[jira] [Created] (PIG-2889) HBaseAvroStorage UDF
Russell Jurney created PIG-2889:
-----------------------------------
Summary: HBaseAvroStorage UDF
Key: PIG-2889
URL: https://issues.apache.org/jira/browse/PIG-2889
Project: Pig
Issue Type: New Feature
Components: data, piggybank
Affects Versions: 0.11
Reporter: Russell Jurney
Assignee: Russell Jurney
Fix For: 0.11
I want to use HBaseStorage without specifying the schema. Storing data in Avro format in HBase is a very common practice. I would like to create a UDF, HBaseAvroStorage that works just like the internal HBaseStorage UDF, but loads the Avro schema metadata so that specifying a schema is unnecessary.
I haven't thought through all the particulars, so if you have - please chime in :)
I am also not sure if this isn't sort of handled some place in HCatalog?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2889) HBaseAvroStorage UDF
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Le Dem updated PIG-2889:
-------------------------------
Fix Version/s: (was: 0.11)
This will go in a future release
> HBaseAvroStorage UDF
> --------------------
>
> Key: PIG-2889
> URL: https://issues.apache.org/jira/browse/PIG-2889
> Project: Pig
> Issue Type: New Feature
> Components: data, piggybank
> Affects Versions: 0.11
> Reporter: Russell Jurney
> Assignee: Russell Jurney
>
> I want to use HBaseStorage without specifying the schema. Storing data in Avro format in HBase is a very common practice. I would like to create a UDF, HBaseAvroStorage that works just like the internal HBaseStorage UDF, but loads the Avro schema metadata so that specifying a schema is unnecessary.
> I haven't thought through all the particulars, so if you have - please chime in :)
> I am also not sure if this isn't sort of handled some place in HCatalog?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2889) HBaseAvroStorage UDF
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440406#comment-13440406 ]
Alan Gates commented on PIG-2889:
---------------------------------
Hive has an AvroSerDe which I believe can read schema on the fly like this. This should just work with HCat. In theory this should work with HBase as well, since SerDes are independent of IF/OF and storage handlers in Hive/HCat. This would all need to be tested.
All that said, there's nothing to prevent you from doing it as you propose in Pig without HCat.
> HBaseAvroStorage UDF
> --------------------
>
> Key: PIG-2889
> URL: https://issues.apache.org/jira/browse/PIG-2889
> Project: Pig
> Issue Type: New Feature
> Components: data, piggybank
> Affects Versions: 0.11
> Reporter: Russell Jurney
> Assignee: Russell Jurney
> Fix For: 0.11
>
>
> I want to use HBaseStorage without specifying the schema. Storing data in Avro format in HBase is a very common practice. I would like to create a UDF, HBaseAvroStorage that works just like the internal HBaseStorage UDF, but loads the Avro schema metadata so that specifying a schema is unnecessary.
> I haven't thought through all the particulars, so if you have - please chime in :)
> I am also not sure if this isn't sort of handled some place in HCatalog?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira