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

Reply via email to