You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2011/08/16 02:40:27 UTC
[jira] [Commented] (PIG-2220) Pig/HBase integration could be
improved
[ https://issues.apache.org/jira/browse/PIG-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085459#comment-13085459 ]
Dmitriy V. Ryaboy commented on PIG-2220:
----------------------------------------
Huh?
{code}
// Make sure the HBase, ZooKeeper, and Guava jars get shipped.
TableMapReduceUtil.addDependencyJars(job.getConfiguration(),
org.apache.hadoop.hbase.client.HTable.class,
com.google.common.collect.Lists.class,
org.apache.zookeeper.ZooKeeper.class);
{code}
> Pig/HBase integration could be improved
> ---------------------------------------
>
> Key: PIG-2220
> URL: https://issues.apache.org/jira/browse/PIG-2220
> Project: Pig
> Issue Type: Improvement
> Components: grunt
> Affects Versions: 0.9.0, 0.10
> Reporter: Roman Shaposhnik
> Priority: Minor
>
> For now any Pig/HBase queries would require the following jars to be explicitly added via Pig's register command:
> register /usr/lib/hbase/lib/zookeeper-3.3.3-cdh3u1.jar;
> register /usr/lib/hbase/hbase-0.90.3-cdh3u1.jar;
> register /usr/lib/hbase/lib/guava-r06.jar;
> the longer term solution, perhaps, should be to have the code at submit time call hbase's
> TableMapREduceUtil.addDependencyJar(job, HBaseStorageHandler.class) to ship it in distributedcache.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira