amazon-web-services - 为什么我的新 AWS elasticsearch 总是黄色?

标签 amazon-web-services elasticsearch

  • 我刚刚创建了一个新的 AWS ES 域
  • 它是一个单节点
  • 里面什么都没有

  • 问:集群永远不会变绿!为什么?

    以下是集群的特点:
    Instance type       t2.small.elasticsearch
    Instance count       1
    Dedicated master       Disabled
    Zone awareness       Disabled
    Storage type       EBS
    EBS volume type       General Purpose (SSD)
    EBS volume size       10 GB
    Encryption at rest       Disabled
    Start hour for the daily automated snapshot       09:00 UTC
    
    Advanced options
    Elasticsearch parameters:
    rest.action.multi.allow_explicit_index: true
    indices.fielddata.cache.size: unbounded (default)
    indices.query.bool.max_clause_count: 1024 (default)
    

    最佳答案

    原因 #1:来自 Handling AWS Service Errors :

    A yellow cluster status means that the primary shards for all indices are allocated to nodes in a cluster, but the replica shards for at least one index are not. Single-node clusters always initialize with a yellow cluster status because there is no other node that Amazon ES can assign a replica to. To achieve green cluster status, increase your node count. For more information, see Configuring Amazon ES Domains in this guide and Update Indices Settings in the Elasticsearch documentation.



    原因#2:

    If you have Kibana installed, it is probably because there is a replica shard for the .kibana index. If you remove that replica shard, your cluster will turn green.

    关于amazon-web-services - 为什么我的新 AWS elasticsearch 总是黄色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48604057/

    相关文章:

    amazon-web-services - 面临将 EFS 卷附加到 Kubernetes pod 的问题

    java - 亚马逊 AWS SES : Email fails using SDK but works on console. 表示电子邮件地址未验证

    amazon-web-services - 如何输出 IAM 角色并在另一个堆栈中使用它?

    reactjs - AWS Cognito 与 django 休息框架 react js?

    ElasticSearch 使用模式分析器搜索特殊字符

    java - 是否可以在Java中使用bucket_script?

    python - 在 Amazon Web Services 上开始使用 Django

    php - Elasticsearch - 希望在该特定字段可用或不可用的所有索引中按字段排序,如果不可用,则避免它

    elasticsearch - append 到Elasticsearch中的数组

    elasticsearch - ES更新给出了错误的请求