CDH健康检查报DATA_NODE_BLOCK_COUNT告警
2024-09-01 08:04:38
告警原文:
The health test result for DATA_NODE_BLOCK_COUNT has become concerning: The
DataNode has 500,008 blocks. Warning threshold: 500,000 block(s).
CDH官网解释:
This is a DataNode health test that checks for whether the DataNode has too many blocks. Having too many blocks on a DataNode may affect the DataNode's performance, and an increasing block count may require additional heap space to prevent long garbage collection pauses. This test can be configured using the DataNode Block Count Thresholds DataNode monitoring setting.
网上的问答帖:
Having more number of blocks raises the heap requirement at the DataNodes. The
threshold warning exists to also notify you about this (that you may need to
soon raise the DN heap size to allow it to continue serving blocks at the same
performance).
With CM5 we have revised the number to 600k, given memory optimisation
improvements for DNs in CDH4.6+ and CDH5.0+. You can feel free to raise the
threshold via the CM -> HDFS -> Configuration -> Monitoring section fields,
but do look into if your users have begun creating too many tiny files as it
may hamper their job performance with overheads of too many blocks (and
thereby, too many mappers).
来源: http://community.cloudera.com/t5/Storage-Random-Access-HDFS/DATA-NODE-BLOCK-COUNT-threshold-200-00-block-s/td-p/12186
10-07-2014 10:47 PM
Thanks for your response.
I deleted useless HDFS files(3TB) yesterday(hadoop fs -rm -r), but warning
messege is still continuous.
DATA_NODE_BLOCK_COUNT is same before deleting files. (current value is 921,891
blocks)
How can I reduce current DATA_NODE_BLOCK_COUNT?
Even after a file is deleted, the blocks will remain if HDFS Trash is enabled. Do you have Trash enabled? It configured as stated in this URL:
http://www.cloudera.com/documentation/archive/manager/4-x/4-8-6/ClouderaManager-Managing-Clusters/cmmc_hdfs_trash.html
最新文章
- JavaScript正则表达式,你真的知道?
- 弹性布局flex-兼容问题
- discuz二次开发,分析和实现 之 向dz数据库插入自己的帖子吧
- ADO.Net属性扩展
- 3-4 rpm包查询
- C#字符串颠倒输出
- CodeSmith使用总结--读取一个表试试
- 与一线Linux嵌入式开发project师的对话
- 字符串匹配之KMP,C++实现
- 微调数据库表结构,30 分钟搞定 WordPress 数据库查询缓慢问题
- python_如何通过实例方法名字调用方法?
- dva.js 用法详解:列表展示
- typescript简介
- Hadoop组件
- 计算机编码--c语言中输出float的十六进制和二进制编码
- Python正则表达式 学习笔记
- Java 实现后缀xls文件读取
- CSharp程序员学Android开发---3.Android内部元素不填充BUG
- Realm Swift
- AndroidManifest 中android:exported