I can suggest this way to change the directory: Assuming you want it to write to directory YOUR_BASE_DIR in a partition with sufficient memory.
- Create/edit this configuration xml file in your working directory:
Change ./working/hadoop-0.20.2/conf/mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>hadoop.tmp.dir</name>
<value><YOUR_BASE_DIR>/mapred/tmp</value>
</property>
<property>
<name>mapred.local.dir</name>
<value><YOUR_BASE_DIR>/mapred/local</value>
<final>true</final>
</property>
<property>
<name>mapred.system.dir</name>
<value><YOUR_BASE_DIR>/mapred/system</value>
<final>true</final>
</property>
</configuration>
Then rerun your experiment.
When it is running, you can issue the command "ls <YOUR_BASE_DIR>/mapred" to verify whether it is writing to that folder as you expected.
LTVP
P/S: there should be a way to change the template directly in the hadoop shipped with Joshua, so that it defaults to write to that folder. Unfortunately, I don't know exactly. Others might help ;)