If you put the hadoop-site.xml file in the conf directory it will
automatically get picked up and used by both the
nutch and hadoop servers.
Dennis
Philippe Gassmann wrote:
Hi everybody,
I'm a new hadoop user, and I would like to know if it's possible to use
a file in the filesystem as a site config file :
eg : in /etc/hadoop/hadoop-site.xml i have my configuration file, and I
want to tell to Hadoop to use it but I cannot find how to do this.
By reading the Hadoop code (Configuration.java), i guess that it is
impossible.
So here is my question : Why do not add a method
Configuration.addFinalResource(File) and
Configuration.addDefaultResource(File) in the Configuration.java file ?