Do you really want to have a single task process all of the reduce outputs?
If you want all of your output processed by a set of map tasks, you can set the output directory of your previous job to be the input directory of your next job, ensuring that the framework knows how to read the key value pairs from your reduce output. You could set the number of reduces to 1 in your original job, and you will get a single output file from the single reduce task that is run. On Mon, Feb 2, 2009 at 9:34 PM, some speed <[email protected]> wrote: > Hi, > > > I am implementing a chain M-R job in java. If I am using multiple reducers, > then the output seems to be dispersed among several files on the dfs. > How can I now read these files into the Map method of the next job? > > Another doubt I have is ...Is it possible to keep appending to the same > output file while implementing an iterative M-R job? i.e. every MR job > append the result to the same output file. > > > Thanks, > > Ketan >
