java.io.IOException: Destination '/home/cloudera/./QueryResult.java' already exists

incubator-sqoop-user | David Langer | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: The --hive-overwrite doesn't overwrite data

    incubator-sqoop-user | 5 years ago | David Langer
    java.io.IOException: Destination '/home/cloudera/./QueryResult.java' already exists
  2. 0

    RE: The --hive-overwrite doesn't overwrite data

    incubator-sqoop-user | 5 years ago | David Langer
    java.io.IOException: Destination '/home/cloudera/./QueryResult.java' already exists
  3. 0

    RE: The --hive-overwrite doesn't overwrite data

    incubator-sqoop-user | 5 years ago | David Langer
    java.io.IOException: Destination '/home/cloudera/./QueryResult.java' already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: The --hive-overwrite doesn't overwrite data

    incubator-sqoop-user | 5 years ago | David Langer
    java.io.IOException: Destination '/home/cloudera/./QueryResult.java' already exists
  6. 0

    Sqoop import getting halted

    Stack Overflow | 4 months ago | Subash Konar
    java.io.IOException: Destination '/home/training/./tutorials_tbl.java' already exists

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Destination '/home/cloudera/./QueryResult.java' already exists

      at org.apache.commons.io.FileUtils.moveFile()
    2. Commons IO
      FileUtils.moveFile
      1. org.apache.commons.io.FileUtils.moveFile(FileUtils.java:1811)
      1 frame
    3. com.cloudera.sqoop
      Sqoop.run
      1. com.cloudera.sqoop.orm.CompilationManager.compile(CompilationManager.java:229)
      2. com.cloudera.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:85)
      3. com.cloudera.sqoop.tool.ImportTool.importTable(ImportTool.java:369)
      4. com.cloudera.sqoop.tool.ImportTool.run(ImportTool.java:455)
      5. com.cloudera.sqoop.Sqoop.run(Sqoop.java:146)
      5 frames
    4. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
      1 frame
    5. com.cloudera.sqoop
      Sqoop.main
      1. com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:182)
      2. com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:221)
      3. com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:230)
      4. com.cloudera.sqoop.Sqoop.main(Sqoop.java:239)
      4 frames