That depends on how you wrote your spout. If it was something like
Open(…) {
_input = fs.open(new Path(“/foo/bar”));
}
Then yes they will all read the exact same file.
If you put in some intelligence where it takes the spout number into account like
Open(…) {
Int index = context.getThisTaskIndex();
_input = fs.open(new Path(“/foo/bar_”+index));
}
Then it would not. But that it up to you to write.
—Bobby