Product SiteDocumentation Site

2.2.3.2. Language Configuration

Next, the language support for WebMapReduce must be determined. The language configuration is stored in a separate INI-like file called languages.conf, usually in the $WMR_HOME/lang-support directory.
If languages.conf does not exist, copy it from the example file:
$ cp $WMR_HOME/lang-support/languages.conf.example $WMR_HOME/lang-support/languages.conf
Each supported language is denoted by a section similar to the following:
[python3]
interpreter = /usr/bin/env python3.1
library = python3
extension = py
You should not have to worry about many of the details of this file at this point. Just check the following:
  1. Comment out (or remove) any languages that you do not want to support.
  2. Make sure the programs listed in the remaining interpreter lines can be executed as named on all of your Hadoop nodes. If they are not present in the $PATH (or its equivalent on your system), you will need to provide absolute paths.
See the languages.conf.example file for more information on configuring the WebMapReduce languages.