ES启动异常:the default discovery settings are unsuitable for production use; at least...

注:es版本为7.0.0

问题:

ES启动时异常:

bin/elasticsearch
[1]: 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

原因分析
看提示可知:缺少默认配置,至少需要配置discovery.seed_hosts/discovery.seed_providers/cluster.initial_master_nodes中的一个参数.

discovery.seed_hosts:  集群主机列表
discovery.seed_providers: 基于配置文件配置集群主机列表
cluster.initial_master_nodes: 启动时初始化的参与选主的node,生产环境必填

处理办法:

修改配置文件,添加参数即可

vim config/elasticsearch.yml

#添加配置
discovery.seed_hosts: ["127.0.0.1"]

cluster.initial_master_nodes: ["node-1"]

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Although there are already some books published on Big Data, most of them only cover basic concepts and society impacts and ignore the internal implementation details―making them unsuitable to R&D people. To fill such a need, Big Data: Storage, Sharing, and Security examines Big Data management from an R&D perspective. It covers the 3S designs―storage, sharing, and security―through detailed descriptions of Big Data concepts and implementations. Written by well-recognized Big Data experts around the world, the book contains more than 450 pages of technical details on the most important implementation aspects regarding Big Data. After reading this book, you will understand how to: Aggregate heterogeneous types of data from numerous sources, and then use efficient database management technology to store the Big Data Use cloud computing to share the Big Data among large groups of people Protect the privacy of Big Data during network sharing With the goal of facilitating the scientific research and engineering design of Big Data systems, the book consists of two parts. Part I, Big Data Management, addresses the important topics of spatial management, data transfer, and data processing. Part II, Security and Privacy Issues, provides technical details on security, privacy, and accountability. Examining the state of the art of Big Data over clouds, the book presents a novel architecture for achieving reliability, availability, and security for services running on the clouds. It supplies technical descriptions of Big Data models, algorithms, and implementations, and considers the emerging developments in Big Data applications. Each chapter includes references for further study. Table of Contents Section I: Big data management: Storage, Sharing, and Processing Chapter 1. Challenges and Approaches in Spatial Big Data Management Chapter 2. Storage and Database Management for Big Data Chapter 3. Performance Evaluation of Protocols for Big Data Transfers Chapter 4. Challenges

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值