cluster block exception

Intro cluster_block_exception

這篇介紹cluster_block_exception.

Filebeat Memo Records

1
2
3
4
5
6
7
8
org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception 
[type=cluster_block_exception, blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];]

Suppressed: org.elasticsearch.client.ResponseException:
method [POST], host [], URI [], status line [HTTP/1.1 403 Forbidden]

使用Rest High Level Api時,出現以上Exception訊息。
追查後原因是ElasticSearch的硬碟容量滿了,造成cluster_block_exception。