Reindex to version 6 and unknown error parsing response

Hello. When i do reindex i have this error :

{"error":{"root_cause":[{"type":"exception","reason":"Error parsing the response, remote is likely not an Elasticsearch instance"}],"type":"exception","reason":"Error parsing the response, remote is likely not an Elasticsearch instance","caused_by":{"type":"x_content_parse_exception","reason":"[1:52638] [search_response] failed to parse field [hits]","caused_by":{"type":"x_content_parse_exception","reason":"[1:52638] [hits] failed to parse field [hits]","caused_by":{"type":"x_content_parse_exception","reason":"[1:52638] [hit] failed to parse field [_source]","caused_by":{"type":"parsing_exception","reason":"[hit] failed to parse [_source]","line":1,"col":52638,"caused_by":{"type":"json_parse_exception","reason":"Duplicate field 'id'\n at [Source: org.apache.http.nio.entity.ContentInputStream@37bb0b2e; line: 1, column: 52653]","suppressed":[{"type":"illegal_state_exception","reason":"Failed to close the XContentBuilder","caused_by":{"type":"i_o_exception","reason":"Unclosed object or array found"}}]}}}}}},"status":500}

Is there any way to know the problematic document ?? Whats happens ? I am totally lost. Thanks.

How are you running the reindexing?

nohup curl -XPOST "172.19.0.45:9200/_reindex" -H 'Content-Type: application/json' -d '{"source":{"remote":{"host":"http://db-es5-dev.sgnet.local:9200"},"index":"bioinformatics_553", "size": 1},"dest":{"index":"bioinformatics_aux2"}}' &

from a machine with version 5 to a machine with version 6.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.