Paul Baclace wrote:
Doug Cutting wrote:
In Nutch, define this in NUTCH_OPTS, with something like:

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


It is not yet that clean.  There are a few explicit uses of "/tmp":
  JobConf.java
  NameNode.java
  NDFS.java (last seen in Release-0.7)
These should use java.io.tmpdir by default.

Looking more closely, the use of "/tmp" in the Java files above are
defaults that should have no effect as long as the expected
nutch-default.xml exists and is found.  Having secondary defaults
that point to the same place as a -default.xml conf file is
deceptive (decoys) and of dubious value.  It might be more useful
to either have no secondary defaults or change these to be
"missing required default for x.y.z".

Paul

Reply via email to