sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2371) Tests from *LobAvroImportTest might fail
Date Wed, 27 May 2015 21:43:32 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561798#comment-14561798

ASF subversion and git services commented on SQOOP-2371:

Commit 2e4de0469db1eb346580f7afe9d0b2b92d2636cc in sqoop's branch refs/heads/trunk from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=2e4de04 ]

SQOOP-2371: Tests from *LobAvroImportTest might fail

(Jarek Jarcec Cecho via Abraham Elmahrek)

> Tests from *LobAvroImportTest might fail
> ----------------------------------------
>                 Key: SQOOP-2371
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2371
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.7
>         Attachments: SQOOP-2371.patch
> 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.

This message was sent by Atlassian JIRA

View raw message