sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2495) Sqoop2: Provide simple test that can validate if connector is reasonably formed
Date Wed, 09 Mar 2016 21:54:41 GMT

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

Jarek Jarcec Cecho commented on SQOOP-2495:
-------------------------------------------

The attached patch indeed depends on all the JIRAs that are in "Depends upon" section, hence
committing it before them doesn't make much sense.

> Sqoop2: Provide simple test that can validate if connector is reasonably formed
> -------------------------------------------------------------------------------
>
>                 Key: SQOOP-2495
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2495
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.6
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2495.patch
>
>
> On internal hackathon we we're hacking Sqoop 2 connector with [~singhashish] and we went
through few troubles that we should address.
> We have a lot of requirements for Sqoop connectors that are only documented but not enforced
by the code, for example:
> * Resource bundles need to have names for all properties in configuration objects
> * Configuration objects needs to be properly annotated
> If either of those is incorrect then we happily load the connector just to throw some
random exceptions during runtime. We should provide simple test case that all connectors can
reuse to validate that connector is properly formed as Sqoop expects.
> (Which still doesn't mean that the connector will work as we can't guarantee that extractor/loader
is properly implemented. But we can at least help people to not see random exceptions such
as those described in SQOOP-2494).



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

Mime
View raw message