Well, if you implemented your own InputFormat (the getSplits () method contains the logic for creating the split), then theoretically you could achieve what you want.
BUT, you have to be especially careful because the order in which InputFormat returns separators is not the order in which Hadoop processes it. Inside JobClient, there is a reordering code with a section:
which will make it all more complicated. But you can implement your own InputFormat + your own InputSplit and make the length of InputSlip # length () dependent on the expected execution time.
source share