legacy-knowledge-base
公開されました Jun. 30, 2025

Elasticsearchノードが検出できない

written-by

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • エラスティック検索サーバーで以下のエラーが発生し、検索ができません:
    [WARN ][o.e.d.PeerFinder ] [node1] address [10.199.131.143:9302], node [null], requesting [false] connection failed: [][10.199.131.143:9302] connect_timeout[30s]
    [WARN ][o.e.c.c.ClusterFormationFailureHelper] [node1] master not discovered or elected yet, an election requires at least 2 nodes with ids from [h9blXiZTSMGmYC7SUFE5oQ, PKd2J1kxQXy139oAnoj2VA, 9H0oHpXXTZyEGWVxG1zig], have only discovered non-quorum [{node1}{h9blXiZTSMGmYC7SUFE5oQ}{jochDPpQT8asIOSuPzdfOw}{10.199.131.141}{10.199.131.141:9300}{cdfhilmrstw}]; discovery will continue using [10.199.131.142:9301, 10.199.131.143:9302] from hosts providers and [{node1}{h9blXiZTSMGmYC7SUFE5oQ}{jochDPpQT8asIOSuPzdfOw}{10.199.131.141}{10.199.131.141:9300}{cdfhilmrstw}, {node3}{9H0oHpXXTZyEGWVxG1zig}{02G6uCQHSniTqnIsmAkoA}{10.199.131.143}{10.199.131.143:9302}{cdfhilmrstw}, {node2}{PKd2J1kxQXy139oAnoj2VA}{oDTp-5ZrT1Wn6ikn9JV4tQ}{10.199.131.142}{10.199.131.142:9301}{cdfhilmrstw}] from last-known cluster state; node term 11, last-accepted version 9612 in term 11 [2023-04-20T05:23:03,726][WARN ][r.suppressed ] [node1] path: /cluster/health, params: {pretty=}
    org.elasticsearch.discovery.MasterNotDiscoveredException: null
    at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:297) [elasticsearch-7.17.1.jar:7.17.1]
    at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345) [elasticsearch-7.17.1.jar:7.17.1]
    at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263) [elasticsearch-7.17.1.jar:7.17.1]
    at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:660) [elasticsearch-7.17.1.jar:7.17.1]
    at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:718) [elasticsearch-7.17.1.jar:7.17.1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.4

解決策

  • これらのエラーは、エラスティック・サーチ・ノードが互いに通信できないことを示している。
  • 各エラスティック・サーチ・ノードが指定されたポートで相互に通信できるようにする。 ユーザーは、サーバー上の他のノードにpingやtelnetで接続を確認することができる。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base