Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2780

Sqoop 1 unit tests fail with TestIncrementalImport test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.4.7
    • op
    • None

    Description

      Sqoop unit test TestIncrementalImport fails with the following stack trace

      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"]
      

      Attachments

        1. SQOOP-2780.V0.patch
          2 kB
          Sowmya Ramesh

        Issue Links

          Activity

            People

              sowmyaramesh Sowmya Ramesh
              venkatnrangan Venkat Ranganathan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: