阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

编译Sqoop2错误解决

197次阅读
没有评论

共计 42264 个字符,预计需要花费 106 分钟才能阅读完成。

Sqoop2 的代码结构相对于 Sqoop 做了大幅度调整,其中编译方式也从 ant+maven 杂糅的方式变为依赖 maven3,今天将源代码下下来,放到 linux 测试机器 /export/build 下后,运行“mvn package -Pbinary -DHadoop.profile=200”命令,居然出现以下错误:

Downloaded: http://repo2.maven.org/maven2/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar (106 KB at 78.1 KB/sec)
[WARNING] Error injecting: org.apache.maven.plugins.site.DefaultMavenReportExecutor
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
 at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
 at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
 at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
 at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
 at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
 at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)
 at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)
 at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)
 at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)
 at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:118)
 at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
 at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
 at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)
 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
 … 89 more
[WARNING] Error injecting: org.apache.maven.plugins.site.SiteMojo
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
 at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
 at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
 at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
 at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
 at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
 at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)
 at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)
 at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)
 at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)
 at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:118)
 at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
 at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
 at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)
 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
 … 89 more
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Sqoop ……………………………………… SUCCESS [0.954s]
[INFO] Sqoop Common ……………………………….. SUCCESS [34.939s]
[INFO] Sqoop SPI ………………………………….. SUCCESS [0.307s]
[INFO] Sqoop Core …………………………………. SUCCESS [3.602s]
[INFO] Sqoop Repository ……………………………. SUCCESS [0.060s]
[INFO] Sqoop Derby Repository ………………………. SUCCESS [1:16.035s]
[INFO] Sqoop Execution Engines ……………………… SUCCESS [0.038s]
[INFO] Sqoop Mapreduce Execution Engine ……………… SUCCESS [48.675s]
[INFO] Sqoop Submission Engines …………………….. SUCCESS [0.034s]
[INFO] Sqoop Mapreduce Submission Engine …………….. SUCCESS [0.466s]
[INFO] Sqoop Connectors ……………………………. SUCCESS [0.029s]
[INFO] Sqoop Connector SDK …………………………. SUCCESS [0.149s]
[INFO] Sqoop Generic JDBC Connector …………………. SUCCESS [28.447s]
[INFO] Sqoop Server ……………………………….. SUCCESS [1.531s]
[INFO] Sqoop Client ……………………………….. SUCCESS [0.933s]
[INFO] Sqoop Shell ………………………………… SUCCESS [0.880s]
[INFO] Sqoop Documentation …………………………. FAILURE [38.448s]
[INFO] Sqoop Distribution ………………………….. SKIPPED
[INFO] Sqoop Integration Tests ……………………… SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 3:56.302s
[INFO] Finished at: Mon Oct 13 11:25:45 CST 2014
[INFO] Final Memory: 35M/275M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (packaging-documentation) on project sqoop-docs: Execution packaging-documentation of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-

3:site failed: A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site: org/sonatype/aether/graph/DependencyFilter

通过 Sqoop 实现 Mysql / Oracle 与 HDFS / Hbase 互导数据 http://www.linuxidc.com/Linux/2013-06/85817.htm

[Hadoop] Sqoop 安装过程详解 http://www.linuxidc.com/Linux/2013-05/84082.htm

用 Sqoop 进行 MySQL 和 HDFS 系统间的数据互导 http://www.linuxidc.com/Linux/2013-04/83447.htm

Hadoop Oozie 学习笔记 Oozie 不支持 Sqoop 问题解决 http://www.linuxidc.com/Linux/2012-08/67027.htm

Hadoop 生态系统搭建(hadoop hive hbase zookeeper oozie Sqoop)http://www.linuxidc.com/Linux/2012-03/55721.htm

Hadoop 学习全程记录——使用 Sqoop 将 MySQL 中数据导入到 Hive 中 http://www.linuxidc.com/Linux/2012-01/51993.htm

更多详情见请继续阅读下一页的精彩内容 :http://www.linuxidc.com/Linux/2014-10/107988p2.htm

通过网上搜索发现,原来需要修改 docs/ 模块下的 pom.xml,将其中依赖的 maven-site-plugin 插件版本进行替换,本身的版本已经过时了,替换为 3.3 的版本即可。

<plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.3</version>
</plugin>

如果使用 mvn clean install 编译时,还可可能碰到以下错误:

1、Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project sqoop-shell: Compilation failure

解决方式是加上额外参数:-Drat.numUnapprovedLicenses=100

2、[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 40.778s
[INFO] Finished at: Mon Oct 13 15:11:20 CST 2014
[INFO] Final Memory: 28M/599M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project sqoop-shell: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR]
[ERROR]
[ERROR] The system is out of resources.
[ERROR] Consult the following stack trace for details.
[ERROR] java.lang.OutOfMemoryError: PermGen space
[ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
[ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
[ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[ERROR] at org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:333)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:424)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:342)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:333)
[ERROR] at com.sun.tools.javac.Main.compile(Main.java:94)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:606)

