sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2367) Tests from PostgresqlImportTest can fail on various versions of Hadoop
Date Wed, 27 May 2015 06:08:17 GMT

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

Hudson commented on SQOOP-2367:
-------------------------------

FAILURE: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #1004 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/1004/])
SQOOP-2367: Tests from PostgresqlImportTest can fail on various versions of Hadoop (abe: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7f25e88e8d1549481f786909f27944a861bf687d)
* src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java


> Tests from PostgresqlImportTest can fail on various versions of Hadoop
> ----------------------------------------------------------------------
>
>                 Key: SQOOP-2367
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2367
>             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-2367.patch
>
>
> I've noticed that three tests from {{PostgresqlImportTest}} has been failing consistently
in my environment (with variously patched Hadoop version):
> * {{testDifferentSchemaImport}}
> * {{testJdbcBasedImport}}
> * {{testTableNameWithSpecialCharacter}}
> Further investigation has showed that the {{PostgresqlImportTest}} is verifying output
by checking one specific file output whereas in my environment Hadoop output consisted of
two files instead. Hence the tests were confused and were reporting missing rows. I feel that
the fix is simple in this case - since we are expecting one output file, we should specify
{{-m 1}} as parameter to force one single mapper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message