Naama Kraus wrote:
Hi,

I have a question regarding InputSplit boundaries. Does an InputSplit
necessarily fall within a single file system block boundaries ?
No.
Or can it
span across blocks ?
Yes. It can span across blocks.
In particular, what about a FileSplit ?
If it spans among blocks, could the blocks reside in different machines ?
Yes.
If
so, how would it effect locality of computations ?
The remaining blocks get pulled to the machine that is executing the task. Afaik the blocks are streamed while the map task is getting executed and hence there is some amount of parallelism there. FYI there is one optimization filed on this. See https://issues.apache.org/jira/browse/HADOOP-3293.
Amar
Thanks, Naama


Reply via email to