In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Mongodb starts mongos Times with the following error
Error initializing sharding system: DistributedClockSkewed: clock skew of the cluster ambari01:20000,ambari02:20000,ambari03:20000 is too far out of bounds to allow distributed locking
This error is that the time between the nodes is out of sync. The following is the method to set the time synchronization.
Cp / usr/share/zoneinfo/Asia/Shanghai / etc/localtime # sets the time zone to Beijing time, this is Shanghai, because there is only Shanghai in the centos. Ntpdate us.pool.ntp.org # time synchronization
If you don't have ntpdate installed, you can yum yum install-y ntpdate
Join the scheduled task and synchronize the clock every 10 minutes
Crontab-e
Paste the following content into it and save it.
0-59 take 10 * / usr/sbin/ntpdate us.pool.ntp.org | logger-t NTP
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.