当前位置:网站首页>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"
}
}
}
边栏推荐
- Matlab linear programming model learning notes
- ZRaQnHYDAe
- Deep exploration image theme color extraction
- 【特征提取】基于稀疏PCA实现目标识别信息特征选择附matlab源码
- [path planning] robot path planning based on improved artificial potential field with matlab code
- Massive log collection tool flume
- 炒股怎么选择证券公司?手机开户安全么?
- shell 输入验证仅限字母数字
- Pytorch builds CNN LSTM hybrid model to realize multivariable and multi step time series forecasting (load forecasting)
- C#实现给DevExpress中GridView表格指定列添加进度条显示效果——代码实现方式
猜你喜欢

I caught a 10-year-old Alibaba test developer in the company. After chatting with him, I realized everything

One chip realizes functions such as spray 𞓜 ws2812 drive | key touch | LED display | voice broadcast chip and simplifies the design of humidifier products

NumPy学习挑战第四关-NumPy数组属性

Numpy learning challenge level 4 - numpy array attribute

【推荐一款实体类转换工具 MapStruct,性能强劲,简单易上手 】

【图像融合】基于耦合特征学习的多模式医学图像融合附matlab代码

【图像增强】基于人工多重曝光融合AMEF实现图像去雾附matlab代码
![Meso tetra (4-bromophenyl) porphyrin (tbpp); 5,10,15,20-tetra (4-methoxy-3-sulfonylphenyl) porphyrin [t (4-mop) ps4] supplied by Qiyue](/img/83/ddbf296ac83f006f31cfd0bbbabe5e.jpg)
Meso tetra (4-bromophenyl) porphyrin (tbpp); 5,10,15,20-tetra (4-methoxy-3-sulfonylphenyl) porphyrin [t (4-mop) ps4] supplied by Qiyue

Shell programming - user information management

Liquid crystal texture diagram of purple solid mm-tpp-10c methacrylic acid decanoxy tetraphenyl porphyrin and mm-tpp-12c methacrylic acid dodecanoxy tetraphenyl porphyrin - Qi Yue display
随机推荐
GMP模型
[yolov4] matlab simulation of network target detection based on yolov4 deep learning
How to transfer database data to check box
Liujinhai, chief architect of zhongang Mining: according to the analysis of fluorite supply and demand, it is estimated that the fluorine coating market has great potential
Show statement usage supplement
Parameter index out of range (0 < 1) (1> number of parameters, which is 0
Redis系列——5种常见数据类型day1-3
Analyze 5 indicators of NFT project
Meso tetra (4-bromophenyl) porphyrin (tbpp); 5,10,15,20-tetra (4-methoxy-3-sulfonylphenyl) porphyrin [t (4-mop) ps4] supplied by Qiyue
Research Report on market development prospect and investment strategy of China's water soluble film industry 2022-2027
淺析一道經典題
二叉树中和为某一值的路径(一)(二)(三)(剑指offer)
Shell programming - user information management
SQL Basics
Numpy learning challenge level 1 - Download and installation of numpy
Zraqnhydae
5,10,15,20-tetraphenylporphyrin (TPP) and metal complexes fetpp/mntpp/cutpp/zntpp/nitpp/cotpp/pttpp/pdtpp/cdtpp supplied by Qiyue
STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
ES cluster_block_exception read_only_allow_delete问题
【图像融合】基于梯度能量、局部能量、 PCA三种融合规则实现MRI-CT图像融合附matlab代码