- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cloudera 5.4.x cluster randomly reports "Clock Offset Bad" with working NTP Server
Created on 08-24-2015 06:32 PM - edited 09-16-2022 02:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cloudera Community,
I have two different Cloudera Manager(CM) managed clusters that I upgraded from 5.3.3 to (5.4.1 and 5.4.3). On both clusters I get random "Clock Offset Bad" messages thoughout the day. I checked the times on all nodes and they are all in sync. I also checked the NTP configuration and it appears to be accurate. I did not have these issues when running 5.3.3. I was wondering how the CM agent checks for bad offset clock? Is there something that changed between 5.3.3 and 5.4.x?
I'm running:
Cluster 1
OS: Redhat Enterprise 6.6
CDH: 5.4.1
CM: 5.4.1
Cluster 2
OS: Redhat Enterprise 6.6
CDH: 5.4.3
CM: 5.4.3
Thanks.
Created 08-28-2015 06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we get the same problem as well, its extremely annoying.
Created 08-28-2015 09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. The clock NTP health check is executed by each agent running on nodes on your cluster. The command executed is:
ntpdc -np
Created 08-28-2015 03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
$ ntpdc -np
remote local st poll reach delay offset disp
=======================================================================
=192.168.1.44 192.168.1.28 4 1024 377 0.00110 0.009895 0.18616
=192.168.1.43 192.168.1.28 4 1024 377 0.00099 0.004189 0.18646
Created 10-21-2015 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anybody found a solution for this? I am running the VM on ESXi.
In my case ff I run 'ntpdc -np' after a bad allert I get following values:
remote local st poll reach delay offset disp =================================================== =193.2.4.2 192.168.2.251 2 64 177 0.00102 -46.89972 0.25188 =193.2.120.3 192.168.2.251 2 64 177 0.00383 -46.90043 0.25189 =109.127.214.126 192.168.2.251 2 64 177 0.00117 -46.89955 0.25185
After 'service ntpd restart' offsets with a harwdare clock seems to be fixed:
remote local st poll reach delay offset disp ======================================================================= =89.212.75.6 192.168.2.251 16 64 0 0.00000 0.000000 4.00000 *109.127.214.126 192.168.2.251 2 64 1 0.00117 0.000123 2.81735 =84.255.235.43 192.168.2.251 16 64 0 0.00000 0.000000 4.00000
But after few minutes offsets drifts away. Any ideas?
Created 11-04-2015 01:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were you able to move past this issue? I'm facing a similar issue where the clocks randomly go out of sync on/off. I checked with my Network team for any firewall changes but there haven't been any.
Created 11-05-2015 02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 11-05-2015 08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created 04-09-2016 03:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is the "=" exactly mean then? I am not seeing anything in th cm agent logs or syslog. from what i read from https://www.eecis.udel.edu/~mills/ntp/html/ntpdc.html
"a = means the remote server is being polled in client mode". So does not mean we should look for those lines as well? My entire environment is alerting on this now, all of a sudden and I have not found any issue yet as to the cause. My environment is running Ubuntu 12.04 and some 14.04 and ntpdate works with the configured server i have set.
Created 07-01-2019 07:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,man, did you fixed this problem,i have the same too.
