sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2780) Sqoop 1 unit tests fail with TestIncrementalImport test
Date Thu, 07 Jan 2016 01:08:39 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086608#comment-15086608
] 

Jarek Jarcec Cecho commented on SQOOP-2780:
-------------------------------------------

Interesting, changing the one single place get the test case going for me, but you're right
that we should change that on all places.

I'm happy to review+commit this one, but please do not create new JIRA next time - just comment
on the existing one that the patch is incomplete or something.

> Sqoop 1 unit tests fail with TestIncrementalImport test
> -------------------------------------------------------
>
>                 Key: SQOOP-2780
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2780
>             Project: Sqoop
>          Issue Type: Bug
>          Components: op
>            Reporter: Venkat Ranganathan
>            Assignee: Sowmya Ramesh
>            Priority: Blocker
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-2780.V0.patch
>
>
> Sqoop unit test TestIncrementalImport fails with the following stack trace
> {quote}
> Testcase: testIncrementalHiveAppendEmptyThenFull took 0.244 sec
>         Caused an ERROR
> java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: java.sql.SQLException:
Column not found: id in statement [SELECT MAX("id") FROM "incrementalHiveAppendEmptyThenFull"]
> java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException:
java.sql.SQLException: Column not found: id in statement [SELECT MAX("id") FROM "incrementalHiveAppendEmptyThenFull"]
>         at com.cloudera.sqoop.TestIncrementalImport.runJob(TestIncrementalImport.java:637)
>         at com.cloudera.sqoop.TestIncrementalImport.runJob(TestIncrementalImport.java:616)
>         at com.cloudera.sqoop.TestIncrementalImport.testIncrementalHiveAppendEmptyThenFull(TestIncrementalImport.java:1252)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException:
java.sql.SQLException: Column not found: id in statement [SELECT MAX("id") FROM "incrementalHiveAppendEmptyThenFull"]
>         at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
>         at com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:45)
>         at com.cloudera.sqoop.TestIncrementalImport.runJob(TestIncrementalImport.java:632)
> Caused by: java.lang.RuntimeException: java.io.IOException: java.sql.SQLException: Column
not found: id in statement [SELECT MAX("id") FROM "incrementalHiveAppendEmptyThenFull"]
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message