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

BytesWritable is not handled by generated Java classes

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: codegen
    • Labels:
      None

      Description

      When I import an Oracle DB table that has a RAW column, I get this error:

      11/05/31 14:10:09 ERROR orm.ClassWriter: No parser available for Java type org.apache.hadoop.io.BytesWritable

      What is needed is a parser that handles BytesWritable, which is what you get for any column type in the DB that is BINARY or VARBINARY (e.g. RAW).

      Without this support, any sequence-file that is read will contain null values within columns of type BINARY or VARBINARY.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kkrugler Ken Krugler
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: