hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devaraj K <devara...@huawei.com>
Subject RE: Writing output in multiple files in Hadoop
Date Wed, 28 Dec 2011 01:44:37 GMT
Can you check the MultipleOutputs class.

http://hadoop.apache.org/common/docs/r0.20.205.0/api/org/apache/hadoop/mapre
d/lib/MultipleOutputs.html


Devaraj K 

-----Original Message-----
From: Bhavesh Shah [mailto:bhavesh25shah@gmail.com] 
Sent: Tuesday, December 27, 2011 3:29 PM
To: hadoop-dev@lucene.apache.org
Subject: Writing output in multiple files in Hadoop

Hello all,
I want to write the files according to months using map-reduce in
hadoop. If data is from January month then the data should be wriiten
in jan-file and likewise for each month there should be seperate file.

How Can I create such file in hadoop mapredude. I am trying for
recursive map-reduce but not getting how to implement it?

Pls suggest me some solution.

Thanks.


-- 
Regards,
Bhavesh Shah


Mime
View raw message