ESクラスターの起動が完了した後、master_not_discovered_exceptionを解決します



Solve Master_not_discovered_exception After Es Cluster Startup Is Completed



esクラスターが開始されたら、ブラウザーに次のように入力します。 http:// es ip address:port / _cat / nodes?pretty 、次のエラーが表示されます。

{'エラー':{'root_cause':[{'type': 'master_not_discovered_exception'、 'reason':null}]、 'type': 'master_not_discovered_exception'、 'reason':null}、 'status':503}

画像



解決:

各構成ファイルで初期ノードを指定します。



cluster.initial_master_nodes: node-1

画像
ESクラスターを再起動し、ブラウザーに再度入力します http:// es ip address:port / _cat / nodes?pretty 、クラスターが正常に開始されたことがわかります。
画像