Hi Ankit, I'm not sure but you can add a following property to hive-site.xml.
<property> <name>hive.aux.jars.path</name> <value>file:///home/user/xxx.jar,file:///home/user/xxx2.jar</value> </property> So, add the property and restart hive server. - Youngwoo 2011/4/15 Ankit Jain <ankitjainc...@gmail.com> > Hi, > I am able to launch the map-reduce job (select userid from user) from hive > shell.I am also passing the auxpath parameter to the shell (specifying the > Hive/HBase integration related jars). > However,when i trying to launch the map-reduce job(select userid from User) > from jdbc client.The map reduce job launches but the map task fails with the > following error: > java.io.IOException: Cannot create an instance of InputSplit class = > > org.apache.hadoop.hive.hbase.HBaseSplit:org.apache.hadoop.hive.hbase.HBaseSplit > > org.apache.hadoop.hive.ql.io.HiveInputFormat$HiveInputSplit.readFields(HiveInputFormat.java:143) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:333) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > > 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. > > Is there a way to specify the auxpath parameter(Hive/HBase integration > related jars) when running hive in hive server mode. > > Thanks, > Ankit >