hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveenesh kumar <praveen...@gmail.com>
Subject MultipleInputs in hadoop 0.20.2
Date Wed, 24 Aug 2011 09:10:53 GMT
Hello guys,

I am looking to use MultipleInputs.addInputPath() method in hadoop 0.20.2.
But when I am looking to its signature in the API, its like this :
*
          public static void addInputPath(JobConf conf,
                                                        Path path,
                                                        Class<? extends
InputFormat> inputFormatClass)*

   *      public static void addInputPath(JobConf conf,
                                                       Path path,
                                                       Class<? extends
InputFormat> inputFormatClass,
                                                       Class<? extends
Mapper> mapperClass)*

But as far as I know in hadoop 0.20.2, JobConf object is deprecated.
How can I use MultipleInputs.addInputPath() in hadoop. Is there any other
way or any new class introduced instead of this one.

Thanks,
Praveenesh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message