Hadoop错误之YarnException

 在使用azkaban做任务调度时候发现Hadoop错误:

头信息为下面内容:

19/07/02 18:37:38 INFO mapreduce.Job:  map 0% reduce 0%
19/07/02 18:37:38 INFO mapreduce.Job: Job job_1562063149428_0002 failed with state FAILED due to: Application application_1562063149428_0002 failed 2 times due to Error launching appattempt_1562063149428_0002_000002. Got exception: org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container. 
This token is expired. current time is 1562090464646 found 1562064458054
Note: System times on machines may be out of sync. Check system time and time zones.

解决方案:

定位到问题所在:当前时间有问题

查看时间同步:发现定时器挂掉了=> 重新配置时间同步

配置好时间同步 => 问题解决

你可能感兴趣的:(大数据相关,Exceptions,Error)