Container launch failed for container_1540502417999_0004_01_000002 : org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.
This token is expired. current time is 1540658300994 found 1540510683135
Note: System times on machines may be out of sync. Check system time and time zones.
问题原因:
namenode,datanode时间同步问题
解决办法:
多个datanode与namenode进行时间同步,在每台服务器执行如下两个命令进行同步
1)输入“cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime”
2)输入“ntpdate pool.ntp.org”
完美完美~~
欢迎订阅公众号(JAVA和人工智能)
获取更过免费书籍资源视频资料