org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container
问题原因:namenode,datanode时间同步问题
解决办法:多个datanode与namenode进行时间同步,在每台服务器执行:ntpdate time.nist.gov,确认时间同步成功。
最好在每台服务器的 /etc/crontab 中加入一行:
0 2 * * * root ntpdate time.nist.gov && hwclock -w
这个网址下获得的方法,挺好的
http://www.sharpcloud.cn/thread-4927-1-1.html