hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enis Soztutar <enis.soz.nu...@gmail.com>
Subject Re: 1 file per record
Date Wed, 24 Sep 2008 09:34:39 GMT
Yes, you can use MultiFileInputFormat.

You can extend the MultiFileInputFormat to return a RecordReader, which 
reads a record for each file in the MultiFileSplit.


chandra wrote:
> hi..
> By setting isSplitable false, we can set 1 file with n records 1 mapper.
> Is there any way to set 1 complete file per record..
> Thanks in advance
> Chandravadana S
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message. 
> Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying
of this email or any action taken in reliance on this e-mail is strictly 
> prohibited and may be unlawful.

View raw message