Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> Sqoop 1.99.2 + Cloud Era Hadoop 200 error


Copy link to this message
-
Re: Sqoop 1.99.2 + Cloud Era Hadoop 200 error
Hi there,

The server didn't start because of the following error:
SEVERE: Exception sending context initialized event to listener instance of
class org.apache.sqoop.server.ServerInitializer
java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
at
org.apache.sqoop.submission.mapreduce.MapreduceSubmissionEngine.initialize(MapreduceSubmissionEngine.java:81)
at
org.apache.sqoop.framework.FrameworkManager.initialize(FrameworkManager.java:240)
at org.apache.sqoop.core.SqoopServer.initialize(SqoopServer.java:47)
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:601)
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.hadoop.conf.Configuration
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
... 28 more

It looks like you have some missing jars. Is hadoop installed on your sqoop
server machine? If so, you may need to run /usr/lib/sqoop2/bin/addtowar.sh
to add the appropriate hadoop jars to the war file.

-Abe
On Tue, Jul 2, 2013 at 10:05 AM, Madhanmohan Savadamuthu <[EMAIL PROTECTED]
> wrote:

> I have setup Sqoop 1.99.2 as mentioned in sqoop.apache.org instruction.
> When I try to show version --all command, following error is coming.
>
> Sqoop 1.99.2 revision 3e31b7d3eefb3696d4970704364dea05a9ea2a59
>   Compiled by homeuser on Mon Apr 15 20:50:13 PDT 2013
> Exception has occurred during processing command
> Exception: com.sun.jersey.api.client.ClientHandlerException Message:
> java.net.ConnectException: Connection refused
>
> all log files are attached for reference.
>
>
>
> --
> Thanks and Regards,
> Madhanmohan S
>