当前位置 博文首页 > 闫玉林的博客:Elasticsearch使用http接口更新数据失败:Elastic
ElasticSearchException: Socket Timeout for 120000ms
{"settings":{"index":{"number_of_shards":3,"number_of_replicas":2}}}
Elasticsearch plugin is red
,Request timeout after 30000ms
。惊恐
)暂未明白原因
)org.frameworkset.elasticsearch.ElasticSearchException: Socket Timeout for 120000ms.
at org.frameworkset.elasticsearch.client.ElasticSearchRestClient.handleSocketTimeoutException(ElasticSearchRestClient.java:393)
at org.frameworkset.elasticsearch.client.ElasticSearchRestClient._executeHttp(ElasticSearchRestClient.java:684)
at org.frameworkset.elasticsearch.client.ElasticSearchRestClient.executeHttp(ElasticSearchRestClient.java:572)
at org.frameworkset.elasticsearch.client.ElasticSearchRestClient.executeHttp(ElasticSearchRestClient.java:735)
at org.frameworkset.elasticsearch.client.RestClientUtil.executeHttp(RestClientUtil.java:1546)
at cn.lonsun.es.base.BbossUtil.bulkIndex(BbossUtil.java:469)
at cn.lonsun.searchEngine.impl.IndexEsServiceImpl.batchCommit(IndexEsServiceImpl.java:838)
at cn.lonsun.searchEngine.impl.IndexEsServiceImpl.deleteIndex(IndexEsServiceImpl.java:451)
at cn.lonsun.content.internal.service.impl.BaseContentServiceImpl.delContent(BaseContentServiceImpl.java:1417)
[2020-04-19T10:47:39,169][INFO ][o.e.c.r.DelayedAllocationService] [node-1-master-8-9200] scheduling reroute for delayed shards in [0s] (16 delayed shards)