[
https://issues.apache.org/jira/browse/NUTCH-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063975#comment-15063975
]
Markus Jelsma commented on NUTCH-2188:
--------------------------------------
Ah yes. You would need to patch SolrUtils.java in the indexer-solr plugin, this
is quite straightforward according to:
https://cwiki.apache.org/confluence/display/solr/Kerberos+Authentication+Plugin#KerberosAuthenticationPlugin-UsingSolrJwithaKerberizedSolr
It looks like it goes with HttpClient and is not tied into SolrJ, which could
mean you don't need to upgrade the SolrJ dependency.
Also, the ASF is volunteer based, you can not expect anyone to fix an issue for
you whenever it is needed. If you can, you can provide a patch yourself or wait
until someone else does.
> While crawling with solr url (kerberos enabled) Error:
> org.apache.solr.common.SolrException: Unauthorized
> ---------------------------------------------------------------------------------------------------------
>
> Key: NUTCH-2188
> URL: https://issues.apache.org/jira/browse/NUTCH-2188
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.9
> Environment: Proof of Concept
> Reporter: Mohankumar K H
> Fix For: 1.9
>
>
> 15/12/16 21:49:22 INFO mapreduce.Job: Task Id :
> attempt_1449548680888_0063_r_000002_0, Status : FAILED
> Error: org.apache.solr.common.SolrException: Unauthorized
> Unauthorized
> request:
> https://hdrdn001c.cps.intel.com:8985/solr/nutch_std_config/update?wt=javabin&version=2
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
> at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> at
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
> at
> org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:155)
> at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:118)
> at
> org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:44)
> at
> org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.close(ReduceTask.java:502)
> at
> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:456)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
> Container killed by the ApplicationMaster.
> Container killed on request. Exit code is 143
> Container exited with a non-zero exit code 143
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)