hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhijit Sharma <>
Subject Problem with Hive HBase Integration - Running Mapper task
Date Wed, 16 Mar 2011 16:51:51 GMT

I am trying to connect the hive shell running on my laptop to a remote
hadoop / hbase cluster and test out the HBase/Hive integration. I manage to
connect and create the table in hbase from remote Hive shell. I am also
passing the auxpath parameter to the shell (specifying the Hive/HBase
integration related jars). In addition I have copied over these files to
HDFS as well (I am using the user name hadoop - so the jars are stored in
HDFS under /user/hadoop).

However when  I fire a query on the HBase table - select * from h1 where
key=12; - the map reduce job launches but the map task fails with the
following error:

---- Cannot create an instance of InputSplit class =
	at org.apache.hadoop.mapred.MapTask.runOldMapper(
	at org.apache.hadoop.mapred.Child.main(


This basically indicates that the Mapper task is unable to locate the
Hive/HBase storage handler that it requires when running. This happens even
though this has been specified in the auxpath and uploaded to HDFS.

Any ideas/pointers/debug options on what I might be doing wrong? Any help is
much appreciated.

p.s. the exploded jars do get copied too under the taskTracker directory on
the cluster node


View raw message