ElasticSearch EngineException [无法解析版本]嵌套:NotSerializableExceptionWrapper

时间:2016-05-16 03:39:29

标签: elasticsearch lucene

我遇到以下异常,当我尝试更新某些记录时,我以前从未在ES中看到过此异常,请帮忙:

2016-05-15 20:27:04][INFO ][rest.suppressed] /index1/aprelease/1122/_update Params: 
{id=aa22, index=index1, type=aprelease}
RemoteTransportException[[test-es15-a][indices:data/write/update[s]]]; 
nested: EngineException[Couldn't resolve version]; nested:
NotSerializableExceptionWrapper[Input/output error: 
NIOFSIndexInput(path="/data/node-a/data/ts-data/nodes/0/indices/index1/18/index/_ypk3.cfs")
[slice=_ypk3_Lucene50_0.tim]]; 
nested: NotSerializableExceptionWrapper[Input/output error];

    Caused by: [index1][[index1][18]] EngineException[Couldn't resolve version]; 
    nested: NotSerializableExceptionWrapper[Input/output error:
    NIOFSIndexInput(path="/data/node-a/data/ts-data/nodes/0/indices/index1/18/index/_ypk3.cfs") 
    [slice=_ypk3_Lucene50_0.tim]]; nested: NotSerializableExceptionWrapper[Input/output error];
        at org.elasticsearch.index.engine.Engine.getFromSearcher(Engine.java:256)
        at org.elasticsearch.index.engine.InternalEngine.get(InternalEngine.java:349)
        at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:606)
        at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:173)
        at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:86)
        at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:76)
        at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:170)
        at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:164)
        at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:65)
        at ....

根据Per Val的建议,我运行了以下命令并得到以下结果:

curl -XGET 'http://192.168.0.1:9200/index1/_upgrade?pretty&human'
{
  "size" : "408.4gb",
  "size_in_bytes" : 438558561139,
  "size_to_upgrade" : "0b",
  "size_to_upgrade_in_bytes" : 0,
  "size_to_upgrade_ancient" : "0b",
  "size_to_upgrade_ancient_in_bytes" : 0,
  "indices" : {
    "index1" : {
      "size" : "408.4gb",
      "size_in_bytes" : 438558561139,
      "size_to_upgrade" : "0b",
      "size_to_upgrade_in_bytes" : 0,
      "size_to_upgrade_ancient" : "0b",
      "size_to_upgrade_ancient_in_bytes" : 0
    }
  }
}

0 个答案:

没有答案