Product SiteDocumentation Site

2.2.5.2. WMRServer Configuration

Now add the following directives to wmr-site.xml:
<property>
  <name>wmr.tests.allow</name>
  <value>true</value>
</property>

<property>
  <name>wmr.tests.su.cmd</name>
  <value>/usr/bin/sudo -Enu test-job-user ${cmd}</value>
</property>
WMRServer will now allow test jobs, which it will run by replacing the special variable ${cmd} in the wmr.tests.su.cmd property with the path to the mapper or reducer executable.
Restart the WMRServer daemon to reload the configuration:
$ cd $WMR_HOME
$ bin/stop-wmr.sh
$ bin/start-wmr.sh