开发者社区> 问答> 正文

es所有节点都开启但是都找不到master

如题事发缘由:昨日遇到前同事自建es硬盘爆满,然后咨询阿里云客服增硬盘方法,结果是格式不一致(需要GPT格式,目前是MBR)硬盘无法达到2t以上的容量(es数据已达到2t),客服给出方案大致是需要格式化现在的盘,然后把数据都放置一个按量付费的零时盘,格式完之后在把数据放回原来的盘,目前所有操作都已完成。

es的架构是3台centos,目前动的这台是主。 接下来是重启es的操作,所有节点都已启动,但是所有节点都报的[WARN ][o.e.c.c.ClusterFormationFailureHelper] [salve2] master not discovered yet: have discovered [{salve2}{ma8qpNhoT9i-vUCHgClWKQ}{ta6cwq7FQ5qonsBmg00hBQ}{172.16.109.53}{172.16.109.53:9300}{dil}{ml.machine_memory=33012584448, xpack.installed=true, ml.max_open_jobs=20}]; discovery will continue using [127.0.0.1:9300] from hosts providers and [] from last-known cluster state; node term 45, last-accepted version 6569 in term 45

还有一个主节点疯狂滚屏,(滚屏内容:[master0] path: /mp_account/_update_by_query, params: {index=mp_account} org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized]; at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.java:189) ~[elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedRaiseException(ClusterBlocks.java:175) ~[elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.search.TransportSearchAction.executeSearch(TransportSearchAction.java:467) ~[elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.search.TransportSearchAction.executeLocalSearch(TransportSearchAction.java:400) ~[elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.search.TransportSearchAction.lambda$doExecute$3(TransportSearchAction.java:212) ~[elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:62) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.index.query.Rewriteable.rewriteAndFetch(Rewriteable.java:114) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.index.query.Rewriteable.rewriteAndFetch(Rewriteable.java:87) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:242) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:87) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:153) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.apply(SecurityActionFilter.java:123) [x-pack-security-7.4.0.jar:7.4.0] at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:151) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:129) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:64) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:396) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.FilterClient.doExecute(FilterClient.java:65) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.ParentTaskAssigningClient.doExecute(ParentTaskAssigningClient.java:63) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:396) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:529) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.index.reindex.ClientScrollableHitSource.doStart(ClientScrollableHitSource.java:76) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.index.reindex.ScrollableHitSource.start(ScrollableHitSource.java:75) [elasticsearch-7.4.0.jar:7.4.0] at org.elasticsearch.index.reindex.AbstractAsyncBulkByScrollAction.start(AbstractAsyncBulkByScrollAction.java:242) [reindex-client-7.4.0.jar:7.4.0])滚的数据非常快,类似恢复数据?~,也不清楚了,有大佬可以帮忙解决的吗,

展开
收起
夜白浮 2021-05-31 10:23:03 719 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载