# ES mapper plugin not being recognized

**URL:** <https://discuss.elastic.co/t/es-mapper-plugin-not-being-recognized/28212>\
**Category:** Elasticsearch\
**Created:** [August 27, 2015, 11:35pm UTC](https://discuss.elastic.co/t/es-mapper-plugin-not-being-recognized/28212 "2015-08-27T23:35:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluethundr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bluethundr/32/409_2.png) [@bluethundr](https://discuss.elastic.co/u/bluethundr)\
**Post date:** [August 27, 2015, 11:35pm UTC](https://discuss.elastic.co/t/es-mapper-plugin-not-being-recognized/28212/1 "2015-08-27T23:35:05Z")

</div>

Hello,

We have a ruby app that can't seem to recognize the mapper plugin, even tho it's been installed on all 3 servers in the cluster.

```
ERR [!!!] Index does not exist (Elasticsearch::Transport::Transport::Errors::NotFound)
2015-08-27T14:31:14.52-0700 [App/0] OUT [Worker(host:18u2cs0as5e pid:32)] Job SearchIndexer.rebuild_document_index_without_delay (id=24) FAILED (0 prior attempts) with Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":"RemoteTransportException[[ShowDB-Stage_2][inet[/3.3.87.75:9300]][indices:admin/create]]; nested: MapperParsingException[mapping [document]]; nested: MapperParsingException[No handler for type [attachment] declared on field [encoded_attachment]]; ","status":400}
2015-08-27T14:31:14.52-0700 [App/0] OUT 2015-08-27T21:31:14+0000: [Worker(host:18u2cs0as5e pid:32)] Job SearchIndexer.rebuild_document_index_without_delay (id=24) FAILED (0 prior attempts) with Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":"RemoteTransportException[[ShowDB-Stage_2][inet[/3.3.87.75:9300]][indices:admin/create]]; nested: MapperParsingException[mapping [document]]; nested: MapperParsingException[No handler for type [attachment] declared on field [encoded_attachment]]; ","status":400}

```

Yet the mapper attachment is clearly installed on all 3 nodes:

Node 1:

```
[root@aoaapls00110la ~]# plugin --list | grep mapper
    - mapper-attachments

```

Node 2:

```
[root@aoaapls00110lb ~]# plugin --list | grep mapper
    - mapper-attachments

```

Node 3:

```
[root@aoaapls00110lc ~]# /usr/share/elasticsearch/bin/plugin --list | grep mapper
    - mapper-attachments

```

And the cluster state is ‘green’ FWIW:

```
# curl --user adminuser:adminuser http://localhost:9200/_cluster/health?pretty=true
{
  "cluster_name" : "ShowDB-stage",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 3,
  "number_of_data_nodes" : 3,
  "active_primary_shards" : 24,
  "active_shards" : 48,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0
}

```

I've already tried reinstalling the plugin on all nodes. Other than that I'm unclear on how to proceed. Can we get some help with this problem please?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 28, 2015, 2:37am UTC](https://discuss.elastic.co/t/es-mapper-plugin-not-being-recognized/28212/2 "2015-08-28T02:37:41Z")

</div>

Don't forget to restart all nodes.

You should see the plugin in logs when the node starts.

---

<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:** [July 5, 2017, 11:53pm UTC](https://discuss.elastic.co/t/es-mapper-plugin-not-being-recognized/28212/3 "2017-07-05T23:53:23Z")

</div>


