Mac Maven 环境下 hadoop job 执行时抛出 Exception in thread "main" ExitCodeExc...
No such file or directory
具体错误如下
Exception in thread "main" ExitCodeException exitCode=1: chmod: /tmp/hadoop-jndong/mapred/staging/jndong234945070/.staging/job_local234945070_0001: No such file or directory
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:791)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:774)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:646)
at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:479)
at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:599)
at org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:814)
at org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:774)
at org.apache.hadoop.mapred.JobClient.access$400(JobClient.java:178)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:991)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:976)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:394)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:976)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:950)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1412)