p.p1 { margin: 0; font: 11px Menlo; color: rgba(0, 0, 0, 1); background-color: rgba(255, 255, 255, 1) }
span.s1 { font-variant-ligatures: no-common-ligatures }

[2020-07-03T15:18:23,147][WARN ][o.e.c.c.ClusterFormationFailureHelper] [localhost.localdomain] 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 [{localhost.localdomain}{jPmBEoRLTiOR9YjfAymxZQ}{4DGEc4wVT7WFOOlpOOFKbA}{10.0.2.15}{10.0.2.15:9300}{dilmrt}{ml.machine_memory=1929609216, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [127.0.0.1:9300] from hosts providers and [{localhost.localdomain}{jPmBEoRLTiOR9YjfAymxZQ}{4DGEc4wVT7WFOOlpOOFKbA}{10.0.2.15}{10.0.2.15:9300}{dilmrt}{ml.machine_memory=1929609216, 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

配置里面要指明节点和节点名称

  1. #
  2. # NOTE: Elasticsearch comes with reasonable defaults for most settings.
  3. # Before you set out to tweak and tune the configuration, make sure you
  4. # understand what are you trying to accomplish and the consequences.
  5. #
  6. # The primary way of configuring a node is via this file. This template lists
  7. # the most important settings you may want to configure for a production cluster.
  8. #
  9. # Please consult the documentation for further information on configuration options:
  10. # https://www.elastic.co/guide/en/elasticsearch/reference/index.html
  11. #
  12. # ---------------------------------- Cluster -----------------------------------
  13. #
  14. # Use a descriptive name for your cluster:
  15. #
  16. cluster.name: my-application
  17. #
  18. # ------------------------------------ Node ------------------------------------
  19. #
  20. # Use a descriptive name for the node:
  21. #
  22. node.name: node-1
  23. #
  24. # Add custom attributes to the node:
  25. #
  26. #node.attr.rack: r1
  27. #
  28. # ----------------------------------- Paths ------------------------------------
  29. #
  30. # Path to directory where to store the data (separate multiple locations by comma):
  31. #
  32. #path.data: /path/to/data
  33. #
  34. # Path to log files:
  35. #
  36. #path.logs: /path/to/logs
  37. #
  38. # ----------------------------------- Memory -----------------------------------
  39. #
  40. # Lock the memory on startup:
  41. #
  42. #bootstrap.memory_lock: true
  43. #
  44. # Make sure that the heap size is set to about half the memory available
  45. # on the system and that the owner of the process is allowed to use this
  46. # limit.
  47. #
  48. # Elasticsearch performs poorly when the system is swapping the memory.
  49. #
  50. # ---------------------------------- Network -----------------------------------
  51. #
  52. # Set the bind address to a specific IP (IPv4 or IPv6):
  53. #
  54. network.host: 0.0.0.0
  55. #
  56. # Set a custom port for HTTP:
  57. #
  58. http.port: 9200
  59. #
  60. # For more information, consult the network module documentation.
  61. #
  62. # --------------------------------- Discovery ----------------------------------
  63. #
  64. # Pass an initial list of hosts to perform discovery when this node is started:
  65. # The default list of hosts is ["127.0.0.1", "[::1]"]
  66. #
  67. discovery.seed_hosts: ["192.168.55.10"]
  68. #
  69. # Bootstrap the cluster using an initial set of master-eligible nodes:
  70. #
  71. cluster.initial_master_nodes: ["node-1"]
  72. #
  73. # For more information, consult the discovery and cluster formation module documentation.
  74. #
  75. # ---------------------------------- Gateway -----------------------------------
  76. #
  77. # Block initial recovery after a full cluster restart until N nodes are started:
  78. #
  79. #gateway.recover_after_nodes: 3
  80. #
  81. # For more information, consult the gateway module documentation.
  82. #
  83. # ---------------------------------- Various -----------------------------------
  84. #
  85. # Require explicit names when deleting indices:
  86. #
  87. #action.destructive_requires_name: true

  

es7.8启动报错 说是主节点没找到的更多相关文章

  1. 安装mongodb后启动报错libstdc++

    安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 ...

  2. vagrant启动报错The following SSH command responded with a no

    vagrant package打包生成box,以这个box为基础模板,打造vagrant环境,启动vagrant报错 angel:vagrant $ vagrant up Bringing machi ...

  3. linux查看与修改交换内存配置(解决zabbix-agent启动报错)

    问题 zabbix-agent在一台centos6.5上启动报错: cannot allocate shared memory of size 949056: [28] No space left o ...

  4. 笔记本电脑切换到无线热点无法联网问题&Spring Cloud相关工程启动报错问题

    通过禁用本地网络,和禁用另一个无线网络,以及禁用后重开,修改密码,重连的方式均失败后, 使用IE浏览器浏览提示失败,点击诊断,诊断出DNS服务器无响应异常. 突然想到通过ipconfig查看ip,网关 ...

  5. 创建spring boot项目启动报错遇到的问题

    1.Spring boot,Mybatis 启动报错 Failed to auto-configure a DataSource *************************** APPLICA ...

  6. Tomcat启动报错:StandardServer.await: create[8005] java.net.BindException: Cannot assign requested address

    Tomcat启动报错:StandardServer.await: create[8005] java.net.BindException: Cannot assign requested addres ...

  7. 转 : Apache启动报错:could not bind to address [::]:443 解决办法

    转:Apache启动报错:could not bind to address [::]:443 解决办法 安装Apache服务器的时候,报如下错误: Installing the 'apache' s ...

  8. 解决spring boot启动报错java.lang.NoClassDefFoundError: ch/qos/logback/classic/Level

    解决spring boot启动报错java.lang.NoClassDefFoundError: ch/qos/logback/classic/Level 学习了:https://blog.csdn. ...

  9. springboot项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde

    springboot项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde 创建 ...

随机推荐

  1. 不用写代码也能做表单 —— 加载meta即可

    做增删改查要写多少代码? 一个表单一套代码,十个表单十套代码吗? 我这么懒,怎么会写这么多代码? 我想做到:即使一百个表单也只需要一套代码(而且不需要复制粘贴).实现多个表单,只需要加载不同的meta ...

  2. Sql Server之ORDER BY不规则排序.如:中文月份排序

    ORDER BY CASE Month WHEN '一月' THEN 1 WHEN '二月' THEN 2 WHEN '三月' THEN 3 WHEN '四月' THEN 4 WHEN '五月' TH ...

  3. JDK15真的来了,一起来看看它的新特性

    目录 简介 JDK15的新特性 JEP 385 Deprecate RMI Activation for Removal JEP 371 Hidden Classes JEP 339 Edwards- ...

  4. 阿里云docker部署mysql

    看完我的上一个博客之后,对centos系统应该有一定的了解,话不多说,接下来我们来在docker容器中部署mysql. 1.下载mysql镜像,因为本人用的5.7版本,你也可以下载最新版,都是可以的 ...

  5. archaius(3) 配置管理器

    基于上一节介绍的配置源,我们来继续了解配置管理器.配置源只是抽象了配置的获取来源,配置管理器是基于配置源的基础上对这些配置项进行管理.配置管理器的主要功能是将配置从目标位置加载到内存中,并且管理内存配 ...

  6. java identityHashCode 和 hashCode

    当类并没有重写Object#hashCode()时, 对于 System.identityHashCode(Object) 和 Object#hashCode() 的结果是一致的; 但对于类似Stri ...

  7. Java审计之命令执行篇

    Java审计之命令执行篇 0x00 前言 在Java中能执行命令的类其实并不多,不像php那样各种的命令执行函数.在Java中目前所知的能执行命令的类也就两种,分别是Runtime和 ProcessB ...

  8. C++ (C#)实现获取NX PART预览图

    VS环境下 C++版本: 1 int GetPreviewImage(const TCHAR* prtFile, const TCHAR* imageFile) 2 { 3 IStorage* pSt ...

  9. DVWA从注入到GETSHELL

    好好过你的生活,不要老是忙着告诉别人你在干嘛. 最近在复习学过的东西,自己就重新搭了个dvwa来学习新思路,写一些简单的脚本来练习写代码的能力. 众所周知SQL注入的危害是相当大的,对于每个老司机来说 ...

  10. 神作!阿里首发并发编程神仙笔记,Github已星标92K

    Qzone 微信 神作!阿里首发并发编程神仙笔记,Github已星标92K JAVA超神编程 2020-09-23 21:04:06 JVM 无论什么级别的Java从业者,JVM都是进阶时必须迈过的坎 ...