illegal_argument_exception: [routing] is missing for join field [joinField]
See original GitHub issue- ElasticDump version: 3.3.19
- Elasticsearch version: 6.3.0
- Node.js version (note that nodejs v8+ is required for this tool): v9.11.2
- Full command you are having issue with (with inputs and outputs)
Exporting to file (works):
#!/usr/bin/env bash
elasticdump \
--input=http://10.0.0.1:9200/index \
--output=/data/index-mapping.json \
--type=mapping
elasticdump \
--input=http://10.0.0.1:9200/index \
--output=/data/index-analyzer.json \
--type=analyzer
elasticdump \
--input=http://10.0.0.1:9200/index \
--output=/data/index-data.json \
--type=data
importing from file on another server (doesn’t work)
#!/usr/bin/env bash
elasticdump \
--input=index-analyzer.json \
--output=http://127.0.0.1:9200/index \
--type=analyzer
elasticdump \
--input=index-mapping.json \
--output=http://127.0.0.1:9200/index \
--type=mapping
elasticdump \
--input=index-data.json \
--output=http://127.0.0.1:9200/index \
--type=data
It fails with:
{ _index: 'index',
_type: 'doc',
_id: 'article-112437',
status: 400,
error:
{ type: 'mapper_parsing_exception',
reason: 'failed to parse',
caused_by:
{ type: 'illegal_argument_exception',
reason: '[routing] is missing for join field [joinField]' } } }
Currently working on a simple data set to reproduce.
Issue Analytics
- State:
- Created 5 years ago
- Comments:19
Top Results From Across the Web
illegal_argument_exception: [routing] is missing for join field ...
Currently working on a simple data set to reproduce. The text was updated successfully, but these errors were encountered: ...
Read more >[routing] is missing for join field [relation] - Elasticsearch
Process: I receive data from spark as Dataset. Then it is mapped to MyObject (according to the ES mapping) using map() function.
Read more >[routing] is missing for join field [joinField] - Bountysource
illegal_argument_exception : [routing] is missing for join field [joinField] · ElasticDump version: 3.3.19 · Elasticsearch version: 6.3.0 · Node.js ...
Read more >Easticsearch reindexing multi-type parent/child index(v5.0) to ...
I'd like to point out that routing is generally not required for a join field, however if you're creating the child before the...
Read more >Spring Data Elasticsearch - Reference Documentation
When using join-types (see Join-Type implementation), Spring Data Elasticsearch will automatically use the parent property of the entity's ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ferronrsmith Can you verify the analysis of @todvora and reopen the issue? Thanks!
I can confirm the issue for the following versions:
The dataset that causes this is around 30GB, so still working on providing a simple dataset to reproduce.