no_shard_available_action_exception: no_shard_available_action_exception: No shard available for [...](利用可能なシャードがない)
Elasticsearch意味
要求を処理できるアクティブなシャードコピーが見つからなかった。該当シャードが未割り当て、リカバリ中、またはそれをホストするノードに到達できないため、要求を処理できない。
原因
ノードのクラッシュ/ネットワーク分断、未割り当てのシャード、進行中のシャードリカバリ、ディスクウォーターマークによる割り当ての阻止、またはクラスタが RED/YELLOW 状態。
対処方法
クラスタとシャードの状態を調べる: GET _cluster/health と GET _cat/shards?v。シャードが未割り当てである理由を確認する: GET _cluster/allocation/explain。クラッシュしたノードを復旧させ、ディスクの問題を解消し、リカバリの完了を待つ: GET _cat/recovery?v&active_only=true。必要なら POST _cluster/reroute?retry_failed=true で割り当てを再試行する。
同じデータベースの他の項目
- index_not_found_exceptionindex_not_found_exception: no such index [index_name] (HTTP 404)(インデックスが存在しない)
- resource_already_exists_exceptionresource_already_exists_exception: index [index_name/uuid] already exists (HTTP 400)(インデックスがすでに存在する)
- cluster_health_redcluster health status: RED / unassigned shards(クラスタの健全性 RED / 未割り当てシャード)
- es_rejected_execution_exceptiones_rejected_execution_exception: rejected execution of ... on ... (queue capacity ...) (HTTP 429)(実行が拒否された (キュー容量超過))
- master_not_discovered_exceptionmaster_not_discovered_exception / MasterNotDiscoveredException(マスターが見つからない)
- security_exceptionsecurity_exception: unable to authenticate / action [...] is unauthorized for user [...] (HTTP 401/403)(認証/認可の失敗)
- validation_exceptionvalidation_exception / illegal_argument_exception: Validation Failed: ...(検証の失敗)