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

Tom White updated SQOOP-354:
----------------------------

    Attachment: SQOOP-354.patch

Here's a patch to demonstrate the problem. Changing the Hadoop dependency to 
0.23 necessitates an incompatible change to MockObjectFactory. This is similar 
to the changes covered in BIGTOP-162, and which are handled either via shims 
(an interface whose implementation is conditionally compiled according to the 
Hadoop target version) or via mock object libraries. Since the changes to Sqoop 
are only in the tests, using a mock object library is probably most 
appropriate. Are folks open to adding Mockito (say) as a Sqoop dependency?

The other problem, not fixed in the patch, is that the Hadoop test classes (in 
particular HadoopTestCase) are not yet published to a Maven repository, so it's 
not possible to compile TestDataDrivenDBInputFormat.
                
> SQOOP needs to be made compatible with Hadoop  .23 release
> ----------------------------------------------------------
>
>                 Key: SQOOP-354
>                 URL: https://issues.apache.org/jira/browse/SQOOP-354
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Roman Shaposhnik
>         Attachments: SQOOP-354.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to