【问题标题】:ManifoldCF error when creating ElasticSearch output connector创建 ElasticSearch 输出连接器时出现 ManifoldCF 错误
【发布时间】:2016-02-08 23:37:03
【问题描述】:

我在 Linux 虚拟机上运行了 ElasticSearch 2.2。我在同一网络中的另一个 VM 上运行 ManifoldCF 2.3。使用 ManifoldCF 的浏览器 UI,我添加了 ElasticSearch 输出连接器,当我保存它时,连接器状态出现错误:

Name:   Elastic 
Description:   Elastic search 
Connection type:    ElasticSearch   
Max connections:    10 
Server Location (URL):  http://<IP_ADDRESS>:9200 
Index name: index 
Index type: sharepoint 
Use mapper-attachments: false 
Content field name: contentfield 
Connection status:  ERROR "root_cause":["type":"illegal_argument_exception"

有什么想法吗?

【问题讨论】:

    标签: elasticsearch manifoldcf


    【解决方案1】:

    进一步查看 ElasticSearch 日志,我看到以下错误:

    /_status Params: {index=_status}
    java.lang.IllegalArgumentException: No feature for name [_status]
    

    谷歌搜索No feature for name [_status] 导致states 的ES 文档:

    index _status API 已替换为 Indices Stats 和 指数恢复 API。

    manifoldCF 的 ES 连接器似乎与 ES v.2 不完全兼容

    但是,我刚刚对其进行了测试,尽管出现错误,连接器仍然可以正常工作。因此,如果您看到相同的问题,请忽略它,直到 ManufoldCF 开发人员修复它。

    我在这个问题上向 Apache 提交了错误:CONNECTORS-1272

    【讨论】:

    • 每个 ManifoldCF 开发人员,这将在 v2.4 中修复;也有可用的补丁,它附在提到的 JIRA 票上
    【解决方案2】:

    有一个带有补丁的 ManifoldCF 票 (CONNECTORS-1272);此问题的修复程序将在 MCF 2.4 中发布。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-23
      • 1970-01-01
      • 2023-03-15
      • 2018-12-12
      • 1970-01-01
      • 2020-07-10
      • 1970-01-01
      相关资源
      最近更新 更多