Hi Feng, Where is the patch please? Thank you very much Lewis On Wednesday, May 22, 2013, feng lu <[email protected]> wrote: > Hi Daniel > > Now Nutch 2.x can not support solr authentication, I have already open an > issue and add a patch , you can patch this and try again. > > Thanks > > > On Wed, May 22, 2013 at 7:34 PM, Daniel Hüsch <[email protected] >wrote: > >> Hi, >> >> we used Nutch 1.x with an authentication for tomcat. >> We used this: >> >> <role rolename="solr_admin"/> >> >> <user username="USER" >> password="PASSWORD" >> roles="solr_admin"/> >> >> in /conf/tomcat-users.xml >> And in configuration of Nutch 1.x we used "solr.auth" for the connection >> between nutch and solr. >> But this function (solr.auth) is not available in Nutch 2.1. >> >> So we got an error on hadoop.log at indexing: >> >> 2013-05-22 12:50:26,581 ERROR solr.SolrIndexerJob - SolrIndexerJob: >> org.apache.solr.common.**SolrException: Unauthorized >> Unauthorized >> >> >> How can we indexing with an authentication and Nutch 2.1? >> >> Thanks, >> >> Daniel >> > > > > -- > Don't Grow Old, Grow Up... :-) >
-- *Lewis*

