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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to