gpt4 book ai didi

amazon-web-services - AWS ElasticSearchService index_create_block_exception

转载 作者:行者123 更新时间:2023-11-29 02:48:01 53 4
gpt4 key购买 nike

在增加集群大小并看到 index_create_block_exception 后,我尝试在 AWS ElasticSearch 集群中创建一个新索引。我该如何纠正这个问题?我尝试搜索但没有得到确切的答案。谢谢。

curl -XPUT 'http://<aws_es_endpoint>/optimus/'

{"error":{"root_cause":[{"type":"index_create_block_exception","reason":"blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];"}],"type":"index_create_block_exception","reason":"blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];"},"status":403}

最佳答案

根据 AWS ,由于磁盘内存不足而引发上述异常。

For t2 instances, when the JVMMemoryPressure metric exceeds 92%, Amazon ES triggers a protection mechanism by blocking all write operations to prevent the cluster from getting into red status. When the protection is on, write operations will fail with a ClusterBlockException error, new indexes cannot be created, and the IndexCreateBlockException error will be thrown.

恐怕issue还在。

关于amazon-web-services - AWS ElasticSearchService index_create_block_exception,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40736462/

53 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com