Assuming your file output was already CSV (i.e. your job wrote it as so),
you can get a merged file via:

hadoop dfs -getmerge /some/dir/of/multiple/files mergedfile.csv
On Fri, Sep 16, 2011 at 4:12 PM, wrote:

Hi ,****

** **

I want my reducer output to be dumped into a csv file, How can that be
done? ****

Or can we convert part-000 to a csv ?****

** **

hadoop fs -cat /some/where/on/hdfs/job-output/part-* >

This doesn’t work I get only the first column in csv file.****

** **


Shreya Pal****
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(s), please reply to the
sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of
this email, and/or any action taken in reliance on the contents of this
e-mail is strictly prohibited and may be unlawful.

Harsh J

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupmapreduce-user @
postedSep 16, '11 at 10:47a
activeSep 16, '11 at 11:41a

2 users in discussion

Shreya Pal: 1 post Harsh J: 1 post



site design / logo © 2022 Grokbase