hadoop运行jar包中,出现了以下问题:

根据日志,我们发现这是由于节点时间不一致造成的

输入date -R
查看,的确是时间不一致


解决方法:安装ntp(ubuntu 为ntp ,其他的 linux版本为ntpd)
sudo apt-get install ntp
重新启动ntp:
``service ntp restart ``
查看ntp状态:
``service ntp status``
开机启动:
``chkconfig ntpd on``
hadoop运行jar包中,出现了以下问题:
根据日志,我们发现这是由于节点时间不一致造成的
输入date -R
查看,的确是时间不一致
解决方法:安装ntp(ubuntu 为ntp ,其他的 linux版本为ntpd)
sudo apt-get install ntp
重新启动ntp:
``service ntp restart ``
查看ntp状态:
``service ntp status``
开机启动:
``chkconfig ntpd on``
本文标题:Hadoop环境运行jar包 节点时间不一致问题?
本文链接:https://www.haomeiwen.com/subject/uwohqqtx.html
网友评论