成功解决 failing shard [AccessControlException[access denied (“java.io.FilePermission“
Posted 微笑狗
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了成功解决 failing shard [AccessControlException[access denied (“java.io.FilePermission“相关的知识,希望对你有一定的参考价值。
成功解决 failing shard [AccessControlException[access denied (“java.io.FilePermission” “E:\\Program%20Files\\elasticsearch-7.10.0\\plugins\\ik\\config\\IKAnalyzer.cfg.xml” “read”)]], markAsStale [true]]
windows 环境下,运行 elasticsearch.bat 时报以下错误
failing shard [AccessControlException[access denied ("java.io.FilePermission" "E:\\Program%20Files\\elasticsearch-7.10.0\\plugins\\ik\\config\\IKAnalyzer.cfg.xml" "read")]], markAsStale [true]]
问题原因:
路径中存在空格
解决方法:
把文件换到另一个没有中文、没有空格的路径下,重新运行elasticsearch.bat ,如下图路径
以上是关于成功解决 failing shard [AccessControlException[access denied (“java.io.FilePermission“的主要内容,如果未能解决你的问题,请参考以下文章
解决PyCharm上传代码到Github出现push failed: unable to acces
Successfully created project 'vueSecond' on GitHub, but initial push failed: unable to acces
Elasticsearchelasticsearch All Shards Failed
failed to obtain in-memory shard lock