Help Center> MapReduce Service> FAQs> Cluster Management> What Can I Do If the Time Information of an MRS Cluster Node Is Incorrect?
Updated on 2023-10-19 GMT+08:00

What Can I Do If the Time Information of an MRS Cluster Node Is Incorrect?

  • If the time on a node inside the cluster is incorrect, log in to the node and rectify the fault from 2.
  • If the time on a node inside the cluster is different from that on a node outside the cluster, log in to the node and rectify the fault from 1.
  1. Run the vi /etc/ntp.conf command to edit the NTP client configuration file, add the IP addresses of the master node in the MRS cluster, and comment out the IP address of other servers.
    server master1_ip prefer
    server master2_ip 
    Figure 1 Adding the master node IP addresses
  2. Run the service ntpd stop command to stop the NTP service.
  3. Run the /usr/sbin/ntpdate IP address of the active master node command to manually synchronize time.
  4. Run the service ntpd start or systemctl restart ntpd command to start the NTP service.
  5. Run the ntpstat command to check the time synchronization result:

Cluster Management FAQs

more