hardReplicationOperationAction.java:401)
at org.elasticsearch.cluster.service.InternalClusterService
$NotifyTimeout.run(InternalClusterService.java:269)
at org.elasticsearch.timer.TimerService$ThreadedTimerTask
$1.run(TimerService.java:113)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Java Result: 1
even after removing all the settings from the elasticsearch.yml file
and restarting the server I am getting the same error.
Does it persists the previous setting?
And what may the reason for this error?
Thats probably because you start a single node. If you set the
number_of_replicas to 2, then after a full restart, the indices won't be
recovered (in the default local gateway) because a quorom of shards have not
been discovered yet (it will want to find 2 shards out of the 3 (1 + 2
replica) ).
hardReplicationOperationAction.java:401)
at org.elasticsearch.cluster.service.InternalClusterService
$NotifyTimeout.run(InternalClusterService.java:269)
at org.elasticsearch.timer.TimerService$ThreadedTimerTask
$1.run(TimerService.java:113)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Java Result: 1
even after removing all the settings from the elasticsearch.yml file
and restarting the server I am getting the same error.
Does it persists the previous setting?
And what may the reason for this error?
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.