临睡前挣扎一波,查的说是权限问题,把administrator改为hadoop即可,可是没有说是怎么改,有说的电脑的管理上也没有那个本地用户和组~求捡
(给明天当面请教挖个坑也~)
20/07/01 23:10:03 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8032
java.io.IOException: The ownership on the staging directory /tmp/hadoop-yarn/staging/BabylonSun/.staging is not as expected. It is owned by Administrators. The directory must be owned by the submitter BabylonSun or by BabylonSun
at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:120)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:144)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Unknown Source)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
at com.hnxy.mr.Test_D.run(Test_D.java:49)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at com.hnxy.mr.Test_D.main(Test_D.java:62)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8