You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2013/02/01 01:49:14 UTC

[jira] [Commented] (HIVE-2379) Hive/HBase integration could be improved

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

Nick Dimiduk commented on HIVE-2379:
------------------------------------

You probably want to invoke {{TableMapReduceUtil.addDependencyJars(job)}} in addition to itemizing your explicit classes. This will negate the need to explicitly include ZooKeeper.class. See [TableMapReduceUtil.java#L439-L451|https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java#L439-L451].
                
> Hive/HBase integration could be improved
> ----------------------------------------
>
>                 Key: HIVE-2379
>                 URL: https://issues.apache.org/jira/browse/HIVE-2379
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, Clients, HBase Handler
>    Affects Versions: 0.7.1, 0.8.0, 0.9.0
>            Reporter: Roman Shaposhnik
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-2379.D7347.1.patch
>
>
> For now any Hive/HBase queries would require the following jars to be explicitly added via hive's add jar command:
> add jar /usr/lib/hive/lib/hbase-0.90.1-cdh3u0.jar;
> add jar /usr/lib/hive/lib/hive-hbase-handler-0.7.0-cdh3u0.jar;
> add jar /usr/lib/hive/lib/zookeeper-3.3.1.jar;
> add jar /usr/lib/hive/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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira