org.apache.hadoop.mapred
Interface InputSplit

All Superinterfaces:
Writable
All Known Implementing Classes:
FileSplit

public interface InputSplit
extends Writable

The description of the data for a single map task.

Author:
Owen O'Malley

Method Summary
 String[] getLocations()
          Get the list of hostnames where the input split is located.
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Method Detail

getLocations

String[] getLocations()
                      throws IOException
Get the list of hostnames where the input split is located.

Returns:
A list of prefered hostnames
Throws:
IOException


Copyright © 2006 The Apache Software Foundation