sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathleen Ting <k...@cloudera.com>
Subject Re: [sqoop-user] error occurs while import
Date Thu, 05 Jan 2012 00:13:05 GMT
For faster response, please subscribe to
incubator-sqoop-user-subscribe@apache.org.

Hanjie - it appears that you are hitting
https://issues.apache.org/jira/browse/SQOOP-384.

Regards, Kathleen

On Wed, Jan 4, 2012 at 2:20 PM, Hanjie <hanjie.ji@gmail.com> wrote:
> I'm using Sqoop 1.4.1-incubating-SNAPSHOT and Hadoop 0.20.205
>
> While I was doing an import, I got this error:
> Exception in thread "main" java.lang.IncompatibleClassChangeError:
> Found class org.apache.hadoop.mapreduce.JobContext, but interface was
> expected
>        at
> org.apache.sqoop.config.ConfigurationHelper.getJobNumMaps(ConfigurationHelper.java:
> 53)
>        at
> com.cloudera.sqoop.config.ConfigurationHelper.getJobNumMaps(ConfigurationHelper.java:
> 36)
>        at
> org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.getSplits(DataDrivenDBInputFormat.java:
> 121)
>        at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:
> 999)
>        at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:
> 1016)
>        at org.apache.hadoop.mapred.JobClient.access$700(JobClient.java:172)
>        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:934)
>        at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:887)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at javax.security.auth.Subject.doAs(Subject.java:396)
>        at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:
> 1059)
>        at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:
> 887)
>        at org.apache.hadoop.mapreduce.Job.submit(Job.java:465)
>        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:495)
>        at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:
> 119)
>        at
> org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:
> 179)
>        at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:
> 413)
>        at
> org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:
> 97)
>        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:380)
>        at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:453)
>        at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>        at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
>        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
>        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
>        at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
>        at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
>
> Any ideas?
>
> Thanks,
> Hanjie
>
> --
> NOTE: The mailing list sqoop-user@cloudera.org is deprecated in favor of Apache Sqoop
mailing list sqoop-user@incubator.apache.org. Please subscribe to it by sending an email to
incubator-sqoop-user-subscribe@apache.org.

Mime
View raw message