无法在Windows中启动弹性搜索



在cmd:中运行elasticsearch.bat时

警告:忽略JAVA_HOME=C:\Program Files\JAVA_HOME\openjdk-17.0.1;使用捆绑JDK[2022-07-11T10:50:46384][INFO][o.e.n.Node
][MUTHU]版本[8.3.0],pid[6080],构建[zip/5b8b981647acdf1ba1d88751646b49d1b461b4cc/2022-06-23T22:48:49.60749224Z],操作系统[Windows 11/10.0/amd64],JVM[Oracle Corporation/OpenJDK 64位服务器VM/18.1.1/18.1.1+2-6][2022-07-11T10:50:46391][INFO][o.e.n.Node][MUTHU]JVM主页[C:\Users\muthu\Downloads\elasticsearch-8.3.0-windows-x86_64\elasticsearch-8.3.0\jdk],使用捆绑JDK[true][2022-07-11T10:50:46392][INFO][o.e.n.Node
][MUTHU]JVM arguments[-Des.networkaddress.cache.ttl=60,-Des.networkaddress.cache.dnegative.ttl=10,-Djava.security.manager=allow,-XX:+AlwaysPreTouch,-Xss1m,-Djava.awt.headless=true,-Dfile.concoding=UTF-8,-Djna.nosys=true,-XX:-OmitStackTraceInFastThrow,-Dio.nety.noUnsafe=true,-Dio.Nety.noKeySetOptimization=true,-Dio.netty.recycler.maxCapacityPerThread=0,-Dlog4j.shutdownHookEnabled=false,-Dlog4j2.disable.jmx=真,-Dlog4j2.formatMsgNoLookups=true,-Djava.locale.providers=SPI,COMPAT,--add-opens=java.base/java.io=ALL-UNNAMED,-XX:+UseG1GC,-Djava.io.tmpdir=C:\Users\muthu\AppData\Local\Temp\elasticsearch,-XX:+HeapDumpOnOutOfMemoryError,-X:+ExitOnOutOfMemory Error,-XX:HeapDupPath=data,-XX:ErrorFile=logs/hs_err_pid%p.log,-Xlog:gc*,gc+age=trace,安全点:file=logs/gc.log:utctime,pid,tags:filecount=32,文件大小=64m,-Xms8138m,-Xmx8138m,-XX:MaxDirectMemorySize=42677004320,-XX:G1HeapRegionSize=4m,-XX:InitiatingHeapOccupancyPercent=30,-XX:G1 ReservePercent=15,-Des.distribution.type=zip,--模块路径=C:\Users\muthu\Downloads\elasticsearch-8.3.0-windows-x86_64\elasticsearch-8.3.0\lib,-Djdk.module.main=org.elasticsearch.server][2022-07-11T10:50:49211][INFO][c.a.c.i.j.JacksonVersion][MUTHU]包版本:jackson annotations=2.13.2,jackson core=2.13.2,jackson数据绑定=2.13.2.2,jackson-datatype-jsr310=2.13.2,azure core=1.27.0,故障排除版本冲突:https://aka.ms/azsdk/java/dependency/troubleshoot[2022-07-11T10:5:51545][信息][o.e.p.PluginsService][MUTHU]已加载模块[aggs matrix stats][2022-07-11T10:50:55145][INFO][o.e.p.PluginsService][MUTHU]加载的模块[分析通用]【2022-07-11T10:50:551546】【信息】【插件服务】【MUTHU】已加载模块[常量关键字][2022-07-11T10:51546][信息][o.e.p.PluginsService][MUTHU]加载的模块[数据流]【2022-07-11T10:50:551546】【信息】【插件服务】【MUTHU】已加载模块[冻结索引][2022-07-11T10:51547][信息][o.e.p.PluginsService][MUTHU]加载模块[摄入公共]【2022-07-11T10:50:551547】【信息】【插件服务】【MUTHU】加载模块[摄取大地水准面][2022-07-11T10:51547][信息][o.e.p.PluginsService][MUTHU]加载的模块[摄取用户代理]【2022-07-11T10:50:551548】【信息】【插件服务】【MUTHU】已加载模块[kibana][2022-07-11T10:50:51548][INFO][o.e.p.PluginsService][MUTHU]加载的模块[lang表达式]【2022-07-11T10:50:551549】【信息】【插件服务】【MUTHU】已加载模块[lang splashe][2022-07-11T10:50:55149][INFO][o.e.p.PluginsService][MUTHU]加载模块[lang无痛]【2022-07-11T10:50:1550】【信息】【插件服务】【MUTHU】已加载模块[传统地理][2022-07-11T10:51550][信息][o.e.p.PluginsService][MUTHU]加载的模块[mapper extrass]【2022-07-11T10:50:1550】【信息】【插件服务】【MUTHU】已加载模块[映射器版本][2022-07-11T10:51551][信息][o.e.p.PluginsService][MUTHU]加载模块[旧lucene版本][2022-07-11T10:50:5515][信息][o.e.p.PluginsService][MUTHU]加载的模块[parent join]【2022-07-11T10:50:55152】【信息】【插件服务】【MUTHU】加载模块[渗透器][2022-07-11T10:51552][信息][o.e.p.PluginsService][MUTHU]加载模块[rank eval][2022-07-11T10:50:55153][INFO][o.e.p.PluginsService][MUTHU]已加载模块[重新索引][2022-07-11T10:51553][信息][o.e.p.PluginsService][MUTHU]加载模块[存储库计量api][2022-07-11T10:50:55153][INFO][o.e.p.PluginsService][MUTHU]加载的模块[repository azure][2022-07-11T10:50:55154][INFO][o.e.p.PluginsService][MUTHU]已加载模块[存储库已加密][2022-07-11T10:51554][信息][o.e.p.PluginsService][MUTHU]加载的模块[repository gcs]【2022-07-11T10:50:55155】【信息】【插件服务】【MUTHU】已加载模块[存储库-s3][2022-07-11T10:51555][信息][o.e.p.PluginsService][MUTHU]加载的模块[存储库url]【2022-07-11T10:50:55156】【信息】【插件服务】【MUTHU】已加载模块[运行时字段通用][2022-07-11T10:51556][信息][o.e.p.PluginsService][MUTHU]加载模块【搜索业务规则】【2022-07-11T10:50:55157】【信息][o.e.p.PluginsService][MUTHU]加载模块[可搜索快照][2022-07-11T10:51557][信息][o.e.p.PluginsService][MUTHU]加载模块[基于快照的恢复][2022-07-11T10:50:55158][信息][o.e.p.PluginsService][MUTHU]加载模块[快照回购测试试剂盒][2022-07-11T10:50:55158][信息][o.e.p.PluginsService][MUTHU]加载的模块[space]【2022-07-11T10:50:55159】【信息】【插件服务】【MUTHU】加载模块[转换][2022-07-11T10:51559][信息][o.e.p.PluginsService][MUTHU]加载模块[transport-nety4][2022-07-11T10:50:55160][INFO][o.e.p.PluginsService][MUTHU]已加载模块〔unsigned long〕〔2022-07-11T10:50:55160〕〔INFO][o.e.p.PluginsService][MUTHU]加载模块[vector tile][2022-07-11T10:50:55161][INFO][o.e.p.PluginsService][MUTHU]已加载模块[矢量][2022-07-11T10:51561][信息][o.e.p.PluginsService][MUTHU]加载的模块[通配符][2022-07-11T10:50:551562][INFO][o.e.p.PluginsService][MUTHU]已加载模块[x-pack-aggregate-metric][2022-07-11T10:50:55162][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-analytics][2022-07-11T10:50:55153][INFO][o.e.p.PluginsService][MUTHU]已加载模块[x-pack-async][2022-07-11T10:50:55163][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-async-search][2022-07-11T10:50:55163][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-autoscaling][2022-07-11T10:50:55164][信息][o.e.p.PluginsService][MUTHU]加载模块[x-pack-ccr]【2022-07-11T10:50:551564】【信息】【插件服务】【MUTHU】已加载模块[x-pack-core][2022-07-11T10:50:55165][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-deprection][2022-07-11T10:50:55165][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-enrich][2022-07-11T10:50:55156][INFO][o.e.p.PluginsService][MUTHU]已加载模块[x-pack-eql][2022-07-11T10:50:55156][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-fleet][2022-07-11T10:50:55156][INFO][o.e.p.PluginsService][MUTHU]已加载模块[x-pack-graph][2022-07-11T10:50:55167][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-identity provider][2022-07-11T10:50:55167][信息][o.e.p.PluginsService][MUTHU]加载模块[x-pack-ilm]【2022-07-11T10:50:551567】【信息】【插件服务】【MUTHU】已加载模块[x-pack-logtash][2022-07-11T10:50:55168][信息][o.e.p.PluginsService][MUTHU]加载模块[x-pack-ml]【2022-07-11T10:50:551568】【信息】【插件服务】【MUTHU】加载模块[x-pack-monitoring][2022-07-11T10:50:55169][信息][o.e.p.PluginsService][MUTHU]加载的模块[x-pack-ql]【2022-07-11T10:50:551569】【信息】【插件服务】【MUTHU】已加载模块[x-pack-rollup][2022-07-11T10:50:51570][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-security]【2022-07-11T10:50:551570】【信息】【插件服务】【MUTHU】加载模块[x-pack-shutdown][2022-07-11T10:50:51570][INFO][o.e.p.PluginsService][MUTHU]加载的模块[x-pack-sql]【2022-07-11T10:50:55171】【信息】【插件服务】【MUTHU】已加载模块[x-pack-stack][2022-07-11T10:51571][信息][o.e.p.PluginsService][MUTHU]加载模块[x-pack-文本结构][2022-07-11T10:50:51572][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-voting-only-node][2022-07-11T10:50:51572][INFO][o.e.p.PluginsService][MUTHU]加载模块[x-pack-watcher]【2022-07-11T10:50:551573】【信息】【o.e.p.PluginsService】【MUTHU】否加载的插件[2022-07-11T10:5:55410][INFO][o.e.e.NodeEnvironment][MUTHU]使用[1]数据路径,挂载[[Windows(C:)]],net可用空间[6.6gb],净总空间[117.9gb],类型[NFS]【2022-07-11T10:50:5411】【信息】【o.e.e.NodeEnvironment】【MUTHU】堆大小[7.9gb],压缩的普通对象指针[true][2022-07-11T10:5:55525][INFO][o.e.n.Node][MUTHU]节点名称[MUTHU],节点ID[blR5jASzR-GtHp8cCsqjNA],集群名称[弹性搜索],角色[ml,data_hot,transform,data_content,data_warm,master,remote_cluster_client,data,data_cold,intake,data_frozen][2022-07-11T10:50:59905][INFO][o.e.x.s.Security
][MUTHU]安全已启用[2022-07-11T10:51:00479][INFO][o.e.x.s.a.s.FileRolesStore][MUTHU]已从文件中解析[0]个角色[C:\Users\muthu\Downloads\elasticsearch-8.3.0-windows-x86_64\aelasticsearch-8.3.0\config\roles.yml]

