List Info

Thread: Configuration policy




Configuration policy
user name
2006-06-20 12:03:51
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 ?

-- 
Philippe GASSMANN
http://www.anyware-tech.
com/

Configuration policy
user name
2006-06-20 13:52:20
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 ?
>
>   
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )