In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
What is the solution to the problem of Ganglia monitoring Hadoop2 without YARN-related index parameters? I believe many inexperienced people are at a loss about this. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
If Ganglia wants to monitor the YARN metrics of Hadoop2, it should be configured in the hadoop-metrics2.properties file under the Hadoop directory. Only in this way can the relevant metrics files be generated. However, it should be noted that the hadoop-metrics2.properties configuration file cannot be modified directly, but the template file must be modified, otherwise the template file will overwrite the configuration file every time the service is restarted. The specific directory of the template file is / usr/lib/deploy/puppet / modules/hadoop/templates / hadoop-metrics2.properties. The specific configuration should be modified as follows:
Namenode.sink.ganglia.servers=:
Datanode.sink.ganglia.servers=:
Resourcemanager.sink.ganglia.servers=:
Nodemanager.sink.ganglia.servers=:
Maptask.sink.ganglia.servers=:
Reducetask.sink.ganglia.servers=:
After modifying the above configuration, execute the puppet agent-t command under each node so that the hadoop-metrics2.properties file in the hadoop directory in each node can be refreshed synchronously.
After the command is executed successfully, restart all node servers, and then go to the generation directory of the rrd file to see if the YARN-related metric parameter file has been generated.
After reading the above, have you mastered the solution to the problem of Ganglia monitoring Hadoop2 without YARN related index parameters? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
Exchange 2013 (VI) High availability of client access
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.