AnsweredAssumed Answered

MapReduce program to use HCAT with Hive partition

Question asked by arjun_hareendran on Dec 24, 2015
Latest reply on Jan 11, 2016 by abhirj87
Can anyone help me on how to use hive partition clause in mapreduce hcat program ?
I was thinking of using

HCatInputFormat.setInput(job, InputJobInfo.create(databaseName,hiveTableName, partitionname));

When i ran the program i get java.lang.NoClassDefFoundError: org/apache/hcatalog/mapreduce/InputJobInfo

I have attached the hcat jars in oozie lib but still fails, Which jar should i be using in mapr to get this fixed ? I use hive 1.0

Any help would be really appreciated.

Outcomes