Thank you Jeff. Will try that later today.
On Sun, Oct 25, 2009 at 10:56 PM, Jeff Zhang wrote:
> Hi gao,
>
> You did not provider the type of key and value explicitly in your code, so
> you have to write your map method as
>
> public void map(Object key, Object value, OutputCollector output,
>
Hi gao,
You did not provider the type of key and value explicitly in your code, so
you have to write your map method as
public void map(Object key, Object value, OutputCollector output,
Reporter reporter) throws IOException {
// TODO Auto-generated method stub
}
But I suggest you wr
Hi all, I have some question regarding how to compile a simple hadoop
program.
setup
Java 1.6
Ubuntu 9.02
Hadoop 0.19.2
//below is the mapper class
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
im