I placed my data set in the hdfs directory and now I am trying to execute a MapReduce code over the data. But while executing the MapReduce task, I am getting the error saying
Exception in thread "main" java.io.IOException: Mkdirs failed to create /tmp/output
at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:106)
at org.apache.hadoop.util.RunJar.main(RunJar.java:150)
But when I use -ls command I see the file already exists. Someone, please help me out?