当我在Hadoop2.6.4集群上设置时间同步是,发生了以下错误:
输入为:
# /usr/sbin/ntpdate cn.pool.ntp.org
错误为:
name server cannot be used, reason: Temporary failure in name resolution
解决办法:
# sudo vi /etc/resolv.conf
插入:nameserver 8.8.8.8
继续运行生效,后续错误见https://blog.csdn.net/dingyiye2649/article/details/81164975