Hi, On Fri, Feb 25, 2011 at 4:31 AM, Mohamed Riadh Trad <mohamed.t...@inria.fr> wrote: > Dear All, > Has anyone wrote the WholeFileInputFormat with the hadoop 0.20.2 api?
1. Create new class extending FileInputFormat<K, V> (or its other derivatives) 2. Override isSplitable to return false. 3. Provide a record reader according to your needs, if necessary. 3. Done. Here's a series of gists I could find for reference (authored by Sam Ritchie, no idea on the license): https://gist.github.com/808035 -- Harsh J www.harshj.com