Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution to the problem that Ganglia monitoring Hadoop2 has no YARN related index parameters?

2025-01-16 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report