elasticsearch,Java,elasticsearch" /> elasticsearch,Java,elasticsearch" />

Java Elasticsearch在显示t:无法读取本地状态后崩溃,正在退出

Java Elasticsearch在显示t:无法读取本地状态后崩溃,正在退出,java,elasticsearch,Java,elasticsearch,我不熟悉Elasticsearch。我在本地仅运行一个节点。到目前为止,它运行良好。现在它一开始就崩溃了。错误堆栈如下所示 C:\MyApps\elasticsearch 6.5.1\elasticsearch-oss-6.5.1\elasticsearch-6.5.1\bin>elasticsearch.bat [2018-12-10T14:20:49956][INFO][o.e.e.NodeEnvironment][J7qB0pK]使用[1]个数据路径、挂载[[OS(C:)]]、净可用空间[

我不熟悉Elasticsearch。我在本地仅运行一个节点。到目前为止,它运行良好。现在它一开始就崩溃了。错误堆栈如下所示

C:\MyApps\elasticsearch 6.5.1\elasticsearch-oss-6.5.1\elasticsearch-6.5.1\bin>elasticsearch.bat
[2018-12-10T14:20:49956][INFO][o.e.e.NodeEnvironment][J7qB0pK]使用[1]个数据路径、挂载[[OS(C:)]]、净可用空间[352.1gb]、净总空间[475.8gb]、类型[NTFS]
[2018-12-10T14:20:49972][INFO][o.e.e.NodeEnvironment][J7qB0pK]堆大小[990.7mb],压缩的普通对象指针[true]
[2018-12-10T14:21:05971][INFO][o.e.n.Node][J7qB0pK]从节点ID[J7qB0pK5R7S9adX1LCN2xA]派生的节点名称;将[node.name]设置为覆盖
[2018-12-10T14:21:05971][INFO][o.e.n.Node][J7qB0pK]版本[6.5.1],pid[16884],构建[oss/zip/8c58350/2018-11-16T02:22:42.182257Z],操作系统[Windows 10/10.0/amd64],JVM[Oracle Corporation/Java HotSpot(TM)64位服务器VM/1.8.0_171/25.171-b11]
[2018-12-10T14:21:05971][INFO][o.e.n.Node][J7qB0pK]JVM参数[-Xms1g,-Xmx1g,-XX:+UseConcMarkSweepGC,-XX:cmSinitiatingOccupencyFraction=75,-XX:+UseCSinitingOccupency,-XX:+AlwaysPreTouch,-Xss1m,-Djava.awt.headless=true,-Dfile.encoding=UTF-8,-Djna.nosys=true,-:-XX:-省略StackTraceInFastThrow,--Dio.netty.NonSafe=true,--Dio.netty.NokeySetoOptimization=true,--Dio.netty.netty.NokeySetoOptimization=true,-=0,-Dlog4j.shutdownhokenabled=false,-Dlog4j2.disable.jmx=true,-Djava.io.tmpdir=C:\Users\ADITYA~1\AppData\Local\Temp\elasticsearch,-XX:+heapdumponautofmemoryerror,-XX:HeapDumpPath=data,-XX:ErrorFile=logs\u errr\u pid%p.log,-XX:+PrintGCDetails,-XX:+PrintGCDateStamps,-XX:+printgcDateNuringDistribution,-XX:-XX:+printgcApplicationsTopedTime,-xlgclogs/gc.log,-XX:+UseGCLogFileRotation,-XX:NumberOfGCLogFiles=32,-XX:GCLogFileSize=64m,-Delasticsearch,-Des.path.home=C:\MyApps\elasticsearch6.5.1\elasticsearch-oss-6.5.1\elasticsearch-6.5.1\elasticsearch-oss-6.5.1\config,-Des.distribution.flavor=oss-Des.distribution.type=zip]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[aggs矩阵统计]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[analysis common]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[ingest common]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[lang expression]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[lang mustache]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[lang painless]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[mapper extras]
[2018-12-10T14:21:07596][INFO][o.e.p.PluginsService][J7qB0pK]加载的模块[parent join]
[2018-12-10T14:21:07614][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[percolator]
[2018-12-10T14:21:07619][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[rank eval]
[2018-12-10T14:21:07622][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[reindex]
[2018-12-10T14:21:07627][INFO][o.e.p.PluginsService][J7qB0pK]加载的模块[存储库url]
[2018-12-10T14:21:07631][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[transport-netty4]
[2018-12-10T14:21:07633][INFO][o.e.p.PluginsService][J7qB0pK]加载模块[tribe]
[2018-12-10T14:21:07637][INFO][o.e.p.PluginsService][J7qB0pK]未加载插件
[2018-12-10T14:21:14718][ERROR][o.e.g.GatewayMetaState][J7qB0pK]无法读取本地状态,正在退出。。。
org.elasticsearch.ElasticsearchException:java.io.IOException:未能读取[id:153,文件:C:\MyApps\elasticsearch6.5.1\elasticsearch-oss-6.5.1\elasticsearch-6.5.1\data\nodes\0\index\0gZa7OvBS4GaYgFeY2sKaQ\\u state\state-153.st]
在org.elasticsearch.exceptionHelper.maybeThrowRuntimeAndSuppress(exceptionHelper.java:164)~[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.gateway.MetaDataStateFormat.loadLatestState(MetaDataStateFormat.java:304)~[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.gateway.MetaStateService.loadFullState(MetaStateService.java:64)~[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.gateway.GatewayMetaState.(GatewayMetaState.java:86)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.node.node.(node.java:499)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.node.node.(node.java:265)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.bootstrap$5.(bootstrap.java:212)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.bootstrap.setup(bootstrap.java:212)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.bootstrap.init(bootstrap.java:333)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.elasticsearch.init(elasticsearch.java:136)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.elasticsearch.execute(elasticsearch.java:127)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.cli.environmentawerecommand.execute(environmentawerecommand.java:86)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.cli.Command.main不带错误处理(Command.java:124)[elasticsearch-cli-6.5.1.jar:6.5.1]
在org.elasticsearch.cli.Command.main(Command.java:90)[elasticsearch-cli-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.elasticsearch.main(elasticsearch.java:93)[elasticsearch-6.5.1.jar:6.5.1]
在org.elasticsearch.bootstrap.elasticsearch.main(elasticsearch.java:86)[elasticsearch-6.5.1.jar:6.5.1]
原因:java.io.IOException:未能读取[id:153,文件:C:\MyApps\elasticsearch6.5.1\elasticsearch-oss-6.5.1\elasticsearch-6.5.1\data\nodes\0\Indexes\0gZ