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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: