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