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

Tests from *LobAvroImportTest might fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.6
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None

      Description

      The family of *LobAvroImportTest is failing in my environment on various exceptions:

      • Oracle: ORA-00932: inconsistent datatypes: expected - got BLOB
      • MySQL: java.io.IOException: Sqoop does not have the splitter for the given SQL data type. Please use either different split column (argument --split-by) or lower the number of mappers to 1. Unknown SQL data type: -4

      It seems that the test is specifying explicitly two mappers (-m 2) but all the code is assuming one mapper only (we don't have splitter for BLOB, we're verifying only one output file, ...). I'm not 100% sure why it was passing before, but changing the expected number of mappers to 1 seems as the right thing to do.

        Attachments

        1. SQOOP-2371.patch
          0.6 kB
          Jarek Jarcec Cecho

          Activity

            People

            • Assignee:
              jarcec Jarek Jarcec Cecho
              Reporter:
              jarcec Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: