Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> sqoop2 server start error


Copy link to this message
-
Re: sqoop2 server start error
Hi,

Add below line in quotes into catalina.properties in sqoop2_home/server/conf
"org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES false"

On Wed, Jul 17, 2013 at 2:31 PM, ch huang <[EMAIL PROTECTED]> wrote:

> i use sqoop 1.99.2,and i find i can not start sqoop server ,here is log
> output,anyone can help?
>
> Jul 17, 2013 4:57:50 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/sqoop] created a ThreadLocal with key of
> type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7cd1a1ab]) and
> a value of type [org.apache.derby.iapi.services.context.ContextManager]
> (value [org.apache.derby.iapi.services.context.ContextManager@13cc0a7f])
> but failed to remove it when the web application was stopped. This is very
> likely to create a memory leak.
> log4j: log4j called after unloading, see
> http://logging.apache.org/log4j/1.2/faq.html#unload.
> java.lang.IllegalStateException: Class invariant violation
>         at
> org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)
>         at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
>         at org.apache.log4j.Logger.getLogger(Logger.java:117)
>         at
> org.apache.sqoop.connector.jdbc.GenericJdbcImportInitializer.<clinit>(GenericJdbcImportInitializer.java:39)
>         at sun.misc.Unsafe.ensureClassInitialized(Native Method)
>         at
> sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
>         at
> sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
>         at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
>         at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
>         at java.lang.reflect.Field.get(Field.java:358)
>         at
> org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2066)
>         at
> org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1929)
>         at
> org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1833)
>         at
> org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:740)
>         at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4920)
>         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:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Regards
Vasanth kumar RJ
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB