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/11/14 02:26:17 UTC

[jira] [Commented] (HIVE-2055) Hive should add HBase classpath dependencies when available

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

Nick Dimiduk commented on HIVE-2055:
------------------------------------

Hi [~sushanth], [~ashutoshc].

See my latest patch on HBASE-8438. It provides a new command to the hbase bin script that prints out the jars our existing addDependencyJars detects. It's not perfect as it includes 2 unnecessary hadoop jars, but it's a lot better than blindly calling `hbase classpath`. Does this meet your expectations regarding environment variable length limitations?

{noformat}
$ hbase mapredcp 2>/dev/null | tr ':' '\n' | wc
     12      12     660
$ hbase classpath 2>/dev/null | tr ':' '\n' | wc
    116     115    5459
{noformat}

> Hive should add HBase classpath dependencies when available
> -----------------------------------------------------------
>
>                 Key: HIVE-2055
>                 URL: https://issues.apache.org/jira/browse/HIVE-2055
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 0.10.0
>            Reporter: sajith v
>         Attachments: 0001-HIVE-2055-include-hbase-dependencies-in-launch-scrip.patch, HIVE-2055.patch
>
>
> Created an external table in hive , which points to the HBase table. When tried to query a column using the column name in select clause got the following exception : ( java.lang.ClassNotFoundException: org.apache.hadoop.hive.hbase.HiveHBaseTableInputFormat), errorCode:12, SQLState:42000)



--
This message was sent by Atlassian JIRA
(v6.1#6144)