system times on machines may be out of sync

今天在hadoop集群执行任务的时候报了一个这个错误,听名字应该是三台机器的时间不同步。于是同步一下时间即可解决 
1、安装ntpdate工具

yum -y install ntp ntpdate

2、 设置系统时间与网络时间同步xia

ntpdate cn.pool.ntp.org

猜你喜欢

转载自www.cnblogs.com/shizhijie/p/9117655.html
今日推荐