Create a Java MapReduce program

Procedure

  1. Create a Mapper class. Specify the source folder, select or specify the package, and create a name for your program. Select the input and output keys and values, and click Next.
    1. Optional: Add or select any interfaces to use.
  2. Create a Reducer implementation. The source folder, package, and input keys are automatically selected. Create a name for the Reducer implementation. Select the output keys and values, and click Next.
    1. Optional: Add or select any interfaces to use.
  3. Create a Java MapReduce Main class. The source folder is automatically selected. Select or specify the package.
    1. Optional: Add or select any interfaces to use.
  4. Click Finish to create all three classes.

Results

Each new Mapper class, Reducer implementation, and Java MapReduce Main class opens in a new window.