Hi Ricardo,

Well, I'm not sure because I'm not using Eclipse, however this behavior I
believe could be contributed to the fact that both HADOOP_HOME and
NUTCH_HOME are the same.


To be able to debug and load the plugins I believe you need to export the
"trunk module" to each of the plugins modules.

HTH,

Gal.

On 3/2/07, "Ricardo J. Méndez" <[EMAIL PROTECTED]> wrote:

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/
>>
>

-------------------------------------------------------------------------
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