修改hadoop/hdfs日志级别

描述:

创新互联公司致力于互联网网站建设与网站营销,提供网站设计制作、做网站、网站开发、seo优化、网站排名、互联网营销、成都小程序开发、公众号商城、等建站开发,创新互联公司网站建设策划专家,为不同类型的客户提供良好的互联网应用定制解决方案,帮助客户在新的全球化互联网环境中保持优势。

If a large directory is deleted and namenode is immediately restarted, there are a lot of blocks that do not belong to any file. This results in a log:

2014-11-08 03:11:45,584 INFO BlockStateChange (BlockManager.java:proce***eport(1901)) - BLOCK* proce***eport: blk_1074250282_509532 on 172.31.44.17:1019 size 6 does not belong to any file.

This log is printed within FSNamsystem lock. This can cause namenode to take long time in coming out of safemode.

One solution is to downgrade the logging level.

解决方案

tail -f /var/log/hadoop/hdfs/hdfs-namenode.log

http:///logLevel

Input "BlockStateChange" and Level is "WARN" and then click "Set Log Level" button

wait 2~3 mins. it works and performance is fine.


网站题目:修改hadoop/hdfs日志级别
路径分享:http://www.hxwzsj.com/article/ihpscc.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 成都网站制作 企业网站设计 成都商城网站建设 成都网站建设 成都响应式网站建设 营销型网站建设 网站设计公司 高端网站设计 网站制作 营销型网站建设 成都网站建设公司 营销网站建设 app网站建设 做网站设计 专业网站设计 网站制作 网站制作 成都网站设计公司 品牌网站建设 成都做网站建设公司 网站建设公司 成都网站制作