【发布时间】:2016-04-26 11:24:11
【问题描述】:
我花了很多时间阅读论坛、手册和博客,试图解决在 couchbase(在 XDCR 选项卡下)创建弹性搜索集群引用的问题。
最后我决定向社区提出这个问题。
我有:
- Couchbase 4.0.0-4051 社区版(build-4051)
- 带有插件的 Elasticsearch 2.1.1:
- transport-couchbase 2.2.1.2
- 头
Elasticsearch 启动并使用以下配置:
- cluster.name: es
- node.name: node-1
- node.master: 真
- node.data: 真
- couchbase.password:通过
- couchbase.username:root
- couchbase.maxConcurrentRequests: 1024
[2016-01-20 15:59:19,741][INFO][transport.couchbase] [node-1] 发布地址 {127.0.0.1:9091}
问题是我无法在 XDCR 选项卡下的 Couchbase Web UI 中创建弹性搜索集群引用,输入以下信息:
- 集群名称:es
- IP/主机名:127.0.0.1:9091
- 用户名:root
- 密码:*****
按保存后,出现错误消息:“注意 - 意外的服务器错误,请求已记录。”
这是来自 xdcr.log 文件的片段
[xdcr:debug,2016-01-20T16:31:16.848+02:00,ns_1@127.0.0.1:goxdcr_rest:stats:211] 无法从 goxdcr 获取存储桶“beer-sample”的统计信息:
{error,{badmatch,{error,timeout}}, [{goxdcr_rest,send_with_timeout,5, [{file,"src/goxdcr_rest.erl"},{line,60}]}, {goxdcr_rest,query_goxdcr,4,[{file,"src/goxdcr_rest.erl"},{line,132}]}, {goxdcr_rest,get_from_goxdcr,3, [{file,"src/goxdcr_rest.erl"},{line,152}]}, {goxdcr_rest,stats,1,[{file,"src/goxdcr_rest.erl"},{line,207}]}, {goxdcr_stats_collector,grab_stats,1, [{文件,"src/goxdcr_stats_collector.erl"}, {line,37}]}, {base_stats_collector,handle_info,2, [{文件,"src/base_stats_collector.erl"}, {line,89}]}, {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,604}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
谢谢,任何帮助将不胜感激。
【问题讨论】: