Hello,

*1:- How to format output from reduce( like default is tab separator can we
make it "," separator)
*
Instead of formatting output in reduce, you set it in map phase when you
set the value for mapper. In that you can set according to our formayt
e.g. word.set(fname+" "+lname);
       and give it to output collector

*2:- and how to make output in different directories *
*according to reducer values.

*Refer this link, here is the solution*:
*
https://sites.google.com/site/hadoopandhive/home/how-to-write-output-to-multiple-named-files-in-hadoop-using-multipletextoutputformat



-- 
Regards,
Bhavesh Shah


On Mon, Jan 9, 2012 at 5:31 PM, vikas Srivastava <hadooph...@gmail.com>wrote:

> Hi folks,
>
> i have few question like
>
> 1:- How to format output from reduce( like default is tab separator can we
> make it "," separator)
> 2:- and how to make output in different directories according to reducer
> values.
>
>
> Thanks in advance
>
> r
>

Reply via email to