You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Erik Holstad <er...@gmail.com> on 2008/07/25 00:17:40 UTC

Trying to write to HDFS from mapreduce.

Hi!
I'm writing a mapreduce job where I want the output from the mapper to go
strait
to the HDFS without passing the reduce method. Have been told that I can do:
c.setOutputFormat(TextOutputFormat.class); also added
Path path = new Path("user");
FileOutputFormat.setOutputPath(c, path);

But I still ended up with the result in the local filesystem instead.

Regards Erik