Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E46B410D8A for ; Wed, 5 Feb 2014 12:50:16 +0000 (UTC) Received: (qmail 16666 invoked by uid 500); 5 Feb 2014 12:50:13 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 16310 invoked by uid 500); 5 Feb 2014 12:50:11 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 16261 invoked by uid 99); 5 Feb 2014 12:50:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 12:50:09 +0000 Date: Wed, 5 Feb 2014 12:50:09 +0000 (UTC) From: "David Morana (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-876) Solr connector: when HTTP error code 500 is returned, the error message should contain some identifying information MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892060#comment-13892060 ] David Morana commented on CONNECTORS-876: ----------------------------------------- I tried this patch but I don't see any object id of the failing document in the manifold log. the lapi error was failed to fetch document revision (see connectors-875) Where does this identifying info supposed to show up? > Solr connector: when HTTP error code 500 is returned, the error message should contain some identifying information > ------------------------------------------------------------------------------------------------------------------- > > Key: CONNECTORS-876 > URL: https://issues.apache.org/jira/browse/CONNECTORS-876 > Project: ManifoldCF > Issue Type: Bug > Components: Lucene/SOLR connector > Affects Versions: ManifoldCF 1.4.1 > Reporter: Karl Wright > Assignee: Karl Wright > Fix For: ManifoldCF 1.6 > > Attachments: CONNECTORS-876.patch > > > When Solr throws an error, it would be great if the connector could include enough diagnostic information in the exception and/or log so that people could chase down the originating document in question. Right now all you get is: > {code} > Exception tossed: Repeated service interruptions - failure processing document: Server at https://llsrchsolqa1:8443/solr/Lisa returned non ok status:500, message:Internal Server Error > org.apache.manifoldcf.core.interfaces.ManifoldCFException: Repeated service interruptions - failure processing document: Server at https://llsrchsolqa1:8443/solr/Lisa returned non ok status:500, message:Internal Server Error > at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:586) > Caused by: org.apache.solr.common.SolrException: Server at https://llsrchsolqa1:8443/solr/Lisa returned non ok status:500, message:Internal Server Error > at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrServer.request(ModifiedHttpSolrServer.java:311) > at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) > at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) > at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:919) > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)