tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory users already exists

sqoop-user | Jarek Jarcec Cecho | 5 years 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

    [Sqoop-user] Incremental import fail to hive from PostgreSQL - Grokbase

    grokbase.com | 1 year ago
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory users already exists
  2. 0

    Re: Incremental import fail to hive from PostgreSQL

    sqoop-user | 5 years ago | Jarek Jarcec Cecho
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory users already exists
  3. 0

    Re: Incremental import fail to hive from PostgreSQL

    sqoop-user | 5 years ago | Roshan Pradeep
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory users already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. tool.ImportTool

      Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory users already exists

      at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs()
    2. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:123)
      2. org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:770)
      3. org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
      4. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
      4 frames
    3. org.apache.sqoop
      Sqoop.run
      1. org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:141)
      2. org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:201)
      3. org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:413)
      4. org.apache.sqoop.manager.PostgresqlManager.importTable(PostgresqlManager.java:102)
      5. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:380)
      6. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:453)
      7. org.apache.sqoop.Sqoop.run(Sqoop.java:145)
      7 frames
    4. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      1 frame
    5. org.apache.sqoop
      Sqoop.main
      1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
      2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
      3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
      4. org.apache.sqoop.Sqoop.main(Sqoop.java:238)
      4 frames
    6. com.cloudera.sqoop
      Sqoop.main
      1. com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
      1 frame