Hi,
I've been trying to restore an index snapshot and am getting this error in
the response:
ElasticsearchParseException[unexpected token [FIELD_NAME]]
I'm sure I'm just doing something stupid, but I can't figure out what. Does
anyone have any idea what I might be doing wrong?
Here is my basic workflow:
(using ES 1.3.2 -- Server1 and Server2 are separate ES clusters)
- Create fs snapshot repository on Server1
- Create snapshot of index 'x' on Server1
- Create fs snapshot repository on Server2
- Copy files from Server1 repository to Server2 repository
- Close index on Server2
- Restore snapshot on Server2
Step 6 always fails for me with the "unexpected token" error.
Thanks in advance,
Mike
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8edd8603-0387-4d15-af36-30965b89ee84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nevermind, turns out that I wasn't copying the full directory structure
correctly when copying the repository files from Server1 to Server2.
On Tuesday, October 28, 2014 11:29:11 AM UTC-6, Mike Tolman wrote:
Hi,
I've been trying to restore an index snapshot and am getting this error in
the response:
ElasticsearchParseException[unexpected token [FIELD_NAME]]
I'm sure I'm just doing something stupid, but I can't figure out what.
Does anyone have any idea what I might be doing wrong?
Here is my basic workflow:
(using ES 1.3.2 -- Server1 and Server2 are separate ES clusters)
- Create fs snapshot repository on Server1
- Create snapshot of index 'x' on Server1
- Create fs snapshot repository on Server2
- Copy files from Server1 repository to Server2 repository
- Close index on Server2
- Restore snapshot on Server2
Step 6 always fails for me with the "unexpected token" error.
Thanks in advance,
Mike
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2ba371f3-9546-4f0d-a432-bf6f6361bbd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.