You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Matt Timion <ad...@honda-search.com> on 2006/08/14 21:13:46 UTC

How can I change the tmp directory location for nutch?

I would like nutch to use /home/tmp as a swap drive and not /tmp.  Is it possible to change the location for it's swap space?

Re: How can I change the tmp directory location for nutch?

Posted by Zaheed Haque <za...@gmail.com>.
Edit your conf/hadoop-site.xml with the following value/properties

<property>
  <name>dfs.data.dir</name>
  <value>/data/hadoop/dfs/data</value>
  <description>Determines where on the local filesystem an DFS data node
  should store its blocks.  If this is a comma-delimited
  list of directories, then data will be stored in all named
  directories, typically on different devices.</description>
</property>
<property>
  <name>mapred.local.dir</name>
  <value>/data/hadoop/mapred/local</value>
  <description>The local directory where MapReduce stores intermediate
  data files.  May be a comma-separated list of
  directories on different devices in order to spread disk i/o.
  </description>
</property>

<property>
  <name>mapred.system.dir</name>
  <value>/data/hadoop/mapred/system</value>
  <description>The shared directory where MapReduce stores control files.
  </description>
</property>

<property>
  <name>mapred.temp.dir</name>
  <value>/data/hadoop/mapred/temp</value>
  <description>A shared directory for temporary files.
  </description>
</property>
</configuration>

Cheers

On 8/14/06, Matt Timion <ad...@honda-search.com> wrote:
> I would like nutch to use /home/tmp as a swap drive and not /tmp.  Is it possible to change the location for it's swap space?
>