You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Guanyu <me...@gmail.com> on 2007/07/17 21:06:56 UTC

RE: How do I specify config file for "nutch plugin" command ?

Have you solved this problem?


Teruhiko Kurosaka wrote:
> 
> My appology that the subject doesn't say what I am asking.
> When I started composing the email I was thinking that
> nutch plugin is not reading the config file but further inspection
> revlealed that it is reading nutch-site.xml.
>  
> 
>> -----Original Message-----
>> From: Teruhiko Kurosaka 
>> Sent: 2006-9-01 17:14
>> To: 'nutch-user@lucene.apache.org'
>> Subject: How do I specify config file for "nutch plugin" command ?
>> 
>> I developed a plugin and tried to run it using "nutch plugin 
>> <plugin-name> <plugin-fully-qualified-class-name> <arg1> 
>> <arg2> ...." of Nutch 0.8.
>> 
>> But it says my plugin is not present or inactive.
>> 
>> I tried "nutch plugin" with known plugin "language-identifier" as:
>> 
>> ./nutch plugin languageidentifier 
>> org.apache.nutch.analysis.lang.NGramProfile
>> 
>> and got the same result:
>> Plugin 'language-identifier' not present or inactive.
>> 
>> This log message suggests that the plugin is recognized by 
>> the nutch command:
>> 
>> 2006-09-01 17:05:46,772 DEBUG plugin.PluginRepository 
>> (PluginManifestParser.java:parsePluginFolder(93)) - parsing: 
>> C:\opt\nutch-0.8\plugins\language-identifier\plugin.xml
>> 
>> 
>> Why does it say the plugin is not present or inactive?
>> Is "nutch plugin" command known to work?
>> 
>> -kuro
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-do-I-specify-config-file-for-%22nutch-plugin%22-command---tf2205457.html#a11655858
Sent from the Nutch - User mailing list archive at Nabble.com.