I think your conf is incorrectly set and your job was run locally. Also, have you done jobconf.setNumReduceTasks(0)? Try running some example jobs to test your setting.
Nicholas Sze ----- Original Message ---- > From: Erik Holstad <[EMAIL PROTECTED]> > To: core-user@hadoop.apache.org > Sent: Thursday, July 24, 2008 3:17:40 PM > Subject: 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