org.elasticsearch.ElasticsearchParseException: No processor type exists with name "my plugin name"

Elasticsearch version: 5.0.0

Plugins installed: my custom processor plugin

JVM version: 1.8.0_111

OS version: OSX El Capitan

Description of the problem including expected versus actual behavior:

  1. I created my custom processor plugin with name "tax_date"
  2. I installed it using elasticsearch-plugin install command
  3. I removed the plugin using elasticsearch-remove command
  4. I kept getting error said that org.elasticsearch.ElasticsearchParseException: No processor type exists with name tax_date
  5. Restart elasticsearch doesn't solve this issue.

Steps to reproduce:
same as above. I have ensured that my plugin was not there in "loaded plugin" list.

Provide logs (if relevant):

[2017-01-18T18:10:14,607][INFO ][o.e.n.Node               ] [WYiAAg0] started
[2017-01-18T18:10:15,368][WARN ][o.e.c.s.ClusterService   ] [WYiAAg0] failed to notify ClusterStateListener
org.elasticsearch.ElasticsearchParseException: No processor type exists with name [tax_date]
	at org.elasticsearch.ingest.ConfigurationUtils.readProcessor( ~[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.ingest.ConfigurationUtils.readProcessorConfigs( ~[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.ingest.Pipeline$Factory.create( ~[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.ingest.PipelineStore.innerUpdatePipelines( ~[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.ingest.PipelineStore.clusterChanged( ~[elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.cluster.service.ClusterService.runTasksForExecutor( [elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.cluster.service.ClusterService$ [elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ [elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean( [elasticsearch-5.0.0.jar:5.0.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$ [elasticsearch-5.0.0.jar:5.0.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_111]
	at [?:1.8.0_111]

But did you remove existing ingest pipelines which are declaring this processor?

If you don't have any important data you can always restart from scratch and stop elasticsearch and remove its data dir. Note that it will erase all data, all licenses if you have any...

Hi @dadoonet

Wonderful suggestion! I didn't notice that pipeline will still exist even though you stop and start the elasticsearch.

So the cause is because I uninstalled the processor plugin but I forgot to remove the pipeline which use the plugin.

I solved this by executing DELETE _ingest/pipeline/my-plugin-name

Thank you @dadoonet :slight_smile:

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