Reputation:
I read that the Hadoop Map tasks write their output to local disk.
Suppose if i have map only tasks without any reducers, still the map outputs will be written to local file system ?
Upvotes: 1
Views: 1233
Reputation: 8574
Yes, it will still write the output to the path set by FileOutputFormat.setOutputPath(JobConf, Path) and there will no sorting or partitioning.
UPDATE: As mentioned by Chris White, it will be written directly to HDFS and not the local file system.
Upvotes: 2