High disk watermark exceeded even when there is not much data in my index

后端 未结 6 575
孤独总比滥情好
孤独总比滥情好 2020-12-13 17:44

I\'m using elasticsearch on my local machine. The data directory is only 37MB in size but when I check logs, I can see:

[2015-05-17 21:31:12,905][WARN

6条回答
  •  既然无缘
    2020-12-13 18:39

    To resolve the issue in which, the log is recorded as:

    high disk watermark [90%] exceeded on [ytI5oTyYSsCVfrB6CWFL1g][ytI5oTy][/var/lib/elasticsearch/nodes/0] free: 552.2mb[4.3%], shards will be relocated away from this node

    You can update the threshold limit by executing following curl request:

    curl -XPUT "http://localhost:9200/_cluster/settings" \
     -H 'Content-Type: application/json' -d'
    {
      "persistent": {
        "cluster": {
          "routing": {
            "allocation.disk.threshold_enabled": false
          }
        }
      }
    }'
    

提交回复
热议问题