Sqoop
  1. Sqoop
  2. SQOOP-357

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

        Prashant Gokhale created issue -
        Bilung Lee made changes -
        Field Original Value New Value
        Assignee Bilung Lee [ bleeapache ]
        Bilung Lee made changes -
        Attachment SQOOP-357.patch [ 12498203 ]
        Bilung Lee made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Bilung Lee made changes -
        Attachment SQOOP-357-1.patch [ 12498217 ]
        Bilung Lee made changes -
        Attachment SQOOP-357-2.patch [ 12498220 ]
        Arvind Prabhakar made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.4.0 [ 12317345 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Bilung Lee
            Reporter:
            Prashant Gokhale
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development