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?