zoukankan      html  css  js  c++  java
  • CDH健康检查报DATA_NODE_BLOCK_COUNT告警

    告警原文:
    1. The health test result for DATA_NODE_BLOCK_COUNT has become concerning: The
    2. 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.

    网上的问答帖:
    1. Having more number of blocks raises the heap requirement at the DataNodes. The
    2. threshold warning exists to also notify you about this (that you may need to
    3. soon raise the DN heap size to allow it to continue serving blocks at the same
    4. performance).
    5. With CM5 we have revised the number to 600k, given memory optimisation
    6. improvements for DNs in CDH4.6+ and CDH5.0+. You can feel free to raise the
    7. threshold via the CM -> HDFS -> Configuration -> Monitoring section fields,
    8. but do look into if your users have begun creating too many tiny files as it
    9. may hamper their job performance with overheads of too many blocks (and
    10. thereby, too many mappers).
    11. 来源: http://community.cloudera.com/t5/Storage-Random-Access-HDFS/DATA-NODE-BLOCK-COUNT-threshold-200-00-block-s/td-p/12186
    12. 10-07-2014 10:47 PM
    13. Thanks for your response.
    14. I deleted useless HDFS files(3TB) yesterday(hadoop fs -rm -r), but warning
    15. messege is still continuous.
    16. DATA_NODE_BLOCK_COUNT is same before deleting files. (current value is 921,891
    17. blocks)
    18. How can I reduce current DATA_NODE_BLOCK_COUNT?
    19. 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:
    20. http://www.cloudera.com/documentation/archive/manager/4-x/4-8-6/ClouderaManager-Managing-Clusters/cmmc_hdfs_trash.html


















  • 相关阅读:
    java中Logger.getLogger(Test.class),即log4日志的使用
    System.getProperty()方法大全 (转载)
    常用MySQL函数
    MYSQL常用命令(转载)
    Oracle中与日期时间有关的运算函数
    R
    珍惜现在,感恩生活 多重背包
    Piggy-Bank 完全背包
    骨骼收集器01背包
    D
  • 原文地址:https://www.cnblogs.com/xiaohe001/p/6427575.html
Copyright © 2011-2022 走看看