manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Leybovich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1272) ManifoldCF error when creating ElasticSearch output connector
Date Tue, 09 Feb 2016 20:51:18 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139729#comment-15139729
] 

Andrey Leybovich commented on CONNECTORS-1272:
----------------------------------------------

If you just want to test the connection you can simply make a GET request to the elastic server
url (e.g. http://<elastic_url>:9200). You will get a JSON response with overall stats
like this:

{code}
{
name: "node-1",
cluster_name: "test_es_cluster",
version: {
number: "2.2.0",
build_hash: "8ff36d139e16f8720f2947ef62c8167a88899ffe",
build_timestamp: "2016-01-27T13:32:39Z",
build_snapshot: false,
lucene_version: "5.4.1"
},
tagline: "You Know, for Search"
}
{code}



> ManifoldCF error when creating ElasticSearch output connector
> -------------------------------------------------------------
>
>                 Key: CONNECTORS-1272
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1272
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Elastic Search connector
>    Affects Versions: ManifoldCF 2.3
>         Environment: CentOS, ElasticSearch 2.2, ManifoldCF 2.3
>            Reporter: Andrey Leybovich
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.4
>
>         Attachments: CONNECTORS-1272.patch
>
>
> When creating an ElasticSearch output connection, the connection status says: 
> {code}
> ERROR "root_cause":["type":"illegal_argument_exception"
> {code}
> Lookign at elasticsearch logs I see the following error:
> {code}
> /_status Params: {index=_status}
> java.lang.IllegalArgumentException: No feature for name [_status]
> {code}
> A google search for "No feature for name [_status]" led me to ES documentation (https://www.elastic.co/guide/en/elasticsearch/reference/2.0/indices-status.html)
that states:
> The index _status API has been replaced with the Indices Stats and Indices Recovery APIs.
> Looks like Elastic connector for ManiFoldCF is out of date and needs fixing.
> NOTE: the connector still works in terms of pushing data to Elastic, despite the error.

> I have created a StackOverflow question/answer http://stackoverflow.com/questions/35281379/manifoldcf-error-when-creating-elasticsearch-output-connector
- if possible please update once it's fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message