Primary shard is not active

The log is :

 Primary shard is not active or isn't assigned is a known node. Timeout: [1m]

you should look at that link:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html
https://www.elastic.co/guide/en/elasticsearch/reference/5.x/disk-allocator.html
and that part in particular:

cluster.routing.allocation.disk.watermark.low controls the low watermark for disk usage. It defaults to 85%, meaning ES will not allocate new shards to nodes once they have more than 85% disk used. It can also be set to an absolute byte value (like 500mb) to prevent ES from allocating shards if less than the configured amount of space is available.
cluster.routing.allocation.disk.watermark.high controls the high watermark. It defaults to 90%, meaning ES will attempt to relocate shards to another node if the node disk usage rises above 90%. It can also be set to an absolute byte value (similar to the low watermark) to relocate shards once less than the configured amount of space is available on the node.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 你可以像疯狗一样对周围的一切愤愤不平,你可以诅咒命运,但是等到最后一刻,你还得平静的放手而去。——《返老还童》
    6ddfbd1d5885阅读 203评论 0 0
  • 我们常常可以在茶艺大赛或者节目中,看到许多样貌姣好的女子,身穿素衣,烧水、清洗茶具、泡茶,一整套动作,如行云流水一...
    5ebc5e57260e阅读 203评论 0 0
  • 李兄: 安否?与君相别,弹指又将一年。知君现在人生得意,我又日渐疏懒,故此我们的联络也渐至萧疏了。 今晚灯...
    向语冰阅读 411评论 0 1