hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2055) Hive should add HBase classpath dependencies when available
Date Mon, 18 Nov 2013 20:21:33 GMT

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

Ashutosh Chauhan commented on HIVE-2055:
----------------------------------------

We dont want hbase conf and jars to take precedence over rest of classpath.  So, instead of

+  export HADOOP_CLASSPATH="${HBASE_CONF_DIR}:${HADOOP_CLASSPATH}"
+    export HADOOP_CLASSPATH="${x}:${HADOOP_CLASSPATH}"

do
+  export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${HBASE_CONF_DIR}:"
+    export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${x}"

Rest of patch looks good.

> 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,
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)

Mime
View raw message