# Reindex from remote broken again in 5.4?

**URL:** <https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231>\
**Category:** Elasticsearch\
**Created:** [May 10, 2017, 10:59am UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231 "2017-05-10T10:59:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zsolt](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@Zsolt](https://discuss.elastic.co/u/Zsolt)\
**Post date:** [May 10, 2017, 10:59am UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/1 "2017-05-10T10:59:19Z")

</div>

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://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?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 10, 2017, 2:30pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/2 "2017-05-10T14:30:12Z")

</div>

Can you show us the request you are making?

---

<div class="post-metadata">

**Author:** ![Zsolt](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@Zsolt](https://discuss.elastic.co/u/Zsolt)\
**Post date:** [May 10, 2017, 7:41pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/3 "2017-05-10T19:41:46Z")

</div>

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"
   }   
}
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2017, 12:58pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/4 "2017-05-11T12:58:02Z")

</div>

Is there something in the ES logs at this time?

---

<div class="post-metadata">

**Author:** ![Zsolt](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@Zsolt](https://discuss.elastic.co/u/Zsolt)\
**Post date:** [May 11, 2017, 7:36pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/5 "2017-05-11T19:36:47Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 13, 2017, 3:47am UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/6 "2017-05-13T03:47:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [May 13, 2017, 5:59pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/7 "2017-05-13T17:59:37Z")

</div>

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](https://github.com/elastic/elasticsearch/pull/24561).

---

<div class="post-metadata">

**Author:** ![muhamadli302](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@muhamadli302](https://discuss.elastic.co/u/muhamadli302)\
**Post date:** [May 17, 2017, 2:11pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/8 "2017-05-17T14:11:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [May 17, 2017, 2:56pm UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/9 "2017-05-17T14:56:45Z")

</div>

> [@muhamadli302](#):
>
> Is there a date for the release of 5.4.1?

We do not provide release dates.

---

<div class="post-metadata">

**Author:** ![dennis.dyall](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dennis.dyall](https://discuss.elastic.co/u/dennis.dyall)\
**Post date:** [May 18, 2017, 11:03am UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/10 "2017-05-18T11:03:02Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 15, 2017, 11:03am UTC](https://discuss.elastic.co/t/reindex-from-remote-broken-again-in-5-4/85231/11 "2017-06-15T11:03:15Z")

</div>

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