ES报错IOException:failedtoread(_state/state-42.s)
你所需要的网站建设服务,我们均能行业靠前的水平为你提供.标准是产品质量的保证,主要从事网站设计制作、做网站、企业网站建设、成都手机网站制作、网页设计、品牌网站制作、网页制作、做网站、建网站。创新互联拥有实力坚强的技术研发团队及素养的视觉设计专才。
4) Error injecting constructor, ElasticsearchException[java.io.IOException: failed to read [id:42, legacy:false, file:/data03/es/nodes/0/indices/7OnVKVcGQieslgR7mvZ4QQ/_state/state-42.st]];
nested: IOException[failed to read [id:42, legacy:false, file:/data03/es/nodes/0/indices/7OnVKVcGQieslgR7mvZ4QQ/_state/state-42.st]]; nested: IllegalStateException[class org.apache.lucene.store.BufferedChecksumIndexInput cannot seek backwards (pos=-16 getFilePointer()=0)]; at org.elasticsearch.gateway.GatewayMetaState.(Unknown Source)
while locating org.elasticsearch.gateway.GatewayMetaState
Caused by: ElasticsearchException[java.io.IOException: failed to read [id:42, legacy:false, file:/data03/es/nodes/0/indices/7OnVKVcGQieslgR7mvZ4QQ/_state/state-42.st]]; nested: IOException[
failed to read [id:42, legacy:false, file:/data03/es/nodes/0/indices/7OnVKVcGQieslgR7mvZ4QQ/_state/state-42.st]]; nested: IllegalStateException[class org.apache.lucene.store.BufferedChecksumIndexInput cannot seek backwards (pos=-16 getFilePointer()=0)];
解决办法:
删除file:/data03/es/nodes/0/indices/7OnVKVcGQieslgR7mvZ4QQ/_state/state-42.st
find /data*/es/nodes/0/indices/ -type f -name state-*.st -exec rm -rf {} \;
文章名称:ES报错IOException:failedtoread(_state/state-42.s)
当前链接:http://ybzwz.com/article/ghiohj.html