Reindex from remote broken again in 5.4?

(Zsolt) #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?

(Mark Walkom) #2

Can you show us the request you are making?

(Zsolt) #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"

(Mark Walkom) #4

Is there something in the ES logs at this time?

(Zsolt) #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?

(Mark Walkom) #6

It looks like the scroll ID that is being used is not valid.

(Jason Tedor) #7

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

Reindex fail
(Muhamadli302) #8

Hi, I have had this issue as well.
Is there a date for the release of 5.4.1?

(Jason Tedor) #9

We do not provide release dates.

(Dennis Dyall Wallin) #10

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) #11

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