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

Eric Wadsworth commented on SQOOP-384:
--------------------------------------

For whoever is working on this, there is a binary incompatibility between 
hadoop 0.20 and hadoop 0.23, around the JobContext class. It was converted into 
an interface in 0.23. So, when you build sqoop, do it like this, so that the 
class files are generated against the older JobContext:
ant -Dhadoopversion=20 jar-all

I don't know how this will work against hadoop 0.23 however.
                
> Sqoop is incompatible with Hadoop prior to 0.21
> -----------------------------------------------
>
>                 Key: SQOOP-384
>                 URL: https://issues.apache.org/jira/browse/SQOOP-384
>             Project: Sqoop
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3.0
>            Reporter: Roman Shaposhnik
>              Labels: hadoop, patch
>             Fix For: 1.4.1-incubating
>
>         Attachments: wad_ConfigurationHolder.patch.gz
>
>
> The following are the APIs Sqoop relies upon, which are not available in 
> Hadoop prior to 0.21:
>    org.apache.hadoop.conf.Configuration.getInstances
>    org.apache.hadoop.mapreduce.lib.db.DBWritable 
>    org.apache.hadoop.mapreduce.lib.input.CombineFileSplit 
>    org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat 
>    org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader 

--
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