解決esクラスタ起動完了後にmaster_に報告not_discovered_exception


Esクラスタが起動したら、ブラウザで次のように入力します.http://es ipアドレス:ポート/cat/nodes?prettyでは、次のエラーが表示されます.
{ "error": { "root_cause": [ { "type": "master_not_discovered_exception", "reason": null } ], "type": "master_not_discovered_exception", "reason": null }, "status": 503 }
解决es集群启动完成后报master_not_discovered_exception_第1张图片
ソリューション:
各プロファイルに初期ノードを指定します.
cluster.initial_master_nodes: node-1

解决es集群启动完成后报master_not_discovered_exception_第2张图片 ESクラスタを再起動し、ブラウザが再入力http://es ipアドレス:ポート/cat/nodes?prettyでは、クラスタの起動に成功したことがわかります:解决es集群启动完成后报master_not_discovered_exception_第3张图片