No that was like my last trail to make a two node cluster, normally I just pasted the logs that am getting when two nodes are connected..
that's it , am getting only those logs apart from the start and stop logs..
I have started two nodes and verified the cluster state got as yellow.....
Do I need to do anything more than this???
For you to know that how much space occupied by the indexes I pasted the indexes and the sizes they occupied,
So is that becaz of the more disk space occupied or due to any other reason???
And Yes I run the cluster health in the mean while..
Hello David,
I stopped two nodes and started them again, this time am getting few indexes as yellow and few are green
And am getting exception as
[2016-01-20 16:03:29,676][WARN ][indices.cluster ] [Franz Kafka2] [[phonetic_sample][0]] marking and sending shard failed due to [failed to create index]
org.elasticsearch.indices.IndexCreationException: [phonetic_sample] failed to create index
at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:330)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:311)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:180)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:467)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:188)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:158)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.ElasticsearchIllegalArgumentException: failed to find token filter type [phonetic] for [my_metaphone]
at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:249)
at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:204)
... 8 more
Caused by: org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class setting [type] with value [phonetic]
at org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:476)
at org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:464)
at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:239)
... 16 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:474)
... 18 more
[2016-01-20 16:03:29,686][WARN ][indices.cluster ] [Franz Kafka2] [[phonetic_sample][3]] marking and sending shard failed due to [failed to create index]
org.elasticsearch.indices.IndexCreationException: [phonetic_sample] failed to create index
at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:330)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:311)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:180)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:467)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:188)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:158)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
Caused by: org.elasticsearch.ElasticsearchIllegalArgumentException: failed to find token filter type [phonetic] for [my_metaphone]
at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:249)
... 8 more
Caused by: org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class setting [type] with value [phonetic]
at org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:239)
... 16 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.index.analysis.phonetic.PhoneticTokenFilterFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
... 18 more
Why suddenly the behaviour changed from unassigned to assign of few shards and few got exceptions?????
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.