hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1445) Refactor Sqoop tests to support better ConnManager testing
Date Tue, 02 Feb 2010 21:22:27 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Aaron Kimball updated MAPREDUCE-1445:

    Attachment: MAPREDUCE-1445.patch

This patch takes the previous TestColumnTypes test and refactors it into an abstract class
named ManagerCompatTest. This can be specialized on a per-ConnManager basis. The TestColumnTypes
class is now the HSQLDB-based instantiation of ManagerCompatTest. This adds Oracle and MySQL-based
tests as well.

The purpose of this patch is *not* to ensure that all databases import data in a byte-for-byte
identical manner. Indeed, the datatypes supported by some databases are different than others.
However, if a database supports some datatype, we must be able to verify that we can import
it to HDFS in some recognizable representation. Therefore, there are a lot of hooks in ManagerCompatTest
allowing subclasses to encode transformations from "canonical" expected results to the expected
results particular to a database for some datatype.

> Refactor Sqoop tests to support better ConnManager testing
> ----------------------------------------------------------
>                 Key: MAPREDUCE-1445
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1445
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/sqoop
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: MAPREDUCE-1445.patch
> Sqoop's test suite is heavily biased toward testing with the HSQLDB embedded database.
This issue proposes to refactor some tests into abstract classes which can be used as a basis
for testing a variety of connection manager implementations, ensuring better cross-database
compatibility coverage.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message