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 EDEEA18583 for ; Tue, 9 Feb 2016 20:53:18 +0000 (UTC) Received: (qmail 43131 invoked by uid 500); 9 Feb 2016 20:51:35 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 43102 invoked by uid 500); 9 Feb 2016 20:51:35 -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 43090 invoked by uid 99); 9 Feb 2016 20:51:35 -0000 Received: from Unknown (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 20:51:35 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 22C772C14F6 for ; Tue, 9 Feb 2016 20:51:18 +0000 (UTC) Date: Tue, 9 Feb 2016 20:51:18 +0000 (UTC) From: "Andrey Leybovich (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1272) ManifoldCF error when creating ElasticSearch output connector 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-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://: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)