Getting exception Process ClusterEvent Timeout Exception after 5 minutes

Hi All,
I have cluster with 16 data node and 3 master nodes. With total of 22500 shard distributed across 16 nodes.
The put-mapping event fails even after 5 minutes after configuring the timeout value.
We are using elasticsearch 5.3.x version
Below is the stackstrace for the same.

ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping) within 5m]
at org.elasticsearch.cluster.service.ClusterService.lambda$onTimeout$4(
at org.elasticsearch.common.util.concurrent.ThreadContext$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$


Is the cluster health green before you do the put mapping?

Can you share your api call, and what you are trying to achive?

PutMappingRequestBuilder putMappingRequestBuilder = elasticClient.admin().indices().preparePutMapping(indexName);
.setSource(getContentFromFile(MAPPING_ROOT + componentNameId + ".json"), XContentType.JSON);

The health of the cluster is green while generating the mappings. We are generating mapping using putMappingRequestBuilder API of elasticsearch java api v5.3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.