[
https://issues.apache.org/jira/browse/PHOENIX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978162#comment-13978162
]
Steven Le Roux commented on PHOENIX-11:
---------------------------------------
[~jamestaylor] I've been running some test with success against phoenix 3.0 and
HBase 0.94. The only thing to know is that it needs to be built for and run
over MRv2 because of the JobContext API break between 1.x and 2.x.
Tests consist in loading tables with auto schema discovery and loading AS ();
Basically :
{code:pig}
raw = LOAD 'hbase://table/<table>' USING
org.apache.phoenix.pig.PhoenixHBaseLoader('<zk>');
raw = LOAD 'hbase://table/<table>' USING
org.apache.phoenix.pig.PhoenixHBaseLoader('<zk>') AS (...);
{code}
Great contrib from [~maghamravikiran] !
> Create Pig Loader
> -----------------
>
> Key: PHOENIX-11
> URL: https://issues.apache.org/jira/browse/PHOENIX-11
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: maghamravikiran
> Fix For: 5.0.0, 3.1, 4.1
>
> Attachments: PHOENIX-11.patch,
> Phoenix-11-Pig-Loader-patch-to-4.0.patch,
> Phoenix-11-Pig-Loader-patch-to-master.patch, pig_integration-1.md,
> pig_integration.md
>
>
> A Pig Storage function exists, so we can store to phoenix tables. What is
> needed is a Loader to go with the Storer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)