wordpress點(diǎn)擊閱讀全文seo怎么優(yōu)化效果更好
背景:elasticsearch單個(gè)node節(jié)點(diǎn)寫(xiě)入數(shù)據(jù)-CSDN博客
需要設(shè)置密碼才能作為外部調(diào)用,不設(shè)置我不會(huì)用。設(shè)置方法見(jiàn)上一篇。
設(shè)置密碼出現(xiàn)如下問(wèn)題:
Unexpected response code [503] from calling PUT http://172.19.0.1:9200/_security/user/apm_system/_password?pretty
Cause: Cluster state has not been recovered yet, cannot write to the [null] index
當(dāng)你在 Elasticsearch 中啟用安全功能并嘗試設(shè)置內(nèi)置用戶的密碼時(shí),如果遇到 `503 Service Unavailable` 錯(cuò)誤,并且錯(cuò)誤信息提示“Cluster state has not been recovered yet”,這通常意味著 Elasticsearch 集群尚未完全啟動(dòng)或恢復(fù)。
### 可能的原因和解決方法
1. **集群未完全啟動(dòng)**
- Elasticsearch 集群可能還在啟動(dòng)過(guò)程中,尚未準(zhǔn)備好接受請(qǐng)求。
- **解決方法**:等待一段時(shí)間,確保 Elasticsearch 集群完