Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How do I resolve clock offset issue?

Solved Go to solution

Re: How do I resolve clock offset issue?

Explorer

Yes, the problem was at the Firewall , one of the rules was changes ;

after the problem was fix the NTP was updated.

 

Thanks so much for your help

Re: How do I resolve clock offset issue?

New Contributor

Thanks for the help 

 

just 2 steps my issue is resolved might usefull to other 

i tried

/etc/init.d/ntpd start

/etc/init.d/ntpd stop

 

it works for me

Re: How do I resolve clock offset issue?

Explorer
Thanks, it works for me too

Re: How do I resolve clock offset issue?

Explorer

I have installed ntpd on all 8 nodes, checked the ntp.conf file across the nodes, its same..

So i stopped the ntpd and tried running the ntpupdate command and its saying command not found.. So could you please  explain this step?

-> connected to the ntp server named in the ntp.conf file: ntpupdate <ntp_server>

Re: How do I resolve clock offset issue?

Expert Contributor
There is no ntpupdate command.

You can update ntp by typing

# ntpdate -u {Main node sync'ed to NTP server IP address or Domain name
here}

Example

# ntpdate -u domains.ntp.com

OR

# ntpdate -u 192.168.0.2

You should only have 1 node announcing NTP and other nodes getting time
from main node.

Re: How do I resolve clock offset issue?

Explorer
Thanks a lot.. :)
Highlighted

Re: How do I resolve clock offset issue?

Expert Contributor

Re: How do I resolve clock offset issue?

New Contributor

I had to restart Cloudera SCM Agent to fix this alert after NTP reconfiguration:

service cloudera-scm-agent restart

 

Re: How do I resolve clock offset issue?

Expert Contributor
I use puppet and foreman to configure each system the same for all ntp
clients to a central ntp server.

Great information here
http://www.linuxsecrets.com/blog/4tutorial-and-install-howto/2014/06/26/906-how-to-install-and-confi...