# Mapping conflict with Field Name "Type"

**URL:** <https://discuss.elastic.co/t/mapping-conflict-with-field-name-type/93658>\
**Category:** Elasticsearch\
**Created:** [July 18, 2017, 7:26pm UTC](https://discuss.elastic.co/t/mapping-conflict-with-field-name-type/93658 "2017-07-18T19:26:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bitdog](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Bitdog](https://discuss.elastic.co/u/Bitdog)\
**Post date:** [July 18, 2017, 7:26pm UTC](https://discuss.elastic.co/t/mapping-conflict-with-field-name-type/93658/1 "2017-07-18T19:26:07Z")

</div>

How do you resolve a mapping conflict? When I looked at the mappings URL: [http://host](http://host):port/\_all/\_mapping I believe I discovered the mapping conflicts but not really sure. Also I have a Cluster alert that says "Elasticsearch cluster status is yellow. Allocate missing replica shards." Could the two issues be linked?

Humbly

---

<div class="post-metadata">

**Author:** ![geekpete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/geekpete/32/20409_2.png) [@geekpete](https://discuss.elastic.co/u/geekpete)\
**Post date:** [July 21, 2017, 6:38am UTC](https://discuss.elastic.co/t/mapping-conflict-with-field-name-type/93658/2 "2017-07-21T06:38:44Z")

</div>

Hey Bitdog,

If you're running a single node cluster, then the default shard configuration of 5 primaries 1 replica (10 total) will be unable to allocate any replicas, as these must live on a different node to the primary shards. This will mean the cluster will be in a yellow state and this is what the Cluster alert in Kibana is notifying you of. Options to clear this alert are to dynamically set your indices to 0 replicas if you intend to stay with the single node configuration or to add an additional node (you could even do this on the same host if you use a different port, eg if you're testing on a laptop).

Can you provide an example of your mapping conflict error message?

---

<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:** [August 18, 2017, 6:38am UTC](https://discuss.elastic.co/t/mapping-conflict-with-field-name-type/93658/3 "2017-08-18T06:38:50Z")

</div>

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