sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Elmahrek (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SQOOP-1340) Sqoop incremental import with target-dir from MySQL
Date Tue, 24 Jun 2014 18:00:34 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abraham Elmahrek resolved SQOOP-1340.
-------------------------------------

    Resolution: Duplicate

> Sqoop incremental import with target-dir from MySQL
> ---------------------------------------------------
>
>                 Key: SQOOP-1340
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1340
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.4
>            Reporter: Abraham Elmahrek
>
> {code}
> 14/06/24 10:47:22 ERROR tool.ImportTool: Encountered IOException running import job:
org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://<nn>:8020/tmp/test.out.1
already exists
>         at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:146)
>         at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:458)
>         at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:343)
>         at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1295)
>         at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1292)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1554)
>         at org.apache.hadoop.mapreduce.Job.submit(Job.java:1292)
>         at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1313)
>         at org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:186)
>         at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:159)
>         at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:247)
>         at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:614)
>         at org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:118)
>         at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:413)
>         at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:506)
>         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)
> {code}
> It seems like incremental import should automatically update that directory?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message