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

To make debugging easier, Sqoop should print out all the exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • None
    • None

    Description

      I am using sqoop version from https://github.com/apache/sqoop (trunk) . I am pasting some of the error message lines I get when I try to run an import command

      SELECT ID, FIRSTNAME, LASTNAME FROM TEST_TABLE AS TEST_TABLE WHERE ( ID >= 10 ) AND ( ID < 15 ). Details of the failure can be found in the exception chain that is accessible with getNextException.

      .....

      at com.cloudera.sqoop.mapreduce.db.DBRecordReader.executeQuery(DBRecordReader.java:110)
      at com.cloudera.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:235)
      ... 11 more

      It does not print out the entire list of exceptions.

      Attachments

        1. SQOOP-357.patch
          4 kB
          Bilung Lee
        2. SQOOP-357-1.patch
          4 kB
          Bilung Lee
        3. SQOOP-357-2.patch
          4 kB
          Bilung Lee

        Activity

          People

            bleeapache Bilung Lee
            prashant@cloudera.com Prashant Gokhale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: