美文网首页
Hadoop环境运行jar包 节点时间不一致问题?

Hadoop环境运行jar包 节点时间不一致问题?

作者: MayerBin | 来源:发表于2018-11-21 23:09 被阅读0次

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

image.png

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

image.png

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

image.png image.png

解决方法:安装ntp(ubuntu 为ntp ,其他的 linux版本为ntpd)

sudo apt-get install ntp

重新启动ntp:

``service ntp restart ``

查看ntp状态:
``service ntp status``

开机启动:
``chkconfig ntpd on``

参考文章1
参考文章2

相关文章

网友评论

      本文标题:Hadoop环境运行jar包 节点时间不一致问题?

      本文链接:https://www.haomeiwen.com/subject/uwohqqtx.html