【報錯】elasticsearch 報錯blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
elasticsearch 報錯blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
從輸出語句可以看出是索引只讀的錯誤,實際也的確如此,這個錯誤正是我在操作刪除的時候報出的。
解決辦法:
1、es儲存資料的磁碟此時應用空間已使用95%以上,刪除不必要檔案給es足夠空間
2、執行DSL
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
原因:
一旦在儲存超過95%的磁碟中的節點上分配了一個或多個分片的任何索引,該索引將被強制進入只讀模式
檢視方法:在head外掛或kibana上檢視索引資訊,當 "read_only_allow_delete": "true"時,即是索引在只讀模式狀態。
(圖中引數已經修改過)
相關文章
- 005-blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]BloCORBIndexdeleteAPI
- Elasticsearch 6 建立索引報錯 invalid_index_name_exception Invalid index name [testDemo], must be lowercaseElasticsearch索引IndexException
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- elasticSearch head 查詢報錯Elasticsearch
- 小程式報錯Invoke event bindViewTap in page: pages/index/indexViewIndex
- PHP程式報錯:PHP Notice: Undefined index: XX inPHPUndefinedIndex
- [20190816]12c執行exec SYS.PRVT_ADVISOR.DELETE_EXPIRED_TASKS()報錯.txtdelete
- Elasticsearch報Call to undefined xx makeAllSearchable()錯誤ElasticsearchUndefined
- python 使用 delete 方法時報錯,可以正常刪除Pythondelete
- python爬蟲 -IndexError: list index out of range報錯Python爬蟲IndexError
- Maven編譯elasticsearch-analysis-ik報錯Maven編譯Elasticsearch
- Laravel 54 配置 Elasticsearch 時的報錯提示LaravelElasticsearch
- 釋出npm包遇到的報錯: ERR! 403 Forbidden, Are you logged in as the correct userNPMORB
- 132 SVN提交報錯"Commit blocked by pre-commit hook"的解決辦法MITBloCHook
- 解決Dcat Admin laravel框架登入報錯問題,(blocked:mixed-content)Laravel框架BloC
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- JavaScript報錯型別(報錯速查)JavaScript型別
- PMS API報錯403 client token authorization failAPIclientAI
- AndroidStudio之自定義輸出包名報錯 Cannot set the value of read-only property 'outputFile' forAndroid
- ElasticSearch 7.6.2 單機部署三個節點 報錯Elasticsearch
- Elasticsearch Java High Level REST Client(Delete API)ElasticsearchJavaRESTclientdeleteAPI
- python報錯:TypeError: slice indices must be integers or None or have an __index__ methodPythonErrorNoneIndex
- This relative module was not found: * ./_import_dev in ./src/router/index.js報錯ImportdevIndexJS
- springcloud報錯報UnsatisfiedDependencyExceptionSpringGCCloudException
- 安裝 dingo/api 報錯:Your requirements could not be resolvedGoAPIUIREM
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- redis報錯Redis
- hive 報錯Hive
- spark報錯Spark
- dhcp報錯
- 報錯+2
- 前端報錯前端
- playsound報錯
- 報錯集合
- mybatis報錯MyBatis
- modprobe報錯
- JavaScript報錯JavaScript
- 報錯集