Zsolt
(Zsolt)
May 10, 2017, 10:59am
1
I'm reindexing from a 1.7.6 version to 5.4 and it fails again (after being fixed in 5.3.2):
`{
"error": {
"root_cause": [
{
"type": "status_exception",
"reason": "body={"error":"ElasticsearchParseException[Failed to parse [300000000000nanos]]; nested: NumberFormatException[For input string: \"300000000000nano\"]; ","status":400}"
}
],
"type": "status_exception",
"reason": "body={"error":"ElasticsearchParseException[Failed to parse [300000000000nanos]]; nested: NumberFormatException[For input string: \"300000000000nano\"]; ","status":400}",
"caused_by": {
"type": "response_exception",
"reason": "POST http://xx.xx.xx.xx:9200/_search/scroll?scroll=300000000000nanos: HTTP/1.1 400 Bad Request\n{"error":"ElasticsearchParseException[Failed to parse [300000000000nanos]]; nested: NumberFormatException[For input string: \"300000000000nano\"]; ","status":400}"
}
},
"status": 400
}`
Anybody tested reindexing in 5.4 from older versions?
warkolm
(Mark Walkom)
May 10, 2017, 2:30pm
2
Can you show us the request you are making?
Zsolt
(Zsolt)
May 10, 2017, 7:41pm
3
Here comes (it is the same I used with 5.3):
POST _reindex
{
"source": {
"remote": {
"host": "http://xx.xx.xx.xx:9200"
},
"index": "rules",
"type": "groups"
},
"dest": {
"index": "rules",
"type": "groups"
}
}
warkolm
(Mark Walkom)
May 11, 2017, 12:58pm
4
Is there something in the ES logs at this time?
Zsolt
(Zsolt)
May 11, 2017, 7:36pm
5
No, nothing on either source or dest.
But isn't the error that the 300000000000nanos
is not a recognized time unit on 1.7.6?
warkolm
(Mark Walkom)
May 13, 2017, 3:47am
6
It looks like the scroll ID that is being used is not valid.
It's indeed broken, it will be fixed in 5.4.1. We've added integration testing for 0.90.13, 1.7.6, and 2.4.5 so that hopefully this is never broken again. See https://github.com/elastic/elasticsearch/pull/24561 .
1 Like
Hi, I have had this issue as well.
Is there a date for the release of 5.4.1?
Thanks
We do not provide release dates.
I'm also enjoying this bug..
Is there a workaround? How to I set the scroll size? How do I set the total size when indexing from remote?
system
(system)
Closed
June 15, 2017, 11:03am
11
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.