You would simply add your configuration variable to most likely the nutch-site.xml or the hadoop-site.xml file and then call it through the configuration.get methods.

If you want to know where the code is that reads the xml file that is in the org.apache.hadoop.conf.Configuration class in the hadoop source code.

Dennis Kubes

djames wrote:
Hello,

I need to add a parameter in the conf file of nutch.
What is the method to read the xml file in nutch?

Thanks

Reply via email to