You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Daniel Hüsch <hu...@uni-wuppertal.de> on 2013/05/22 13:34:26 UTC
Nutch 2.1 - Unauthorized
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
Re: Nutch 2.1 - Unauthorized
Posted by Tobias Marx <tm...@uni-wuppertal.de>.
Hi,
I think he is referring to this issue:
https://issues.apache.org/jira/browse/NUTCH-1575
BR,
Tobias
Am 22.05.2013 um 18:14 schrieb Lewis John Mcgibbney:
> Hi Feng,
> Where is the patch please?
> Thank you very much
> Lewis
>
> On Wednesday, May 22, 2013, feng lu <am...@gmail.com> 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 <huesch@uni-wuppertal.de
>> 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*
--
Tobias Marx
Zentrum für Informations- und Medienverarbeitung - ZIM
Bergische Universität Wuppertal
Büro: T.11.08
++49 202 439 2237
tmarx@uni-wuppertal.de
Re: Nutch 2.1 - Unauthorized
Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Feng,
Where is the patch please?
Thank you very much
Lewis
On Wednesday, May 22, 2013, feng lu <am...@gmail.com> 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 <huesch@uni-wuppertal.de
>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*
Re: Nutch 2.1 - Unauthorized
Posted by feng lu <am...@gmail.com>.
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 <hu...@uni-wuppertal.de>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... :-)