This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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 ?
I agree. Here's the link:
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-2015