Save This Page
Home » hadoop-0.14.4 » org.apache » hadoop » mapred » [javadoc | source]
org.apache.hadoop.mapred
class: MapOutputFile [javadoc | source]
java.lang.Object
   org.apache.hadoop.mapred.MapOutputFile
Manipulate the working area for the transient store for maps and reduces.
Method from org.apache.hadoop.mapred.MapOutputFile Summary:
cleanupStorage,   getInputFile,   getInputFileForWrite,   getOutputFile,   getOutputFileForWrite,   getOutputIndexFile,   getOutputIndexFileForWrite,   getSpillFile,   getSpillFileForWrite,   getSpillIndexFile,   getSpillIndexFileForWrite,   removeAll,   setConf
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.hadoop.mapred.MapOutputFile Detail:
 public  void cleanupStorage() throws IOException 
    Removes all contents of temporary storage. Called upon startup, to remove any leftovers from previous run.
 public Path getInputFile(int mapId,
    String reduceTaskId) throws IOException 
    Return a local reduce input file created earlier
 public Path getInputFileForWrite(int mapId,
    String reduceTaskId,
    long size) throws IOException 
    Create a local reduce input file name.
 public Path getOutputFile(String mapTaskId) throws IOException 
    Return the path to local map output file created earlier
 public Path getOutputFileForWrite(String mapTaskId,
    long size) throws IOException 
    Create a local map output file name.
 public Path getOutputIndexFile(String mapTaskId) throws IOException 
    Return the path to a local map output index file created earlier
 public Path getOutputIndexFileForWrite(String mapTaskId,
    long size) throws IOException 
    Create a local map output index file name.
 public Path getSpillFile(String mapTaskId,
    int spillNumber) throws IOException 
    Return a local map spill file created earlier.
 public Path getSpillFileForWrite(String mapTaskId,
    int spillNumber,
    long size) throws IOException 
    Create a local map spill file name.
 public Path getSpillIndexFile(String mapTaskId,
    int spillNumber) throws IOException 
    Return a local map spill index file created earlier
 public Path getSpillIndexFileForWrite(String mapTaskId,
    int spillNumber,
    long size) throws IOException 
    Create a local map spill index file name.
 public  void removeAll(String taskId) throws IOException 
    Removes all of the files related to a task.
 public  void setConf(Configuration conf)