elasticsearch recovering index failed - recovering as closed Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!ElasticSearch, Sphinx, Lucene, Solr, Xapian. Which fits for which usage?Elasticsearch query to return all recordsMake elasticsearch only return certain fields?Solr vs. ElasticSearchShards and replicas in ElasticsearchList all indexes on ElasticSearch server?Removing Data From ElasticSearchElasticsearch failed to recover after crashCheck if elasticsearch index is open or closedElasticsearch index closed, won't recover, won't open
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Is Diceware more secure than a long passphrase?
Co-worker works way more than he should
What is the best way to deal with NPC-NPC combat?
The art of proof summarizing. Are there known rules, or is it a purely common sense matter?
Will I lose my paid in full property
Expansion//Explosion and Siren Stormtamer
What to do with someone that cheated their way through university and a PhD program?
What is /etc/mtab in Linux?
PIC mathematical operations weird problem
Multiple fireplaces in an apartment building?
Error: Syntax error. Missing ')' for CASE Statement
Is there any hidden 'W' sound after 'comment' in : Comment est-elle?
finding a tangent line to a parabola
What is it called when you ride around on your front wheel?
Seek and ye shall find
With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space
Retract an already submitted recommendation letter (written for an undergrad student)
Are these square matrices always diagonalisable?
Why did Israel vote against lifting the American embargo on Cuba?
Why did C use the -> operator instead of reusing the . operator?
Is accepting an invalid credit card number a security issue?
Book with legacy programming code on a space ship that the main character hacks to escape
Are all CP/M-80 implementations binary compatible?
elasticsearch recovering index failed - recovering as closed
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!ElasticSearch, Sphinx, Lucene, Solr, Xapian. Which fits for which usage?Elasticsearch query to return all recordsMake elasticsearch only return certain fields?Solr vs. ElasticSearchShards and replicas in ElasticsearchList all indexes on ElasticSearch server?Removing Data From ElasticSearchElasticsearch failed to recover after crashCheck if elasticsearch index is open or closedElasticsearch index closed, won't recover, won't open
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have a problem when i install ansj analyzers.
the ansj analyzers install code is
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-analysis-ansj/releases/download/v5.6.14/elasticsearch-analysis-ansj-5.6.14.0-release.zip
when i restart es have an error like blow
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
and es index status are like blow
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
and I want to use command
curl -X POST "localhost:9200/_all/_open"
to open the index, but failed.the response is
"error":"root_cause":["type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]"],"type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]","caused_by":"type":"unsupported_operation_exception","reason":null,"status":500
so how can i resolve this problem,thanks!
elasticsearch
add a comment |
I have a problem when i install ansj analyzers.
the ansj analyzers install code is
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-analysis-ansj/releases/download/v5.6.14/elasticsearch-analysis-ansj-5.6.14.0-release.zip
when i restart es have an error like blow
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
and es index status are like blow
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
and I want to use command
curl -X POST "localhost:9200/_all/_open"
to open the index, but failed.the response is
"error":"root_cause":["type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]"],"type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]","caused_by":"type":"unsupported_operation_exception","reason":null,"status":500
so how can i resolve this problem,thanks!
elasticsearch
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46
add a comment |
I have a problem when i install ansj analyzers.
the ansj analyzers install code is
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-analysis-ansj/releases/download/v5.6.14/elasticsearch-analysis-ansj-5.6.14.0-release.zip
when i restart es have an error like blow
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
and es index status are like blow
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
and I want to use command
curl -X POST "localhost:9200/_all/_open"
to open the index, but failed.the response is
"error":"root_cause":["type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]"],"type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]","caused_by":"type":"unsupported_operation_exception","reason":null,"status":500
so how can i resolve this problem,thanks!
elasticsearch
I have a problem when i install ansj analyzers.
the ansj analyzers install code is
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-analysis-ansj/releases/download/v5.6.14/elasticsearch-analysis-ansj-5.6.14.0-release.zip
when i restart es have an error like blow
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
and es index status are like blow
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
and I want to use command
curl -X POST "localhost:9200/_all/_open"
to open the index, but failed.the response is
"error":"root_cause":["type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]"],"type":"exception","reason":"Failed to verify index [posts/Pq6hXAm_RWOsdU7q4O5hcA]","caused_by":"type":"unsupported_operation_exception","reason":null,"status":500
so how can i resolve this problem,thanks!
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
[2019-03-09T13:33:21,961][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [test/xGf4Z4MZRKGsmR1jgifRxA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,969][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [posts/Pq6hXAm_RWOsdU7q4O5hcA] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:21,973][WARN ][o.e.g.Gateway ] [yWpGz-n] recovering index [mongodb_meta/wrf3B4xjRoGbFG3_GginsQ] failed - recovering as closed
java.lang.UnsupportedOperationException: null
at java.util.Collections$UnmodifiableMap.putAll(Collections.java:1459) ~[?:?]
at org.ansj.elasticsearch.index.analysis.AnsjAnalyzerProvider.<init>(AnsjAnalyzerProvider.java:29) ~[?:?]
at org.ansj.elasticsearch.plugin.AnalysisAnsjPlugin.lambda$getAnalyzers$1(AnalysisAnsjPlugin.java:68) ~[?:?]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildMapping(AnalysisRegistry.java:361) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.buildAnalyzerFactories(AnalysisRegistry.java:186) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:156) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexService.<init>(IndexService.java:145) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:363) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:448) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.indices.IndicesService.verifyIndexMetadata(IndicesService.java:481) ~[elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.Gateway.performStateRecovery(Gateway.java:135) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.gateway.GatewayService$1.doRun(GatewayService.java:229) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.14.jar:5.6.14]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.14.jar:5.6.14]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:844) [?:?]
[2019-03-09T13:33:22,092][INFO ][o.e.g.GatewayService ] [yWpGz-n] recovered [3] indices into cluster_state
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
close posts Pq6hXAm_RWOsdU7q4O5hcA
close test xGf4Z4MZRKGsmR1jgifRxA
close mongodb_meta wrf3B4xjRoGbFG3_GginsQ
elasticsearch
elasticsearch
asked Mar 9 at 6:19
K.WellsK.Wells
83
83
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46
add a comment |
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074610%2felasticsearch-recovering-index-failed-recovering-as-closed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074610%2felasticsearch-recovering-index-failed-recovering-as-closed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you restart the node after plugin installation?
– dadoonet
Mar 9 at 9:46