Create a configuration to run a Java™ MapReduce program

Procedure

  1. Specify a name for the configuration.
  2. Specify the Main settings.
    1. Specify a project name, and select a Main class. Check to include the system libraries and inherited mains when you search for a Main class.
    2. Select an Exection mode.
    Option Description
    Select Cluster Select a BigInsights server from the drop-down menu.
    Select Local Run the configuration locally.
  3. Define your job name and arguments.
  4. If you want to delete a directory every time you run the program, enter a location in the Delete directory field.
  5. Specify the JAR Settings.
    1. Specify the name and export location of the JAR file.
    2. Optional: To rebuild the JAR file every time you run the program, click Rebuild the JAR file on each run. If selected, choose the project files and additional JAR files to include.

Steps 3 - 7 are optional. In most cases, you can use the default settings and skip to step 8.

  1. Define the runtime JRE and the execution environment in the JRE tab.
  2. Optional: In the Classpath tab, organize and remove items, add projects and JAR files, define advanced options (such as folders, classpath variables, or variable strings), or restore the default settings.
  3. Define your environment variables in the Environment tab.
  4. In the Common tab, specify file sharing, a favorites menu, encoding, standard input and output, and appearance.
  5. Click Apply to change settings or Revert to restore the default settings.
  6. Click Run to launch the configuration.