elasticsearch版本:7.5.2
kibana版本:7.5.2
这两个安装包都是下载tar.gz包解压安装的
两个节点(我也知道最好三个。。可是目前机器就只有两个)
elasticsearch集群可以正常启动,遇到标题的错查了一下百度说加以下配置,可是我本来就加了:
network.host: 0.0.0.0
http.port: 9200
Kibana的kibana.yml我也是设置
server.host: "0.0.0.0"
设置好之后直接到bin目录./Kibana启动,然后发现连接不上显示以下错误:
文字版:
log [10:16:11.107] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:16:13.761] [warning][migrations] Unable to connect to Elasticsearch. Error: [cluster_block_exception] index [.kibana_task_manager_1] blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
log [10:16:13.762] [warning][migrations] Unable to connect to Elasticsearch. Error: [cluster_block_exception] index [.kibana_1] blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
log [10:16:41.112] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:17:11.114] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:17:41.117] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:18:11.121] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:18:41.123] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:19:11.126] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:19:41.129] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
两个连接不上的错误,然后再循环显示下面的警告,后来我直接就关了。请问又大神可以帮一下忙吗?百度找不到解决的方案
kibana版本:7.5.2
这两个安装包都是下载tar.gz包解压安装的
两个节点(我也知道最好三个。。可是目前机器就只有两个)
elasticsearch集群可以正常启动,遇到标题的错查了一下百度说加以下配置,可是我本来就加了:
network.host: 0.0.0.0
http.port: 9200
Kibana的kibana.yml我也是设置
server.host: "0.0.0.0"
设置好之后直接到bin目录./Kibana启动,然后发现连接不上显示以下错误:
文字版:
log [10:16:11.107] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:16:13.761] [warning][migrations] Unable to connect to Elasticsearch. Error: [cluster_block_exception] index [.kibana_task_manager_1] blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
log [10:16:13.762] [warning][migrations] Unable to connect to Elasticsearch. Error: [cluster_block_exception] index [.kibana_1] blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
log [10:16:41.112] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:17:11.114] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:17:41.117] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:18:11.121] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:18:41.123] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:19:11.126] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
log [10:19:41.129] [warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. TypeError: Cannot use 'in' operator to search for 'type' in null
两个连接不上的错误,然后再循环显示下面的警告,后来我直接就关了。请问又大神可以帮一下忙吗?百度找不到解决的方案
1 个回复
datadog - 大数据开发,数据分析,数据挖掘的农民工
赞同来自:
discovery.zen.minimum_master_nodes: 1 #最多的主节点个数
gateway.recover_after_nodes: 1 #超时后生效的节点数