Correct Answer : Get Lastest Questions and Answer : Explanation: abstract long getLength() Get the size of the split, so that the input splits can be sorted by size. abstract String[] getLocations() Get the list of nodes by name where the data for the split would be local.
Question : Which of the following is a responsibility of RecordReader?
1. breaks up the data in an input split into key-value pairs and presents them to the Mapper
Correct Answer : Get Lastest Questions and Answer : Explanation: The output of the maps jobs is stored in the local disk of the mappers. Once the map job finishes these local outputs are then transferred to reducers. You can check your $HADOOP_HOME/conf/mapred-site.xml to check where mapper outputs are stored.