getMapOutputName(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path outputDirectory)
Get the output file name for a map task.
getReduceOutputName(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path outputDirectory,
int partitionId)
Get the output file name for a reduce task.
configuration - The configuration of the job for which the map output
is being written
outputDirectory - The directory where the output will be written
Returns:
The filename for the output of the map task
Throws:
IOException - if an exception occurs while accessing the output file
system
getReduceOutputName
public StringgetReduceOutputName(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path outputDirectory,
int partitionId)
throws IOException