Hi Gal,

Thanks for the reply.

What has me wondering is that several other plugins _are_ being loaded
when I define it on hadoop-site.xml, and actually that defining
plugin.folders on that file is the only way I've found so far of getting
plugins loaded at all when testing from Eclipse.

Moreover, I get this problem even if I define it in both nutch-site and
hadoop-site, which would make it seem that the definition in
hadoop-site.xml does have an effect.  I was assuming they overrode the
options from nutch-site.xml - am I mistaken?


Ricardo J. Méndez
http://ricardo.strangevistas.net/

Gal Nitzan wrote:
> Hi,
> 
> Nutch loads its configuration from nutch-site and nutch-default.xml and not
> from hadoop conf files so the behavior is correct.
> 
> HTH,
> 
> Gal.
> 
> 
> On 3/1/07, "Ricardo J. Méndez" <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm using nutch-0.9, from the trunk.    I've noticed a behavior
>> difference on a plugin unit test if I set the plugin.folders property on
>> nutch-site.xml vs. hadoop-site.xml.  If I set it on nutch-site.xml, the
>> unit test works well, but an error is raised if it's on hadoop-site.xml
>>
>> The error is:
>>
>>    [junit]  WARN [main] (ParserFactory.java:196) - Canno initialize
>> parser parse-html (cause:
>> org.apache.nutch.plugin.PluginRuntimeException:
>> java.lang.ClassNotFoundException: org.apache.nutch.parse.html.HtmlParser
>>
>>
>> Is there a reason why the HtmlParser wouldn't be loaded when the
>> directory is specified on hadoop-site.xml?
>>
>> Thanks in advance,
>>
>>
>>
>>
>> Ricardo J. Méndez
>> http://ricardo.strangevistas.net/
>>
> 

Reply via email to