@InterfaceAudience.Public @InterfaceStability.Stable public interface InputSplit extends Writable
InputSplit represents the data to be processed by an 
 individual Mapper. 
 Typically, it presents a byte-oriented view on the input and is the 
 responsibility of RecordReader of the job to process this and present
 a record-oriented view.
InputFormat, 
RecordReader| Modifier and Type | Method and Description | 
|---|---|
| long | getLength()Get the total number of bytes in the data of the  InputSplit. | 
| String[] | getLocations()Get the list of hostnames where the input split is located. | 
readFields, writelong getLength()
        throws IOException
InputSplit.IOExceptionString[] getLocations() throws IOException
InputSplit is
         located as an array of Strings.IOExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.