将数据从mysql往hdfs导入的时候报错
ailing this attempt.Diagnostics: [2020-11-05 23:11:56.466]Application application_1604581963944_0008 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is hdfs
main : requested yarn user is hdfs
Requested user hdfs is not whitelisted and has id 993,which is below the minimum allowed 1000
解决方法:是由于Yarn限制了用户id小于1000的用户提交作业
修改yarn配置
将其修改为0即可