I did a bulk index task using java api. After a few successful bulk index requests, suddenly my indexer hangs. I checked the the status of index tasks using the task api of elasticsearch and I found that there are tasks still running and was going for 30+ minutes and its status is 'waiting_on_primary'.
What should I do to fix this?, Do I need to change something from the elasticsearch.yml?. Please HELP!
What is the size of your documents? How large are your bulk requests? How many parallel indexing threads/processes do you have? What is the specification of the cluster?
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.