Hi Readers, I am trying to experiment with an MR implementation of HCatalog. There was an example I found at http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/cdh4ig_topic_19_6.htmlthat i started out from.
I see that the we set the Input Format Class as under. // An HCatalog record as input Job job = new Job(conf, "UseHCat"); job.setInputFormatClass(HCatInputFormat.class); Now this example is based on the new API of MR but I to use Old API, is there any way of setting the Input Format Class with old API ? ... // org.apache.hadoop.mapred.JobConf<eclipse-javadoc:%E2%98%82=%20/C:%5C/workspace%5C/mrv1libs%5C/hadoop-2.0.0-mr1-cdh4.2.0%5C/hadoop-core-2.0.0-mr1-cdh4.2.0.jar%3Corg.apache.hadoop.mapred(JobConf.class%E2%98%83JobConf> .setInputFormat(Class<eclipse-javadoc:%E2%98%82=%20/C:%5C/workspace%5C/mrv1libs%5C/hadoop-2.0.0-mr1-cdh4.2.0%5C/hadoop-core-2.0.0-mr1-cdh4.2.0.jar%3Corg.apache.hadoop.mapred(JobConf.class%E2%98%83JobConf~setInputFormat~Ljava.lang.Class%5C%3C+Lorg.apache.hadoop.mapred.InputFormat;%3E;%E2%98%82Class><? extends InputFormat<eclipse-javadoc:%E2%98%82=%20/C:%5C/workspace%5C/mrv1libs%5C/hadoop-2.0.0-mr1-cdh4.2.0%5C/hadoop-core-2.0.0-mr1-cdh4.2.0.jar%3Corg.apache.hadoop.mapred(JobConf.class%E2%98%83JobConf~setInputFormat~Ljava.lang.Class%5C%3C+Lorg.apache.hadoop.mapred.InputFormat;%3E;%E2%98%82InputFormat>> theClass) m_job.setInputFormatClass(HCatInputFormat.class); Best, U