SunnyYoona
SunnyYoona
采纳率12.5%
2017-01-17 12:38 阅读 3.3k
已采纳

Hadoop Distcp报错 队列问题

1
sudo -uxiaosi hadoop distcp  hdfs:///user/xiaosi/tmp/data_group/histories/day=20161116 hdfs:///user/xiaosi/data_group/histories

报错:

17/01/17 19:18:46 ERROR security.UserGroupInformation: PriviledgedActionException as:xiaosi (auth:SIMPLE) cause:java.io.IOException: Failed to run job : User xiaosi cannot submit applications to queue root.default
17/01/17 19:18:46 ERROR tools.DistCp: Exception encountered 
java.io.IOException: Failed to run job : User xiaosi cannot submit applications to queue root.default
        at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:299)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:430)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
        at org.apache.hadoop.tools.DistCp.execute(DistCp.java:153)
        at org.apache.hadoop.tools.DistCp.run(DistCp.java:118)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.tools.DistCp.main(DistCp.java:375)
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    SunnyYoona SunnyYoona 2017-01-19 07:32

    -Dmapred.job.queue.name=队列名称

    点赞 评论 复制链接分享

相关推荐