after the stand-alone hadoop, running wordcount was deployed on the unbuntu16.04 virtual machine, the output folder was not created successfully.
Environment
hadoop2.9.1
java openJDK7
Show map100% reduce0%
the error message is as follows
java.lang.Exception: java.io.IOException: Mkdirs failed to create file:/opt/hadoop-2.9.1/optput2/_temporary/0/_temporary/attempt_local1079342681_0001_r_000000_0 (exists=false, cwd=file:/opt/hadoop-2.9.1)
at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:491)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:558)
Caused by: java.io.IOException: Mkdirs failed to create file:/opt/hadoop-2.9.1/optput2/_temporary/0/_temporary/attempt_local1079342681_0001_r_000000_0 (exists=false, cwd=file:/opt/hadoop-2.9.1)
should have been read, but no output
File Input Format Counters
Bytes Read=71
File Output Format Counters
Bytes Written=0