ES 节点没有相应,移除节点部分日志

pencil 14天前 20

## grep zen-disco-node-failed es-daemon.log


es-daemon.log.3:[2021-03-31T05:03:51,934][WARN ][o.e.c.s.ClusterApplierService] [es-3] cluster state applier task [apply cluster state (from master [master {es-3}{xzL31OZRR7m7CuOuK5EFxQ}{fMVfode2SM-hbJrPbOYKPg}{10.133.23.153}{10.133.23.153:9300}{ml.machine_memory=134908764160, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [8627] source [zen-disco-node-failed({es-1}{-llTokB7SYOdylbN2-rgRw}{VK6Zt5DuTRmNebwt_nrcWA}{10.133.23.151}{10.133.23.151:9300}{ml.machine_memory=134908755968, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}), reason(failed to ping, tried [3] times, each with maximum [30s] timeout)[{es-1}{-llTokB7SYOdylbN2-rgRw}{VK6Zt5DuTRmNebwt_nrcWA}{10.133.23.151}{10.133.23.151:9300}{ml.machine_memory=134908755968, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true} failed to ping, tried [3] times, each with maximum [30s] timeout],


zen-disco-node-failed({es-2}{ggMqORW-QGCaQa0fd81MPQ}{r1exbi0JSxiLhaGXsh3x2Q}{10.133.23.152}{10.133.23.152:9300}{ml.machine_memory=134908674048, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}), reason(failed to ping, tried [3] times, each with maximum [30s] timeout)[{es-2}{ggMqORW-QGCaQa0fd81MPQ}{r1exbi0JSxiLhaGXsh3x2Q}{10.133.23.152}{10.133.23.152:9300}{ml.machine_memory=134908674048, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true} failed to ping, tried [3] times, each with maximum [30s] timeout]]])] took [22.7m] above the warn threshold of 30s
最新回复 (3)
  • pencil 14天前
    0 引用 2

    2、集群有目的的延迟分配

    当某个节点脱离集群,主节点会暂时的延迟重分配分片,以减少重新平衡分片带来的资源浪费,这种情况下,如果源节点在一定时间(默认1分钟)内重新加入,可以恢复分片信息。这种情况的日志信息如下:

    [TIMESTAMP][INFO][cluster.routing] [MASTER NODE NAME]delaying allocation for [54] unassigned shards, next check in [1m]

    可以手动修改延迟时间:

    curl -XPUT'localhost:9200/<INDEX_NAME>/_settings' -d '
    {
        "settings": {
         "index.unassigned.node_left.delayed_timeout": "30s"
        }
    }'


  • pencil 14天前
    0 引用 3

    https://blog.csdn.net/kezhen/article/details/79379512

  • pencil 14天前
    0 引用 4
    https://www.elastic.co/guide/en/elasticsearch/reference/6.8/delayed-allocation.html
返回
发新帖