You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by parnab kumar <pa...@gmail.com> on 2012/07/10 14:02:54 UTC
Separate Configuration file
Hi All,
The configuration parameters are read from conf/nutch-site.xml and
conf/nutch-default.xml . I want to create a separate configuration file
of my own "myConfig.xml" . I want nutch to read the configuration
parameters from "myConfig.xml" as well. Where should i make the necessary
changes.
Please help.
Thanks ,
Parnab
Re: Separate Configuration file
Posted by Ferdy Galema <fe...@kalooga.com>.
I'm guessing you want an *additional* layer of your own configuration.
Because nutch-site.xml already is user configuration. You have a few
options:
-Supply custom conf by using Hadoop generic option 'conf'. Use "-conf
myConfig.xml".
-Or use generic Hadoop commandline options using -Dkey=value pairs.
Ferdy.
On Tue, Jul 10, 2012 at 2:02 PM, parnab kumar <pa...@gmail.com> wrote:
> Hi All,
>
> The configuration parameters are read from conf/nutch-site.xml and
> conf/nutch-default.xml . I want to create a separate configuration file
> of my own "myConfig.xml" . I want nutch to read the configuration
> parameters from "myConfig.xml" as well. Where should i make the necessary
> changes.
>
> Please help.
>
> Thanks ,
> Parnab
>