A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 12, 2013
Dec 02, 2013 11:39:22
I want to use MultipleInputs and a seperate Mapper for each Input-Source but I can't set it up right
Here is my try:
MultipleInputs mi=new MultipleInputs(); mi.addInputPath(job, new Path("input\\city.txt"), TextInputFormat.class, Map.class);
Have tried this too:
mi.addInputPath(new JobConf(), new Path("input\\city.txt"), TextInputFormat.class, Map.class);
The error-Message says, that the TextInputFormat and Map-Classes are not right.
I am using Hadoop 1.1.2
Has somebody set this up correctly and can help me ?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Multiple Inputs
mapreduce giving a wrong count
HADOOP Reducer code not working...!
Eclipse + Tomcat + JSP's on the Mac
Hadoop(Beginner Level Question)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014