架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3944|回复: 0

the default discovery settings are unsuitable for production use...

[复制链接]
发表于 2021-1-26 16:47:00 | 显示全部楼层 |阅读模式
[2021-01-26T16:42:53,751][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] version[7.10.2], pid[9508], build[default/zip/747e1cc71def077253878a59143c1f785afa92b9/2021-01-13T00:42:12.435326Z], OS[Windows 10/10.0/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/15.0.1/15.0.1+9]
[2021-01-26T16:42:53,755][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] JVM home [D:\elk\elasticsearch-7.10.2\jdk], using bundled JDK [true]
[2021-01-26T16:42:53,755][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=C:\Users\dj_hn\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:MaxDirectMemorySize=536870912, -Delasticsearch, -Des.path.home=D:\elk\elasticsearch-7.10.2, -Des.path.conf=D:\elk\elasticsearch-7.10.2\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true, exit, abort, -Xms1024m, -Xmx1024m, -Xss1024k]
[2021-01-26T16:42:56,212][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [aggs-matrix-stats]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [analysis-common]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [constant-keyword]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [flattened]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [frozen-indices]
[2021-01-26T16:42:56,213][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [ingest-common]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [ingest-geoip]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [ingest-user-agent]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [kibana]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [lang-expression]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [lang-mustache]
[2021-01-26T16:42:56,214][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [lang-painless]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [mapper-extras]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [mapper-version]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [parent-join]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [percolator]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [rank-eval]
[2021-01-26T16:42:56,215][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [reindex]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [repositories-metering-api]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [repository-url]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [search-business-rules]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [searchable-snapshots]
[2021-01-26T16:42:56,216][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [spatial]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [transform]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [transport-netty4]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [unsigned-long]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [vectors]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [wildcard]
[2021-01-26T16:42:56,217][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-analytics]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-async]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-async-search]
[2021-01-26T16:42:56,219][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-autoscaling]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-ccr]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-core]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-data-streams]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-deprecation]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-enrich]
[2021-01-26T16:42:56,220][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-eql]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-graph]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-identity-provider]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-ilm]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-logstash]
[2021-01-26T16:42:56,221][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-ml]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-monitoring]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-ql]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-rollup]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-security]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-sql]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-stack]
[2021-01-26T16:42:56,222][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-voting-only-node]
[2021-01-26T16:42:56,223][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] loaded module [x-pack-watcher]
[2021-01-26T16:42:56,223][INFO ][o.e.p.PluginsService     ] [DESKTOP-C76AMDM] no plugins loaded
[2021-01-26T16:42:56,507][INFO ][o.e.e.NodeEnvironment    ] [DESKTOP-C76AMDM] using [1] data paths, mounts [[(D:)]], net usable_space [527.5gb], net total_space [731.2gb], types [NTFS]
[2021-01-26T16:42:56,507][INFO ][o.e.e.NodeEnvironment    ] [DESKTOP-C76AMDM] heap size [1gb], compressed ordinary object pointers [true]
[2021-01-26T16:42:56,571][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] node name [DESKTOP-C76AMDM], node ID [l44zs2CMSMy_0g8r2W5xZA], cluster name [elasticsearch], roles [transform, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2021-01-26T16:42:59,709][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [DESKTOP-C76AMDM] [controller/2636] [Main.cc@114] controller (64 bit): Version 7.10.2 (Build 40a3af639d4698) Copyright (c) 2021 Elasticsearch BV
[2021-01-26T16:43:00,244][INFO ][o.e.x.s.a.s.FileRolesStore] [DESKTOP-C76AMDM] parsed [0] roles from file [D:\elk\elasticsearch-7.10.2\config\roles.yml]
[2021-01-26T16:43:01,022][INFO ][o.e.t.NettyAllocator     ] [DESKTOP-C76AMDM] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=1gb}]
[2021-01-26T16:43:01,074][INFO ][o.e.d.DiscoveryModule    ] [DESKTOP-C76AMDM] using discovery type [zen] and seed hosts providers [settings]
[2021-01-26T16:43:01,447][WARN ][o.e.g.DanglingIndicesState] [DESKTOP-C76AMDM] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-01-26T16:43:01,778][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] initialized
[2021-01-26T16:43:01,778][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] starting ...
[2021-01-26T16:43:01,929][INFO ][o.e.t.TransportService   ] [DESKTOP-C76AMDM] publish_address {192.168.40.1:9300}, bound_addresses {[::]:9300}
[2021-01-26T16:43:02,234][INFO ][o.e.b.BootstrapChecks    ] [DESKTOP-C76AMDM] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-01-26T16:43:02,251][ERROR][o.e.b.Bootstrap          ] [DESKTOP-C76AMDM] node validation exception
[1] bootstrap checks failed
[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
[2021-01-26T16:43:02,252][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] stopping ...
[2021-01-26T16:43:02,259][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] stopped
[2021-01-26T16:43:02,259][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] closing ...
[2021-01-26T16:43:02,268][INFO ][o.e.n.Node               ] [DESKTOP-C76AMDM] closed
elasticsearch(es)在配置 elasticsearch.yml 文件,让外网访问可以访问,启动报错,配置如下:

解决方案

取消注释如下代码:







上一篇:ASP.NET Core 链路追踪(四)接入 Jaeger 链路追踪
下一篇:日志系统(一)Windows 安装 ELK 7.10.2 教程
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2024-4-20 17:50

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表