当前位置:网站首页>ES cluster_ block_ exception read_ only_ allow_ Delete question
ES cluster_ block_ exception read_ only_ allow_ Delete question
2022-06-26 07:08:00 【Talk to me】
At one time ES An error is reported when importing data
{
"error":{
"root_cause":[
{
"type":"cluster_block_exception",
"reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
}
],
"type":"cluster_block_exception",
"reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
},
"status":403
}reason :
This is because ES Data directory of the new node data Not enough storage space , Result from master The master node failed to receive synchronous data , here ES Clusters to protect data , Will automatically fragment the index index Set to read only read-only「cluster_block_exception」
see mappings You can see :"read_only_allow_delete" : "ture"
{
"settings" : {
"index" : {
"refresh_interval" : "1s",
"number_of_shards" : "5",
"blocks" : {
"read_only_allow_delete" : "ture"
},
"provided_name" : "index_name",
"creation_date" : "1561280427271",
"analysis" : {
"analyzer" : {
"comma" : {
"pattern" : ",",
"type" : "pattern"
}
}
},
"number_of_replicas" : "1",
"uuid" : "xxxxxxxxxxxxxxx",
"version" : {
"created" : "6050399"
}
}
}
}resolvent :
- 1 Disk expansion , It can be modified in the configuration file ES Data storage directory , restart ES
- 2 Release index read-only settings , On the server through curl Tool launch PUT request
Law 1 :
After capacity expansion ~
Law two :
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
边栏推荐
- [image detection] image saliency detection based on ITTI model with matlab code
- Stm32f1 and stm32subeide programming example - thermal sensor driver
- Promise API for getting started with the web
- 海量日志采集工具——Flume
- Six stones Management: exaggerating the achievements, whether the parties themselves know
- Research Report on China's surfactant market demand and future investment opportunities 2022
- i3wm 获取window class
- 基于sanic的服务使用celery完成动态修改定时任务
- How to transfer database data to check box
- NumPy学习挑战第一关-NumPy的下载与安装
猜你喜欢

PyTorch搭建CNN-LSTM混合模型实现多变量多步长时间序列预测(负荷预测)

oracle创建带返回值的存储过程并sql执行调用

安装homebrew报错汇总

cocoscreator播放Spine动画

Dark red crystal meso-5,10,15,20-tetra (p-aminophenyl) cobalt porphyrin (co TAPP); Meso-5,10,15,20-tetra (p-aminophenyl) cobalt porphyrin no complex (TAPP co no) supplied by Qiyue

Bugku exercise ---misc--- prosperity, strength and democracy

MySQL

面试被问Redis主从复制不会答?这13张图让你彻底弄明白
![[yolov4] matlab simulation of network target detection based on yolov4 deep learning](/img/f9/31aba8f8bc04ccb16486dc87712ef6.png)
[yolov4] matlab simulation of network target detection based on yolov4 deep learning
![[path planning] robot path planning based on improved artificial potential field with matlab code](/img/82/b4cfb84de1cd56abe0c51205e99035.png)
[path planning] robot path planning based on improved artificial potential field with matlab code
随机推荐
web入门之 Promise API
Rust中的过程宏
面试被问Redis主从复制不会答?这13张图让你彻底弄明白
China imported wine circulation and investment market survey and Future Development Trend Outlook report 2022-2027
China polyimide film market demand and future investment risk outlook report 2022-2027
MySQL basic usage 01
Ppbpi-h-cr, ppbpimn Cr, ppbpi Fe Cr alkynyl crosslinked porphyrin based polyimide material Qiyue porphyrin reagent
C#实现给DevExpress中GridView表格指定列添加进度条显示效果——代码实现方式
Turris omnia: an open source router technology favored by hackers
Research Report on sales scale forecast and investment opportunities of China's jewelry industry 2022-2027
[image fusion] MRI-CT image fusion based on gradient energy, local energy and PCA fusion rules with matlab code
【元胞自动机】基于元胞自动机实现高速公路收费站交通流问题附matlab代码
STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
Recognize pnpm: faster, higher performance NPM
Show statement usage supplement
炒股怎么选择证券公司?手机开户安全么?
shell 输入验证仅限字母数字
一芯实现喷雾|WS2812驱动|按键触摸|LED显示|语音播报芯片等功能,简化加湿器产品设计
专业课-代码题记录
高德地图使用自定义地图无效问题