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

Tom White commented on SQOOP-384:
---------------------------------

I just tested the latest patch from MAPREDUCE-3607 (which includes 
Configuration.getInstances()) by reverting the changes from SQOOP-412 and 
SQOOP-413:

{noformat}
svn merge -c -1221843 .
svn merge -c -1221127 .
{noformat}

Then I made the following change:

{noformat}
Index: build.xml
===================================================================
--- build.xml     (revision 1233602)
+++ build.xml     (working copy)
@@ -175,7 +175,7 @@
   <if>
     <equals arg1="${hadoopversion}" arg2="20" />
     <then>
-      <property name="hadoop.version" value="0.20.2-cdh3u1" />
+      <property name="hadoop.version" value="1.1.0-SNAPSHOT" />
       <property name="hbase.version" value="0.90.3-cdh3u1" />
       <property name="zookeeper.version" value="3.3.3-cdh3u1" />
     </then>
{noformat}

And ran 

{noformat}
ant test -Dhadoopversion=20 -Dresolvers=internal
{noformat}

All the tests passed.

                
> 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