I see in ES console:
Exception in thread "elasticsearch[Green
Goblin]clusterService#updateTask-pool-5-thread-1"
java.lang.NullPointerException
at org.apache.lucene.analysis.Analyzer.close(Analyzer.java:
141)
at
org.elasticsearch.index.analysis.NamedAnalyzer.close(NamedAnalyzer.java:
93)
at
org.elasticsearch.index.analysis.AnalysisService.close(AnalysisService.java:
163)
at
org.elasticsearch.indices.InternalIndicesService.deleteIndex(InternalIndicesService.java:
285)
at
org.elasticsearch.indices.InternalIndicesService.cleanIndex(InternalIndicesService.java:
249)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyCleanedIndices(IndicesClusterStateService.java:
137)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:
126)
at org.elasticsearch.cluster.service.InternalClusterService
$2.run(InternalClusterService.java:214)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
If I comment the alias line everything works fine.
As a side note I am using explicit mappings for the fields, dynamic
ones to false, so "title" uses the alias in the example.
I see in ES console:
Exception in thread "elasticsearch[Green
Goblin]clusterService#updateTask-pool-5-thread-1"
java.lang.NullPointerException
at org.apache.lucene.analysis.Analyzer.close(Analyzer.java:
141)
at
org.elasticsearch.index.analysis.NamedAnalyzer.close(NamedAnalyzer.java:
93)
at
org.elasticsearch.index.analysis.AnalysisService.close(AnalysisService.java:
163)
at
org.elasticsearch.indices.InternalIndicesService.deleteIndex(InternalIndicesService.java:
285)
at
org.elasticsearch.indices.InternalIndicesService.cleanIndex(InternalIndicesService.java:
249)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyCleanedIndices(IndicesClusterStateService.java:
137)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:
126)
at org.elasticsearch.cluster.service.InternalClusterService
$2.run(InternalClusterService.java:214)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
If I comment the alias line everything works fine.
As a side note I am using explicit mappings for the fields, dynamic
ones to false, so "title" uses the alias in the example.
I used a fresh new ES 0.13.1 version, just added the gisted
elasticsearch.yml
It works ok just as it is, but if you want to see the error uncomment
the analyzer alias line, in my case that caused the problem. The
document I am trying to add uses the default name of the analyzer, not
even any of the aliases, but it fails anyway.
I see in ES console:
Exception in thread "elasticsearch[Green
Goblin]clusterService#updateTask-pool-5-thread-1"
java.lang.NullPointerException
at org.apache.lucene.analysis.Analyzer.close(Analyzer.java:
141)
at
org.elasticsearch.index.analysis.NamedAnalyzer.close(NamedAnalyzer.java:
93)
at
org.elasticsearch.index.analysis.AnalysisService.close(AnalysisService.java :
163)
at
org.elasticsearch.indices.InternalIndicesService.deleteIndex(InternalIndice sService.java:
285)
at
org.elasticsearch.indices.InternalIndicesService.cleanIndex(InternalIndices Service.java:
249)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyCleanedIn dices(IndicesClusterStateService.java:
137)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged (IndicesClusterStateService.java:
126)
at org.elasticsearch.cluster.service.InternalClusterService
$2.run(InternalClusterService.java:214)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
If I comment the alias line everything works fine.
As a side note I am using explicit mappings for the fields, dynamic
ones to false, so "title" uses the alias in the example.
I used a fresh new ES 0.13.1 version, just added the gisted
elasticsearch.yml
It works ok just as it is, but if you want to see the error uncomment
the analyzer alias line, in my case that caused the problem. The
document I am trying to add uses the default name of the analyzer, not
even any of the aliases, but it fails anyway.
I see in ES console:
Exception in thread "elasticsearch[Green
Goblin]clusterService#updateTask-pool-5-thread-1"
java.lang.NullPointerException
at org.apache.lucene.analysis.Analyzer.close(Analyzer.java:
141)
at
org.elasticsearch.index.analysis.NamedAnalyzer.close(NamedAnalyzer.java:
93)
at
org.elasticsearch.index.analysis.AnalysisService.close(AnalysisService.java :
163)
at
org.elasticsearch.indices.InternalIndicesService.deleteIndex(InternalIndice sService.java:
285)
at
org.elasticsearch.indices.InternalIndicesService.cleanIndex(InternalIndices Service.java:
249)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyCleanedIn dices(IndicesClusterStateService.java:
137)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged (IndicesClusterStateService.java:
126)
at org.elasticsearch.cluster.service.InternalClusterService
$2.run(InternalClusterService.java:214)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
If I comment the alias line everything works fine.
As a side note I am using explicit mappings for the fields, dynamic
ones to false, so "title" uses the alias in the example.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.