【2022-07-11T10:51:01649】【信息】【o.e.x.m.p.l.CppLogMessageHandler】[MUTHU][控制器/5312][Main.cc@123]控制器(64位):版本8.3.0(Build 2ddb5323b2ad5a)版权所有(c)2022 Elasticsearch BV【2022-07-11T10:51:02533】【信息】【o.e.t.n.NettyAllocator】【MUTHU】使用以下配置创建NettyAllocator:[name=elasticsearch_configurated,chunk_size=1mb,最大分配大小=1mb,factors={es.unsafe.use_netty_default_chunk_and_page_size=false,g1gc_enabled=true,g1gc_region_ize=4mb}]【2022-07-11T10:51:02578】【信息】【o.e.i.r.RecoverySettings】【MUTHU】使用速率限制[40mb]和[默认=40mb,读取=0b,写入=0b,最大值=0b]【2022-07-11T10:51:02635】【信息】【o.e.d.DiscoveryModule】【MUTHU】使用发现类型[多节点]和种子主机提供程序[设置]【2022-07-11T10:51:04703】【信息】【o.e.n.Node】【MUTHU】已初始化〔2022-07-11T10:51:04704〕〔INFO〕〔o.e.n.节点
〕〔MUTHU〕正在启动。。。[2022-07-11T10:51:04722][信息][o.e.x.s.c.f.PersistentCache][MUTHU]已加载持久缓存索引[2022-07-11T10:51:04723][信息][o.e.x.d.l.DeprecationIndexingComponent][MUTHU]折旧组件已启动[2022-07-11T10:51:05004][信息][o.e.t.TransportService][MUTHU]publish_address{127.0.0.1:9300},边界地址{127.0.0.1:9300},{[::1]:9300}[2022-07-11T10:51:05617][警告][o.e.c.c.ClusterBootstrapService][MUTHU]此节点被锁定到集群UUID[vICcQF0LRnMaEJTavBbaQ]但是[cluster.initial_master_nodes]被设置为[MUTHU];删除此设置以避免后续群集可能导致的数据丢失引导尝试[2022-07-11T10:51:05802][信息][o.e.c.s.MasterService][MUTHU]被选为主节点([1])joind)[FINISH_ELECTION,{MUTHU}{blR5jASzR-GtHp8cCsqjNA}{完成选举],期限:5,版本:40,增量:主节点已更改{上一个[],当前{MUTHU}{blR5jASzR-GtHp8cCsqjNA}{lHHp8n91TFCQtiZV56u4ZA}{MUTHU}{127.0.0.1}{127.0.0:9300}{cdfhilmstw}}【2022-07-11T10:51:05922】【信息】【o.e.c.s.ClusterApplierService】[MUTHU]主节点已更改{上一个[],当前{MUTHU}{blR5jASzR-GtHp8cCsqjNA}{lHHp8n91TFCQtiZV56u4ZA}{MUTHU}{127.0.0.1}{127.0.0:9300}{cdfhilmstw}}}},术语:5,版本:40,原因:出版物{术语=5,版本=40}[2022-07-11T10:51:05983][警告][o.e.c.r.a.DiskThresholdMonitor]上超过[MUTHU]高磁盘水印[90%][blR5jASzR-GtHp8cCsqjNA][MUTHU][C:\Users\MUTHU\Downloads\elasticsearch-8.3.0-windows-x86_64\elasticsearch-8.3.0\data]免费:6.6gb[5.6%],碎片将从该节点移开;当前正在重新定位总计[0]字节的碎片;节点是当这些搬迁完成[2022-07-11T10:51:06038][信息][o.e.h.AbstractHttpServerTransport][MUTHU]publish_address{192.168.1.6:9200},绑定地址{[::]:9200}【2022-07-11T10:51:06041】【信息】【o.e.n.Node】【MUTHU】已启动{MUTHU}{blR5jASzR-GtHp8cCsqjNA}{lHHp8n91TFCQtiZV56u4ZA}{MUTHU}{127.0.0.1}{127.0.01:9300}{cdfhilmstw}{ml.max_jvm_size=8535408640,ml.machine_memory=17066790912,xpack.installed=true}【2022-07-11T10:51:06089】【信息】【o.e.l.LicenseService】【MUTHU】许可证[4b383951-c19c-4efc-8fb2-201b91e32e8c]模式[基本]-有效【2022-07-11T10:51:06092】【信息】【o.e.x.s.a.Realms】【MUTHU】许可证模式是[基本],当前许可的安全领域是[保留/保留,文件/default_file,本机/default_native]【2022-07-11T10:51:06098】【信息】【例如网关服务】【MUTHU】已将[2]个索引恢复到cluster_state[2022-07-11T10:51:06257][错误][o.e.i.g.GeoIpDownloader][MUTHU]大地水准面数据库更新期间出现异常org.lasticsearch.ElasticsearchException:不是的所有主要碎片[.geoip_databases]索引处于活动状态网址:org.elasticsearch.intake.geop.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:134)~[摄取-糖蛋白-8.3.0.罐:8.3.0]网址:org.elasticsearch.intake.geop.GeoIpDownloader.runDownloader(GeoIpDownloader.java:274)[摄取-糖蛋白-8.3.0.罐:8.3.0]网址:org.elasticsearch.intake.geop.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderCaskExecutor.java:102)[摄取-糖蛋白-8.3.0.罐:8.3.0]网址:org.elasticsearch.intake.geop.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderCaskExecutor.java:48)[摄取-糖蛋白-8.3.0.罐:8.3.0]位于org.elasticsearch.persisten.NodePersistentTasksExecutiutor$1.doRun(NodePersistentTsksExecutiutor.java:42)[弹性搜索-8.3.0.jar:?]位于org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:768)[弹性搜索-8.3.0.jar:?]网址:org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)[弹性搜索-8.3.0.jar:?]位于java.util.concurrent.ThreadPoolExecutiator.runWorker(ThreadPoolExecutiator.java:1136)[?:?]位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)[?:?]在java.lang.Thread.run(Thread.java:833)[?:?][2022-07-11T10:51:06266][INFO][o.e.c.r.a.AllocationService][MUTHU]current.health=";红色";消息=";群集运行状况状态已从更改[黄色]到[红色](原因:[状态已恢复])"previor.health=";黄色";reason=";状态恢复";

如错误消息中所述,

[blR5jASzR-GtHp8cCsqjNA][MUTHU][上超过高磁盘水印[90%]

大地水准面数据库更新期间出现[MUTHU]异常org.lasticsearch.ElasticsearchException:不是的所有主要碎片[.geoip_databases]索引在处于活动状态

似乎没有足够的空间分配给Elasticsearch的数据文件夹,Elasticsearch将在其中存储索引数据。尝试释放Elasticsearch数据文件夹中的空间,该文件夹可以在elasticsearch.yml中找到。它是在path.data设置下定义的。

最新更新