org.apache.commons.io.FileExistsException

Destination '/usr/local/oracle/./sqoop_test.java' already exists

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web54

  • via sqoop-user by Abraham Elmahrek, 2 weeks ago
    Destination '/usr/local/oracle/./sqoop_test.java' already exists
  • via sqoop-user by Abraham Elmahrek, 2 weeks ago
    Destination '/usr/local/oracle/./sqoop_test.java' already exists
  • via sqoop-user by Brenden Cobb, 9 months ago
    Destination '/usr/local/oracle/./sqoop_test.java' already exists
  • Stack trace

    • org.apache.commons.io.FileExistsException: Destination '/usr/local/oracle/./sqoop_test.java' already exists at org.apache.commons.io.FileUtils.moveFile(FileUtils.java:2378) at org.apache.sqoop.orm.CompilationManager.compile(CompilationManager.java:229) at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:97) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:396) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:502) at org.apache.sqoop.Sqoop.run(Sqoop.java:147) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231) at org.apache.sqoop.Sqoop.main(Sqoop.java:240)

    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

    You’re the first here who have seen this exception.