org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://cshadoop1/socNetData/userdata/userdata.txt already exists

Stack Overflow | maddie | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hadoop Map Reduce - Read HDFS File - FileAlreadyExists error

    Stack Overflow | 8 months ago | maddie
    org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://cshadoop1/socNetData/userdata/userdata.txt already exists

    Root Cause Analysis

    1. org.apache.hadoop.mapred.FileAlreadyExistsException

      Output directory hdfs://cshadoop1/socNetData/userdata/userdata.txt already exists

      at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs()
    2. Hadoop
      JobSubmitter.submitJobInternal
      1. org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:146)
      2. org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:458)
      3. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:343)
      3 frames