Hi arumugarani,
Thanks for the reply and Welcome to CodeRanch!
The problem with context.write is - as I mentioned - M-R process runs in a cluster (having multiple hosts and nodes).
So - as per my understanding - context.write will still write the data (or whatever we want to write) on file-system of each node (i.e. wherever M-R is running) - correct me if I'm wrong.
What I'm looking for is a way to consolidate all the output data at one place.
Thanks.
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)