Ordway, Ryan wrote:
        As a quick workaround, I made a few quick adjustments to the
NDFSClient.java code to change the directory that temporary files
are created in. This is hard coded to /nutch/tmp, but if someone
could perhaps add a config option to make it configurable that would
be most excellent.

I think you just need to override the Java system property  java.io.tmpdir.

http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File)

In Nutch, define this in NUTCH_OPTS, with something like:

export NUTCH_OPTS=-Djava.io.tmpdir=/foo

Does that work for you?

Doug

Reply via email to