Uploaded image for project: 'Sqoop (READ-ONLY)'
  1. Sqoop (READ-ONLY)
  2. SQOOP-165

Improve logging with column name for unknown SQL types

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: export
    • Labels:
      None

      Description

      When Sqoop encounters a column type it can't handle it prints a log message like this

      11:48:59,872 ERROR com.cloudera.sqoop.orm.ClassWriter: No Java type for SQL type 1111

      It would be helpful to include the column name that causes the problem so I've altered the logging statement to a format like this:

      2011-03-09 12:02:51,738 ERROR com.cloudera.sqoop.orm.ClassWriter: No Java type for SQL type 1111 for column searchable_canonical

        Attachments

          Activity

            People

            • Assignee:
              lars_francke Lars Francke
              Reporter:
              lars_francke Lars Francke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: