Note: If you are using ntpd to synchronize your host clocks, but chronyd is also
running, Cloudera Manager relies on chronyd to verify time synchronization, even if it is not synchronizing properly. This can result in Cloudera Manager reporting
clock offset errors, even though the time is correct.

To fix this, either configure and use chronyd or disable it and remove it from the hosts.

To use ntpd for time synchronization:

Install the ntp package:

RHEL compatible:

yum install ntp

SLES:

zypper install ntp

Ubuntu:

apt-get install ntp

Edit the /etc/ntp.conf file to add NTP servers, as in the following example.

If this documentation includes code, including but not limited to, code examples, Cloudera makes this available to you under the terms of the Apache License, Version 2.0, including any required
notices. A copy of the Apache License Version 2.0 can be found here.