解决方法是修改总控 pom.xml 中 jdk 编译版本与本机安装 jdk 版本保持一致:

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compile.source>1.7</maven.compile.source>
    <maven.compile.target>1.7</maven.compile.target>

    <commons-dbcp.version>1.4</commons-dbcp.version>
    <commons-lang.version>2.5</commons-lang.version> 

Sqoop 的详细介绍 :请点这里
Sqoop 的下载地址 :请点这里

Sqoop2 的代码结构相对于 Sqoop 做了大幅度调整,其中编译方式也从 ant+maven 杂糅的方式变为依赖 maven3,今天将源代码下下来,放到 linux 测试机器 /export/build 下后,运行“mvn package -Pbinary -DHadoop.profile=200”命令,居然出现以下错误:

Downloaded: http://repo2.maven.org/maven2/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar (106 KB at 78.1 KB/sec)
[WARNING] Error injecting: org.apache.maven.plugins.site.DefaultMavenReportExecutor
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
 at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
 at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
 at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
 at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
 at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
 at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)
 at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)
 at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)
 at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)
 at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:118)
 at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
 at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
 at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)
 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
 … 89 more
[WARNING] Error injecting: org.apache.maven.plugins.site.SiteMojo
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
 at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
 at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
 at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)
 at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)
 at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)
 at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)
 at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
 at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)
 at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)
 at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)
 at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)
 at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:118)
 at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
 at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
 at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
 at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
 at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
 at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
 at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
 at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
 at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
 at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
 at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
 at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
 at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
 at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)
 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.graph.DependencyFilter
 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
 … 89 more
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Sqoop ……………………………………… SUCCESS [0.954s]
[INFO] Sqoop Common ……………………………….. SUCCESS [34.939s]
[INFO] Sqoop SPI ………………………………….. SUCCESS [0.307s]
[INFO] Sqoop Core …………………………………. SUCCESS [3.602s]
[INFO] Sqoop Repository ……………………………. SUCCESS [0.060s]
[INFO] Sqoop Derby Repository ………………………. SUCCESS [1:16.035s]
[INFO] Sqoop Execution Engines ……………………… SUCCESS [0.038s]
[INFO] Sqoop Mapreduce Execution Engine ……………… SUCCESS [48.675s]
[INFO] Sqoop Submission Engines …………………….. SUCCESS [0.034s]
[INFO] Sqoop Mapreduce Submission Engine …………….. SUCCESS [0.466s]
[INFO] Sqoop Connectors ……………………………. SUCCESS [0.029s]
[INFO] Sqoop Connector SDK …………………………. SUCCESS [0.149s]
[INFO] Sqoop Generic JDBC Connector …………………. SUCCESS [28.447s]
[INFO] Sqoop Server ……………………………….. SUCCESS [1.531s]
[INFO] Sqoop Client ……………………………….. SUCCESS [0.933s]
[INFO] Sqoop Shell ………………………………… SUCCESS [0.880s]
[INFO] Sqoop Documentation …………………………. FAILURE [38.448s]
[INFO] Sqoop Distribution ………………………….. SKIPPED
[INFO] Sqoop Integration Tests ……………………… SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 3:56.302s
[INFO] Finished at: Mon Oct 13 11:25:45 CST 2014
[INFO] Final Memory: 35M/275M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (packaging-documentation) on project sqoop-docs: Execution packaging-documentation of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-

3:site failed: A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site: org/sonatype/aether/graph/DependencyFilter

通过 Sqoop 实现 Mysql / Oracle 与 HDFS / Hbase 互导数据 http://www.linuxidc.com/Linux/2013-06/85817.htm

[Hadoop] Sqoop 安装过程详解 http://www.linuxidc.com/Linux/2013-05/84082.htm

用 Sqoop 进行 MySQL 和 HDFS 系统间的数据互导 http://www.linuxidc.com/Linux/2013-04/83447.htm

Hadoop Oozie 学习笔记 Oozie 不支持 Sqoop 问题解决 http://www.linuxidc.com/Linux/2012-08/67027.htm

Hadoop 生态系统搭建(hadoop hive hbase zookeeper oozie Sqoop)http://www.linuxidc.com/Linux/2012-03/55721.htm

Hadoop 学习全程记录——使用 Sqoop 将 MySQL 中数据导入到 Hive 中 http://www.linuxidc.com/Linux/2012-01/51993.htm

更多详情见请继续阅读下一页的精彩内容 :http://www.linuxidc.com/Linux/2014-10/107988p2.htm

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-20发表,共计42264字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中