[ 
https://issues.apache.org/jira/browse/NUTCH-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887706#action_12887706
 ] 

Pham Tuan Minh edited comment on NUTCH-848 at 7/13/10 6:08 AM:
---------------------------------------------------------------

I use following to test solrindex command
- Nutch trunk (run from runtime\local directory)
- Solr/lucene branch 3x 
- Window XP SP3, Cygwin

(I follow the steps defined at 
http://www.lucidimagination.com/blog/2009/03/09/nutch-solr/)

Result: After run: bin/nutch solrindex http://127.0.0.1:8983/solr/ 
crawl/crawldb crawl/linkdb crawl/segments/*, 
It return to console:

-------------
SolrIndexer: starting at 2010-07-13 16:57:52
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
java.io.IOException: Job failed!
-------------

Thanks,





      was (Author: phamtuanminh2004):
    I use following to test solrindex command
- Nutch trunk (run from runtime\local directory)
- Solr/lucene branch 3x 
- Window XP SP3, Cygwin
(I follow the steps defined at 
http://www.lucidimagination.com/blog/2009/03/09/nutch-solr/)

Result: After run: bin/nutch solrindex http://127.0.0.1:8983/solr/ 
crawl/crawldb crawl/linkdb crawl/segments/*, 
It return to console:

-------------
SolrIndexer: starting at 2010-07-13 16:57:52
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
java.io.IOException: Job failed!
-------------

Thanks,




  
> Error when calling 'nutch solrindex' in deployed configuration
> --------------------------------------------------------------
>
>                 Key: NUTCH-848
>                 URL: https://issues.apache.org/jira/browse/NUTCH-848
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Julien Nioche
>            Priority: Blocker
>             Fix For: 2.0
>
>
> See https://issues.apache.org/jira/browse/NUTCH-843
> In a deployed environment with just bin/nutch and the job file on an 
> independent Hadoop configuration, a call to 'nutch solrindex' yields : 
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/solr/client/solrj/SolrServer
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.solr.client.solrj.SolrServer
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class: org.apache.nutch.indexer.solr.SolrIndexer.  
> Program will exit.
> {code}
> Surprisingly some tasks work fine, but not this one. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to