Hi Mohamed,

[Always better to start your own thread instead of hijacking another :)]

Yes, this is possible. You just need a custom RecordReader implemented
within your subclass of TextInputFormat that performs the logic you
require.

On Thu, Nov 24, 2011 at 10:49 PM, Mohamed Riadh Trad
<mohamed.t...@inria.fr> wrote:
> Hi All,
> Is possible to customize the TextInputFormat in a way that it return the
> same line n times but with different keys, as for example it returns the
> same line but with different start positions?
> Bests,
>
> Trad Mohamed Riadh, M.Sc, Ing.
> PhD. student
> INRIA-TELECOM PARISTECH - ENPC School of International Management
> Office: 11-15
> Phone: (33)-1 39 63 59 33
> Fax: (33)-1 39 63 56 74
> Email: riadh.t...@inria.fr
> Home page: http://www-rocq.inria.fr/who/Mohamed.Trad/



-- 
Harsh J

Reply via email to