异常如下
main : run as user is hdfs
main : requested yarn user is hdfs
Requested user hdfs is not whitelisted and has id 995,which is below the minimum allowed 1000
问题原因:是由于Yarn限制了用户id小于1000的用户提交作业;
解决方法:修改为0
Requested user hdfs is banned异常参考:https://datamining.blog.csdn.net/article/details/98766880