You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/01/30 15:01:12 UTC

[jira] [Created] (CONNECTORS-629) ElasticSearch connector really needs better error handling

Karl Wright created CONNECTORS-629:
--------------------------------------

             Summary: ElasticSearch connector really needs better error handling
                 Key: CONNECTORS-629
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-629
             Project: ManifoldCF
          Issue Type: Bug
          Components: Elastic Search connector
    Affects Versions: ManifoldCF 1.0.1, ManifoldCF 1.1
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.2


When there is a problem connecting, you get really useless exceptions like this in the log:

{code}
ERROR 2013-01-30 13:44:15,356 (Worker thread '45') - Exception tossed:
org.apache.manifoldcf.core.interfaces.ManifoldCFException:
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnection.call(ElasticSearchConnection.java:97)
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchIndex.<init>(ElasticSearchIndex.java:138)
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnector.addOrReplaceDocument(ElasticSearchConnector.java:322)
        at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.addOrReplaceDocument(IncrementalIngester.java:1579)
        at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.performIngestion(IncrementalIngester.java:504)
        at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:370)
        at org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocument(WorkerThread.java:1652)
        at org.apache.manifoldcf.crawler.connectors.DCTM.DCTM.processDocuments(DCTM.java:1820)
        at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423)
        at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:551)
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira