hadoop运行jar包中,出现了以下问题:
![](https://img.haomeiwen.com/i12269087/b1709559ccf7d46b.png)
根据日志,我们发现这是由于节点时间不一致造成的
![](https://img.haomeiwen.com/i12269087/25e61a2a8fcff118.png)
输入date -R
查看,的确是时间不一致
![](https://img.haomeiwen.com/i12269087/29f7c0691494338a.png)
![](https://img.haomeiwen.com/i12269087/51984e1f0812e5f5.png)
解决方法:安装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
网友评论