首页 > 其他分享 >elasticsearch 集群搭建问题

elasticsearch 集群搭建问题

时间:2022-08-16 10:16:06浏览次数:66  
标签:node 4.9 172.100 集群 memory elasticsearch 搭建 discovery

原本缓存数据,影响。

问题1:
[2022-08-09T10:37:14,478][WARN ][o.e.c.c.ClusterFormationFailureHelper] [fort1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [node-1] to bootstrap a cluster: have discovered [{fort1}{nhSOkEhLQuaO4R6wlHvobw}{ddGlKTDYQfGnDrw3PXqtqw}{172.100.4.9}{172.100.4.9:9300}{dilmrt}{ml.machine_memory=16703619072, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [127.0.0.1:9300] from hosts providers and [{fort1}{nhSOkEhLQuaO4R6wlHvobw}{ddGlKTDYQfGnDrw3PXqtqw}{172.100.4.9}{172.100.4.9:9300}{dilmrt}{ml.machine_memory=16703619072, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0

问题2:
ERROR: [2] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked
[2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
ERROR: Elasticsearch did not exit normally - check the logs at /usr/local/las/log/elasticsearch/bigdata.log

标签:node,4.9,172.100,集群,memory,elasticsearch,搭建,discovery
From: https://www.cnblogs.com/liuzonglin/p/16590643.html

相关文章

  • Elasticsearch 字段别名 field-alias
    环境Elasticsearch8.1Kibana8.1MacOS10.14.6简介首先我们还是先了解一下,什么是字段别名?大家可能听说过索引别名,通过索引的别名可以轻松的切换所需的数据来源与哪......
  • k8s集群不可用:The connection to the server 192.168.117.161:6443 was refused - did
    虚拟机非正常关机后,k8s集群不可用获取节点,报如下错,kubectlgetnode 查看env:env|grep-ikubernetes 查看docker状态:systemctlstatusdocker 查看kubelet......
  • Elasticsearch别名
    ES中可以为索引添加别名,一个别名可以指向到多个索引中,同时在添加别名时可以设置筛选条件,指向一个索引的部分数据,实现在关系数据库汇总的视图功能,这就是ES中别名的强大之......
  • 搭建直播平台,spring boot 实现全局404页面
    搭建直播平台,springboot实现全局404页面一、springBoot2.0版本以下importorg.springframework.boot.autoconfigure.web.ErrorController;importorg.springframework.......
  • git学习(04)git项目搭建
    创建工作目录工作目录(WorkSpace)一般就是Git帮助管理的文件夹。可以是项目的目录,也可以是一个空目录,建议不要有中文。日常使用记住下图6个命令即可远程仓库搭......
  • ElasticSearch基于安装包方式安装
    1、下载地址https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.4.tar.gz2、解压tar-zxvfelasticsearch-6.5.4.tar.gz13、移动到安装位置mvel......
  • 第九章 搭建环境之实战介绍
    9.1面试题:tomcat的端口号在哪修改?/apache-tomcat-7.0.56/conf/server.xml第70行9.2前端、后端、前台、后台前端:有交互页面,包含前台和后台后端:没有页面,一般是指跟......
  • 如何保证 Redis 的高并发和高可用?讨论redis的单点,高可用,集群
    如何保证Redis的高并发和高可用?讨论redis的单点,高可用,集群。打开GitHub搜索redis,边可以看到,该项目的介绍是这样的:Redisisanin-memorydatabasethatpersistsond......
  • JavaScript快速入门-01-环境搭建
    1环境搭建  搭建JavaScript开发环境有很多种组合,本文中采用VisualStudioCode和Node.js的组合,详细如下所示:1.1Node.js环境搭建1.1.1下载Node.js  不管是基......
  • Elasticsearch聚合类型字段aggregate-metric-double
    https://www.elastic.co/guide/en/elasticsearch/reference/8.1/aggregate-metric-double.html环境信息Elasticsearch8.1Kibana8.1MacOS10.14.6描述今天我们......