You can use NLineInputFormat with n set to 10.
From: Ondřej Klimpera
To: [EMAIL PROTECTED]
ReplyTo: [EMAIL PROTECTED]
Subject: Setting number of mappers according to number of TextInput lines
Sent: Jun 16, 2012 14:31
I have very small input size (kB), but processing to produce some output
takes several minutes. Is there a way how to say, file has 100 lines, i
need 10 mappers, where each mapper node has to process 10 lines of input
Thanks for advice.
Sent from handheld, please excuse typos.