On 09/16/2010 11:38 PM, Mark Kerzner wrote:
Hi,

any need for this,

protected void setup(Mapper.Context context) throws IOException,
InterruptedException {
         super.setup(context); // TODO - does this need to be done?
         this.context = context;
}

Thank you,
Mark

"Use the source Luke".

If you take a look through the source code, you'll see the answer is no.

public class Mapper<KEYIN, VALUEIN, KEYOUT, VALUEOUT> {
...
  /**
   * Called once at the beginning of the task.
   */
  protected void setup(Context context
                       ) throws IOException, InterruptedException {
    // NOTHING
  }
...
}

DR

Reply via email to