Hari Sankar Sivarama Subramaniyan created HIVE-7354:
-------------------------------------------------------
Summary: windows:Need to set hbase jars in hadoop classpath
explicitly
Key: HIVE-7354
URL: https://issues.apache.org/jira/browse/HIVE-7354
Project: Hive
Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
Attachments: HIVE-7354.1.patch
n windows, when I run following hive-hbase integration test without setting
hbase jars in hadoop classpath, it fails with ClassNotFoundException:
drop table if exists hbase_1;
create table hbase_1(key string, age int) stored by
'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties (
"hbase.columns.mapping" = "info:age");
insert overwrite table hbase_1 select name, SUM(age) from studenttab10k group
by name;
However, in linux this test works even if jars are not explicitly added in
hadoop_classpath.
On windows, tests work fine if I add necessary hbase jars in classpath.
--
This message was sent by Atlassian JIRA
(v6.2#6252)