tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists

sqoop-user | Jarek Jarcec Cecho | 10 months ago
  1. 0

    Re: Error when importing data from sql server to sqoop

    sqoop-user | 10 months ago | Jarek Jarcec Cecho
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists
  2. 0

    Re: Error when importing data from sql server to sqoop

    sqoop-user | 10 months ago | Jarek Jarcec Cecho
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists
  3. 0

    Re: Error when importing data from sql server to sqoop

    sqoop-user | 10 months ago | Jarek Jarcec Cecho
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Error when importing data from sql server to sqoop

    sqoop-user | 10 months ago | Jarek Jarcec Cecho
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists
  6. 0

    RE: Error when importing data from sql server to sqoop

    sqoop-user | 10 months ago | Vishwakarma, Chhaya
    tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC<http://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC> 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. tool.ImportTool

      Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/hdfs/Product_DailyRevenueDetails_HPOC already exists

      at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs()
    2. Hadoop
      Job$10.run
      1. org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:146)
      2. org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:266)
      3. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:139)
      4. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
      5. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
      5 frames
    3. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    4. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
      1 frame
    5. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
      2. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
      2 frames
    6. org.apache.sqoop
      Sqoop.run
      1. org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:196)
      2. org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:169)
      3. org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:266)
      4. org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:673)
      5. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
      6. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
      7. org.apache.sqoop.Sqoop.run(Sqoop.java:148)
      7 frames
    7. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    8. org.apache.sqoop
      Sqoop.main
      1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
      2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
      3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
      4. org.apache.sqoop.Sqoop.main(Sqoop.java:244)
      4 frames