org.apache.hadoop.mapred.FileAlreadyExistsException

Output directory file:/home/hp/output already exists

Solutions on the web147

  • Output directory file:/home/hp/output already exists
  • via Stack Overflow by user3696234
    , 1 year ago
    Output directory file:/ already exists
  • via Stack Overflow by ragaa
    , 1 year ago
    Output directory file:/home/hat/crawl/indexes already exists
  • Stack trace

    • org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory file:/home/hp/output already exists at org.apache.hadoop.mapred.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:132) at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:564) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:432) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293) at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:562) at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:557) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:548) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:833) at WordCount.WordCount.run(WordCount.java:31) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at WordCount.WordCount.main(WordCount.java:37)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 1 month ago
    2 times, 3 months ago
    Once, 3 months ago
    Unknown user
    Once, 1 year ago