I want to send multiple bulk operation requests to an ElasticSearch cluster, and I am facing this problem EsRejectedExecutionException[rejected execution (queue capacity 50) on org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
I have a cluster of 4 instances of ElasticSearch (version 1.3.4) when I sent this request to get the size of its pool of streams of bulk operation:
GET /_cat/thread_pool?v&h=host,bulk.active,bulk.queueSize
I got
host bulk.active bulk.queueSize 1D4HPY1 0 50 1D4HPY2 0 50 1D4HPY3 0 50 1D4HPY4 0 50
So, how many simultaneous requests for a bulk operation can I send to this cluster? 50 or 200 ?
source share