Skip to content

Instantly share code, notes, and snippets.

@shardnit
Created July 20, 2012 11:43
Show Gist options
  • Save shardnit/3150299 to your computer and use it in GitHub Desktop.
Save shardnit/3150299 to your computer and use it in GitHub Desktop.
Replica indexing failure
[2012-07-20 12:29:05,072][WARN ][action.index ] [node3] Failed to perform index on replica [index_with_metrics][8]
org.elasticsearch.transport.RemoteTransportException: [node1][inet[/188.165.232.160:9300]][index/replica]
Caused by: org.elasticsearch.index.mapper.MapperParsingException: Failed to parse
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:508)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:437)
at org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:311)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnReplica(TransportIndexAction.java:257)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$ReplicaOperationTransportHandler.messageReceived(TransportShardReplicationOperationAction.java:255)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$ReplicaOperationTransportHandler.messageReceived(TransportShardReplicationOperationAction.java:241)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:400)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.elasticsearch.common.jackson.JsonParseException: Unexpected character ('"' (code 34)): was expecting comma to separate OBJECT entries
at [Source: [B@39b3614b; line: 1, column: 3866446]
at org.elasticsearch.common.jackson.JsonParser._constructError(JsonParser.java:1433)
at org.elasticsearch.common.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
at org.elasticsearch.common.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:442)
at org.elasticsearch.common.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:482)
at org.elasticsearch.common.xcontent.json.JsonXContentParser.nextToken(JsonXContentParser.java:48)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:451)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:497)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(ObjectMapper.java:565)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:441)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:493)
... 9 more
[2012-07-20 12:29:05,082][WARN ][cluster.action.shard ] [node3] sending failed shard for [index_with_metrics][8], node[XyQUw6GaQdS1aQFhlMYtpQ], [R], s[STARTED], reason [Failed to perform [index] on replica, message [RemoteTransportException[[node1][inet[/188.165.232.160:9300]][index/replica]]; nested: MapperParsingException[Failed to parse]; nested: JsonParseException[Unexpected character ('"' (code 34)): was expecting comma to separate OBJECT entries
at [Source: [B@39b3614b; line: 1, column: 3866446]]; ]]
[2012-07-20 13:36:59,555][INFO ][cluster.service ] [node3] removed {[node1][XyQUw6GaQdS1aQFhlMYtpQ][inet[/188.165.232.160:9300]],}, reason: zen-disco-receive(from master [[node2][HazWLeSPT6eN9fSRrebTaw][inet[/188.165.227.141:9300]]])
[2012-07-20 13:37:10,723][INFO ][cluster.service ] [node3] added {[node1][mKEJdORmQ7yMWS5nCNlI9Q][inet[/188.165.232.160:9300]],}, reason: zen-disco-receive(from master [[node2][HazWLeSPT6eN9fSRrebTaw][inet[/188.165.227.141:9300]]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment