All jar packages on which the sqoop2-1.99.2-cdh4.5.0 depends

Source: Internet
Author: User
Tags hadoop ecosystem sqoop

Sqoop2-1.99.2-cdh4.5.0 encountered various NoClassDefFoundError exceptions during installation, such:

Exception sending context initialized event to listener instance of class org. apache. sqoop. server. ServerInitializer
Java. lang. NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap
At org. apache. Hadoop. conf. Configuration $ DeprecationContext. <init> (Configuration. java: 386)
At org. apache. hadoop. conf. Configuration. <linit> (Configuration. java: 426)
At org. apache. sqoop. submission. mapreduce. MapreduceSubmissionEngine. initialize (MapreduceSubmissionEngine. java: 78)
At org. apache. sqoop. framework. JobManager. initialize (JobManager. java: 215)
At org. apache. sqoop. core. SqoopServer. initialize (SqoopServer. java: 53)
At org. apache. sqoop. server. ServerInitializer. contextInitialized (ServerInitializer. java: 36)
At org. apache. catalina. core. StandardContext. listenerStart (StandardContext. java: 4206)
At org. apache. catalina. core. StandardContext. start (StandardContext. java: 4705)
At org. apache. catalina. core. ContainerBase. addChildInternal (ContainerBase. java: 799)
At org. apache. catalina. core. ContainerBase. addChild (ContainerBase. java: 779)
At org. apache. catalina. core. StandardHost. addChild (StandardHost. java: 601)
At org. apache. catalina. startup. HostConfig. deployWAR (HostConfig. java: 943)
At org. apache. catalina. startup. HostConfig. deployWARs (HostConfig. java: 778)
At org. apache. catalina. startup. HostConfig. deployApps (HostConfig. java: 504)
At org. apache. catalina. startup. HostConfig. start (HostConfig. java: 1317)
At org. apache. catalina. startup. HostConfig. lifecycleEvent (HostConfig. java: 324)
At org. apache. catalina. util. LifecycleSupport. fireLifecycleEvent (LifecycleSupport. java: 142)
At org. apache. catalina. core. ContainerBase. start (ContainerBase. java: 1065)
At org. apache. catalina. core. StandardHost. start (StandardHost. java: 840)
At org. apache. catalina. core. ContainerBase. start (ContainerBase. java: 1057)
At org. apache. catalina. core. StandardEngine. start (StandardEngine. java: 463)
At org. apache. catalina. core. StandardService. start (StandardService. java: 525)
At org. apache. catalina. core. StandardServer. start (StandardServer. java: 754)
At org. apache. catalina. startup. Catalina. start (Catalina. java: 595)
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: 616)
At org. apache. catalina. startup. Bootstrap. start (Bootstrap. java: 289)
At org. apache. catalina. startup. Bootstrap. main (Bootstrap. java: 414)
Caused by: java. lang. ClassNotFoundException: org. apache. commons. collections. map. UnmodifiableMap
At org. apache. catalina. loader. WebappClassLoader. loadClass (WebappClassLoader. java: 1680)
At org. apache. catalina. loader. WebappClassLoader. loadClass (WebappClassLoader. java: 1526)
... 30 more
2014-3-19 10:03:19 org. apache. catalina. core. StandardContext listenerStop
Severe: Exception sending context destroyed event to listener instance of class org. apache. sqoop. server. ServerInitializer
Java. lang. NullPointerException
At org. apache. sqoop. framework. JobManager. destroy (JobManager. java: 176)
At org. apache. sqoop. core. SqoopServer. destroy (SqoopServer. java: 36)
At org. apache. sqoop. server. ServerInitializer. contextDestroyed (ServerInitializer. java: 32)
At org. apache. catalina. core. StandardContext. listenerStop (StandardContext. java: 4245)
At org. apache. catalina. core. StandardContext. stop (StandardContext. java: 4886)
At org. apache. catalina. core. StandardContext. start (StandardContext. java: 4750)
At org. apache. catalina. core. ContainerBase. addChildInternal (ContainerBase. java: 799)
At org. apache. catalina. core. ContainerBase. addChild (ContainerBase. java: 779)
At org. apache. catalina. core. StandardHost. addChild (StandardHost. java: 601)
At org. apache. catalina. startup. HostConfig. deployWAR (HostConfig. java: 943)
At org. apache. catalina. startup. HostConfig. deployWARs (HostConfig. java: 778)
At org. apache. catalina. startup. HostConfig. deployApps (HostConfig. java: 504)
At org. apache. catalina. startup. HostConfig. start (HostConfig. java: 1317)
At org. apache. catalina. startup. HostConfig. lifecycleEvent (HostConfig. java: 324)
At org. apache. catalina. util. LifecycleSupport. fireLifecycleEvent (LifecycleSupport. java: 142)
At org. apache. catalina. core. ContainerBase. start (ContainerBase. java: 1065)
At org. apache. catalina. core. StandardHost. start (StandardHost. java: 840)
At org. apache. catalina. core. ContainerBase. start (ContainerBase. java: 1057)
At org. apache. catalina. core. StandardEngine. start (StandardEngine. java: 463)
At org. apache. catalina. core. StandardService. start (StandardService. java: 525)
At org. apache. catalina. core. StandardServer. start (StandardServer. java: 754)
At org. apache. catalina. startup. Catalina. start (Catalina. java: 595)
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: 616)
At org. apache. catalina. startup. Bootstrap. start (Bootstrap. java: 289)
At org. apache. catalina. startup. Bootstrap. main (Bootstrap. java: 414)
Solution:
Put the corresponding jar under server/webapps/sqoop/WEB-INF/lib

 

All sqoop2 dependent jars:

Avro-1.7.4.jar
Commons-cli-1.2.jar
Commons-configuration-1.6.jar
Commons-dbcp-1.4.jar
Commons-lang-2.5.jar
Commons-logging-1.1.1.jar
Commons-pool-1.5.4.jar
Derby-10.8.2.2.jar
Guava-11.0.2.jar
Hadoop-auth-2.0.0-cdh4.3.0.jar
Hadoop-common-2.0.0-cdh4.3.0.jar
* Hadoop-core-2.0.0-mr1-cdh4.3.0.jar *
Hadoop-hdfs-2.0.0-cdh4.3.0.jar
Hadoop-mapreduce-client-app-2.0.0-cdh4.3.0.jar
Hadoop-mapreduce-client-common-2.0.0-cdh4.3.0.jar
Hadoop-mapreduce-client-core-2.0.0-cdh4.3.0.jar
Hadoop-mapreduce-client-jobclient-2.0.0-cdh4.3.0.jar
Hadoop-yarn-api-2.0.0-cdh4.3.0.jar
Hadoop-yarn-common-2.0.0-cdh4.3.0.jar
Jackson-core-asl-1.8.8.jar
Jackson-mapper-asl-1.8.8.jar
Json-simple-1.1.jar
Log4j-1.2.16.jar
Mysql-connector-java-5.1.25-bin.jar
Protobuf-java-2.4.0a.jar
Slf4j-api-1.6.1.jar
Slf4j-log4j12-1.6.1.jar
Sqoop-common-1.99.2.jar
Sqoop-connector-generic-jdbc-1.99.2.jar
Sqoop-core-1.99.2.jar
Sqoop-execution-mapreduce-1.99.2-hadoop200.jar
Sqoop-repository-derby-1.99.2.jar
Sqoop-spi-1.99.2.jar

Sqoop-submission-mapreduce-1.99.2-hadoop200.jar

Sqoop details: click here
Sqoop: click here

Implement data import between Mysql, Oracle, and HDFS/Hbase through Sqoop

[Hadoop] Detailed description of Sqoop Installation Process

Use Sqoop to export data between MySQL and HDFS Systems

Hadoop Oozie learning notes Oozie does not support Sqoop Problem Solving

Hadoop ecosystem construction (hadoop hive hbase zookeeper oozie Sqoop)

Full history of Hadoop learning-use Sqoop to import MySQL Data to Hive

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.