-答复: Is there any way to set Reducer to output to multi-places?
Francis.Hu 2013-09-02, 09:48
I found the class MultipleOutputs which has to do with what I want . It can make Reducers to write to additional outputs(File and Database in my Env.) other than the job default output.
The class comments says below that I want to implement in my project:
* Case one: writing to additional outputs other than the job default output.
* Each additional output, or named output, may be configured with its own
* <code>OutputFormat</code>, with its own key class and with its own value
Anyway, thanks! Rahul. Your link leads me to the class MultipleOutputs :).
发件人: Rahul Bhattacharjee [mailto:[EMAIL PROTECTED]]
发送时间: Monday, September 02, 2013 17:12
收件人: [EMAIL PROTECTED]
主题: Re: Is there any way to set Reducer to output to multi-places?
This might help
On Mon, Sep 2, 2013 at 2:38 PM, Francis.Hu <[EMAIL PROTECTED]> wrote:
Is there any way to set Reducer to output to multi-places ? For example: a reducer's result can be output to HDFS and Database concurrently.