In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "how to solve the Enabling NTP problem of CDH5.8.2", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to solve the Enabling NTP problem of CDH5.8.2" article.
one。 problem
CDH requires that you configure the Network Time Protocol (NTP) service on each machine in your cluster.
To start NTP and configure it to run automatically on reboot, perform the following steps on each node in your cluster.
Error report:
1) the health of the host in this role is poor. The following health tests are bad: clock deviation.
2) The host's NTP service is not synchronized to any remote server.
two。 Solve
First configure a NTP service, and then all CDH nodes act as clients to this NTP service.
1. Install NTP (for each cluster)
[root@sht-sgmhadoopcm-01 ~] # yum install ntp
two。 Edit / etc/ntp.conf (each cluster)
[root@sht-sgmhadoopcm-01 ~] # vi / etc/ntp.conf
Server 0.pool.ntp.org
Server 1.pool.ntp.org
Server 2.pool.ntp.org
3. Configure NTP to boot automatically (each in the cluster)
[root@sht-sgmhadoopcm-01 ~] # chkconfig ntpd on
4. Enable NTP service (each in the cluster)
[root@sht-sgmhadoopcm-01 ~] # service ntp start
5. Synchronize ntp nodes (each cluster)
[root@sht-sgmhadoopcm-01] # hostname-I
172.16.101.54
Select the first one as the ntp server
[root@sht-sgmhadoopcm-01] # ntpdate-u 172.16.101.54
17 Nov 14:31:26 ntpdate [5450]: adjust time server 172.16.101.54 offset-0.000013 sec
6. Synchronization to system time (each cluster)
[root@sht-sgmhadoopcm-01] # hwclock-- systohc
The above is the content of this article on "how to solve the Enabling NTP problem of CDH5.8.2". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.