hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Young Kim <juneng...@gmail.com>
Subject Could I write outputs in multiple directories?
Date Mon, 14 Feb 2011 05:57:14 GMT
Hi,

As I understand, a Hadoop can write multiple files in a directory.
but, it can't write output files in multiple directories. isn't it?


MultipleOutputs for generating multiple files.
FileInputFormat.addInputPaths for setting several input files 
simultaneously.

How could I do if I want to write outputs files in multiple directories 
depends on it's key?

for example)
A type key -> yyyyMMdd/A/output
B type Key -> yyyyMMdd/B/output
C type Key -> yyyyMMdd/C/output

thanks.

-- 
Junyoung Kim (juneng603@gmail.com)


Mime
View raw message