You could write your own InputFormat to fake the split. See src/test/org/apache/hadoop/mapred/EmptyInputFormat.java
Jothi On 5/8/09 11:40 AM, "Foss User" <foss...@gmail.com> wrote: > Sometimes I would like to just execute a certain method in all nodes. > The method does not need inputs. So, there is no need of any > InputFormat implementation class. So, I would want to just write a > Mapper implementation class with a map() method. But, the problem with > map() method is that it always needs inputs. How do I avoid this?