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

Sqoop QA bot commented on SQOOP-2495:
-------------------------------------

Testing file 
[SQOOP-2495.patch|https://issues.apache.org/jira/secure/attachment/12792353/SQOOP-2495.patch]
 against branch sqoop2 took 0:00:55.172554.

{color:red}Overall:{color} -1 due to an error(s), see details below:

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:red}ERROR:{color} failed to build with patch (exit code 1, 
[report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2408/artifact/patch-process/install.txt])

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/2408/console].

This message is automatically generated.

> 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.8
>
>         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)

Reply via email to