No known master node 문제
2371 단어 Elasticsearch
[2017-02-14 14:35:31,868][ERROR][marvel.agent.exporter ] [es-06] error adding the marvel template to [[0:0:0:0:0:0:0:0]:9200] response code [503 Service Unavailable]. content: [{"error":"MasterNotDiscoveredException[waited for [30s]]","status":503}]
[2017-02-14 14:35:31,868][ERROR][marvel.agent.exporter ] [es-06] failed to verify/upload the marvel template to [[0:0:0:0:0:0:0:0]:9200]:Server returned HTTP response code: 503 for URL:http://[0:0:0:0:0:0:0:0]:9200/_template/marvel]
프로필elasticsearch를 수정합니다.yml
network.host: IP
오류 메시지:
[2017-02-14 14:46:56,012][DEBUG][action.admin.indices.template.put] [es-06] observer: timeout notification from cluster service. timeout setting [30s], time since start [30s]
[2017-02-14 14:46:56,014][ERROR][marvel.agent.exporter] [ies-06] error adding the marvel template to [ IP:9200] response code [503 Service Unavailable]. content: [{"error":"MasterNotDiscoveredException[waited for [30s]]","status":503}]
[2017-02-14 14:46:56,014][ERROR][marvel.agent.exporter] [es-06] failed to verify/upload the marvel template to [ IP:9200]:Server returned HTTP response code: 503 for URL: http:// IP:9200/_template/marvel
[2017-02-14 14:46:56,014][ERROR][marvel.agent.exporter] [es-06] could not connect to any configured elasticsearch instances: [ IP:9200]
[2017-02-14 14:47:06,019][DEBUG][action.admin.indices.template.get] [es-06] no known master node, scheduling a retry
다음으로 수정:
discovery.zen.ping.unicast.hosts: ["IP1", "IP2",...]
로그 정상:
[2017-02-14 14:49:32,032][INFO ][node] [es-06] starting ...
[2017-02-14 14:49:32,204][INFO ][transport] [es-06] bound_address {inet[/ IP:9300]}, publish_address {inet[/ IP:9300]}
[2017-02-14 14:49:32,214][INFO ][discovery ] [es-06] elasticsearch/PF6CtX38STGjc6D-******
[2017-02-14 14:50:02,215][WARN ][discovery] [es-06] waited for 30s and no initial state was set by the discovery
[2017-02-14 14:50:02,256][INFO ][http] [es-06] bound_address {inet[/ IP:9200]}, publish_address {inet[/ IP:9200]}
[2017-02-14 14:50:02,257][INFO ][node] [es-06] started
[2017-02-14 14:50:09,939][INFO ][cluster.service] [es-06] detected_master [es-08]
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Embulk를 사용하여 ElasticCloud로 보내기Embulk에서 ElasticCloud에 보낼 수 있을까라고 생각비망록도 겸해 기술을 남깁니다 Embulk 설치 ElasticCloud (14 일 체험판) brew라면 아래 명령 입력 파일 만들기 파일 내용 seed...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.