Re: MR output to a file instead of directory?

2012-03-03 Thread Harsh J
James, This is _possible_, but you will need a complete set of both OutputFormat and OutputCommitter to do the work for you as File{OutputFormat,OutputCommitter} work with directories. The biggest advantage of having output directories is the ability to have temporary attempt directories and

MR output to a file instead of directory?

2012-03-02 Thread Jianhui Zhang
Hi all, The FileOutputFormat/FileOutputCommitter always treats an output path as a directory and write files under it, even if there is only one Reducer. Is there any way to configure an OutputFormat to write all data into a file? Thanks, James