org.apache.hadoop.mapred
Interface ShuffleProviderPlugin

All Known Implementing Classes:
TaskTracker.DefaultShuffleProvider

@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public interface ShuffleProviderPlugin

This interface is implemented by objects that are able to answer shuffle requests which are sent from a matching Shuffle Consumer that lives in context of a ReduceTask object. ShuffleProviderPlugin object will be notified on the following events: initialize, destroy. NOTE: This interface is also used when loading 3rd party plugins at runtime


Method Summary
 void destroy()
          close and cleanup any resource, including threads and disk space.
 void initialize(TaskTracker taskTracker)
          Do constructor work here.
 

Method Detail

initialize

void initialize(TaskTracker taskTracker)
Do constructor work here. This method is invoked by the TaskTracker Constructor


destroy

void destroy()
close and cleanup any resource, including threads and disk space. This method is invoked by TaskTracker.shutdown



Copyright © 2009 The Apache Software Foundation