Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.