Hi Qiang, Here is what I understand:
Pass 1 - generate "intermediate dataset" as output from its reduce phase Pass 2 - take "intermediate dataset" as input - produce some result (an aggregate?) - no need to persist the "intermediate dataset" Would it be possible to collapse this into one map/reduce? Is there a problem with the size of the intermediate dataset? If not, then it could simply be deleted after the second pass. In terms of executing two map/reduce jobs sequentially in the same run, they both need to have their own JobConf instantiated, and different job names. An example is in the "jyte" directory of http://code.google.com/p/ceteri-mapred/ A brief description about that code and its passes through the jyte data are in: http://ceteri.blogspot.com/2008/02/hadoop-part-2-jyte-cred-graph.html Hope that helps, Paco On Wed, Feb 20, 2008 at 10:21 PM, ma qiang <[EMAIL PROTECTED]> wrote: > Hi all: > Here I have two mapreduce program.I need to use the result of the > first mapreduce program to computer another values which generate in > the second mapreduce program and this intermediate result is not need > to save, so I want to run the second mapreduce program automatic using > output of the first mapreduce program as the input of the second > mapreduce program. Who can tell me how? > Thanks! > Best Wishes! > > Qiang >
