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

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

I am not very comfortable with adding all hbase dependency jars in hive's 
classpath. Couple of issues:
* Order argument may be fine for hive, but what about hbase client itself, if 
it needs a different version of jar than what hive comes with, it will have 
trouble.
* Classpath will become too long. We already have this trouble with Windows 
where because of restriction of classpath length of 8K chars, classpath is 
truncated without any indication to user. Linux is relaxed and allows 256KB (I 
believe) but this could be problem there too.
Further in either of these two cases, when problem did arise, its very hard to 
debug because it manifest in total different area usually.

If you guys think adding only specific jars is unmaintainable solution, I think 
till we find better solution for this, we can recommend users to use 
HIVE_AUX_JARS_PATH env variable to supply these jars for hive's classpath. 


                
> Hive HBase Integration issue
> ----------------------------
>
>                 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 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

Reply via email to