user1261215
user1261215

Reputation:

output of map task written to local file system or HDFS?

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

Answers (1)

Ravi Kadaboina
Ravi Kadaboina

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.

More info:

UPDATE: As mentioned by Chris White, it will be written directly to HDFS and not the local file system.

Upvotes: 2

Related Questions