sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle B <kbi...@gmail.com>
Subject Re: Sqoop 2 Server 404
Date Thu, 02 May 2013 20:38:11 GMT
Following are the sqoop & catalina logs. They're a bit lengthy. The only
thing that stands out to me is "SEVERE: Exception sending context
initialized event to listener instance of class
org.apache.sqoop.server.ServerInitializer. java.lang.NoClassDefFoundError:
org/apache/hadoop/conf/Configuration". However, I did specify the
-hadoop-auto flag when running addtowar.sh, which seems to have grabbed the
war files and included them in sqoop.war. Maybe it didn't grab all of the
ones it needed?

-------------------------------------------------------------------------------------
- @LOGDIR@/sqoop.log -
2013-05-02 13:28:40,358 INFO  repository.RepositoryManager
[org.apache.sqoop.repository.RepositoryManager.initialize(RepositoryManager.java:78)]
Setting system properties: {derby.stream.error.file=@LOGDIR@/derbyrepo.log}
2013-05-02 13:28:40,369 INFO  repository.JdbcRepositoryContext
[org.apache.sqoop.repository.JdbcRepositoryContext.<init>(JdbcRepositoryContext.java:159)]
[repo-ctx]
handler=org.apache.sqoop.repository.derby.DerbyRepositoryHandler,
create-schema=true, conn-url=jdbc:derby:@BASEDIR@/repository/db;create=true,
driver=org.apache.derby.jdbc.EmbeddedDriver, user=sa, password=*****,
jdbc-props={}, tx-isolation=READ_COMMITTED, max-conn=10
2013-05-02 13:28:40,649 INFO  derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.initialize(DerbyRepositoryHandler.java:149)]
DerbyRepositoryHandler initialized.
2013-05-02 13:28:41,335 DEBUG derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.schemaExists(DerbyRepositoryHandler.java:229)]
SQOOP schema ID: 341cc09e-013e-66a0-568d-00002745c360
2013-05-02 13:28:41,338 INFO  repository.JdbcRepositoryProvider
[org.apache.sqoop.repository.JdbcRepositoryProvider.initializeRepositoryHandler(JdbcRepositoryProvider.java:168)]
JdbcRepositoryProvider initialized
2013-05-02 13:28:41,338 INFO  repository.JdbcRepositoryProvider
[org.apache.sqoop.repository.JdbcRepositoryProvider.initialize(JdbcRepositoryProvider.java:68)]
JdbcRepository initialized.
2013-05-02 13:28:41,338 INFO  repository.RepositoryManager
[org.apache.sqoop.repository.RepositoryManager.initialize(RepositoryManager.java:114)]
Repository initialized: OK
2013-05-02 13:28:41,340 INFO  connector.ConnectorManager
[org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:162)]
Connector config urls:
[jar:file:/home/kyle/sqoop-1.99.2-bin-hadoop200/server/webapps/sqoop/WEB-INF/lib/sqoop-connector-generic-jdbc-1.99.2.jar!/sqoopconnector.properties]
2013-05-02 13:28:41,342 DEBUG connector.ConnectorHandler
[org.apache.sqoop.connector.ConnectorHandler.<init>(ConnectorHandler.java:58)]
Connector configuration:
{org.apache.sqoop.connector.class=org.apache.sqoop.connector.jdbc.GenericJdbcConnector,
org.apache.sqoop.connector.name=generic-jdbc-connector}
2013-05-02 13:28:41,389 INFO  connector.ConnectorHandler
[org.apache.sqoop.connector.ConnectorHandler.<init>(ConnectorHandler.java:113)]
Connector [org.apache.sqoop.connector.jdbc.GenericJdbcConnector]
initialized.
2013-05-02 13:28:41,391 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.begin(JdbcRepositoryTransaction.java:73)]
Tx count-begin: 1, rollback: false
2013-05-02 13:28:41,392 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.begin(JdbcRepositoryTransaction.java:73)]
Tx count-begin: 2, rollback: false
2013-05-02 13:28:41,392 DEBUG derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.findConnector(DerbyRepositoryHandler.java:261)]
Looking up connector: generic-jdbc-connector
2013-05-02 13:28:41,507 DEBUG derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.findConnector(DerbyRepositoryHandler.java:307)]
Looking up connector: generic-jdbc-connector, found:
connector-generic-jdbc-connector:1:org.apache.sqoop.connector.jdbc.GenericJdbcConnector,
Connection: Forms:
form-connection:1:[input-connection.jdbcDriver:1:STRING:128,
input-connection.connectionString:2:STRING:128,
input-connection.username:3:STRING:40,
input-connection.password:4:STRING:40,
input-connection.jdbcProperties:5:MAP]Job type: EXPORTForms:
form-table:2:[input-table.schemaName:6:STRING:50,
input-table.tableName:7:STRING:50, input-table.sql:8:STRING:50,
input-table.columns:9:STRING:50]Job type: IMPORTForms:
form-table:3:[input-table.schemaName:10:STRING:50,
input-table.tableName:11:STRING:50, input-table.sql:12:STRING:50,
input-table.columns:13:STRING:50, input-table.partitionColumn:14:STRING:50,
input-table.boundaryQuery:15:STRING:50]
2013-05-02 13:28:41,507 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.commit(JdbcRepositoryTransaction.java:84)]
Tx count-commit: 2, rollback: false
2013-05-02 13:28:41,507 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:103)]
Tx count-close: 1, rollback: false
2013-05-02 13:28:41,509 DEBUG connector.ConnectorManager
[org.apache.sqoop.connector.ConnectorManager.registerConnectors(ConnectorManager.java:211)]
Registered connector:
connector-generic-jdbc-connector:1:org.apache.sqoop.connector.jdbc.GenericJdbcConnector,
Connection: Forms:
form-connection:1:[input-connection.jdbcDriver:1:STRING:128,
input-connection.connectionString:2:STRING:128,
input-connection.username:3:STRING:40,
input-connection.password:4:STRING:40,
input-connection.jdbcProperties:5:MAP]Job type: EXPORTForms:
form-table:2:[input-table.schemaName:6:STRING:50,
input-table.tableName:7:STRING:50, input-table.sql:8:STRING:50,
input-table.columns:9:STRING:50]Job type: IMPORTForms:
form-table:3:[input-table.schemaName:10:STRING:50,
input-table.tableName:11:STRING:50, input-table.sql:12:STRING:50,
input-table.columns:13:STRING:50, input-table.partitionColumn:14:STRING:50,
input-table.boundaryQuery:15:STRING:50]
2013-05-02 13:28:41,509 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.commit(JdbcRepositoryTransaction.java:84)]
Tx count-commit: 1, rollback: false
2013-05-02 13:28:41,509 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:103)]
Tx count-close: 0, rollback: false
2013-05-02 13:28:41,509 INFO  repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)]
Attempting transaction commit
2013-05-02 13:28:41,509 INFO  connector.ConnectorManager
[org.apache.sqoop.connector.ConnectorManager.initialize(ConnectorManager.java:184)]
Connectors loaded:
{generic-jdbc-connector={generic-jdbc-connector:org.apache.sqoop.connector.jdbc.GenericJdbcConnector:jar:file:/home/kyle/sqoop-1.99.2-bin-hadoop200/server/webapps/sqoop/WEB-INF/lib/sqoop-connector-generic-jdbc-1.99.2.jar!/sqoopconnector.properties}}
2013-05-02 13:28:41,521 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.begin(JdbcRepositoryTransaction.java:73)]
Tx count-begin: 1, rollback: false
2013-05-02 13:28:41,521 DEBUG derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.findFramework(DerbyRepositoryHandler.java:355)]
Looking up framework metadata
2013-05-02 13:28:41,536 DEBUG derby.DerbyRepositoryHandler
[org.apache.sqoop.repository.derby.DerbyRepositoryHandler.findFramework(DerbyRepositoryHandler.java:401)]
Looking up framework metadta found: framework-1:, Connection: Forms:
form-security:4:[input-security.maxConnections:16:INTEGER]Job type:
EXPORTForms:
form-input:5:[input-input.inputDirectory:17:STRING:255]form-throttling:6:[input-throttling.extractors:18:INTEGER,
input-throttling.loaders:19:INTEGER]Job type: IMPORTForms:
form-output:7:[input-output.storageType:20:ENUM:HDFS,
input-output.outputFormat:21:ENUM:TEXT_FILE,SEQUENCE_FILE,
input-output.outputDirectory:22:STRING:255]form-throttling:8:[input-throttling.extractors:23:INTEGER,
input-throttling.loaders:24:INTEGER]
2013-05-02 13:28:41,536 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.commit(JdbcRepositoryTransaction.java:84)]
Tx count-commit: 1, rollback: false
2013-05-02 13:28:41,537 DEBUG repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:103)]
Tx count-close: 0, rollback: false
2013-05-02 13:28:41,537 INFO  repository.JdbcRepositoryTransaction
[org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)]
Attempting transaction commit
2013-05-02 13:28:41,540 INFO  mapreduce.MapreduceSubmissionEngine
[org.apache.sqoop.submission.mapreduce.MapreduceSubmissionEngine.initialize(MapreduceSubmissionEngine.java:78)]
Initializing Map-reduce Submission Engine
2013-05-02 13:28:41,543 INFO  core.SqoopServer
[org.apache.sqoop.core.SqoopServer.destroy(SqoopServer.java:33)] Shutting
down Sqoop server


- server/logs/catalina.out -
May 2, 2013 1:28:38 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
May 2, 2013 1:28:38 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jre1.6.0_31/lib/amd64/server:/usr/java/jre1.6.0_31/lib/amd64:/usr/java/jre1.6.0_31/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 2, 2013 1:28:40 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 461 ms
May 2, 2013 1:28:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 2, 2013 1:28:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
May 2, 2013 1:28:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sqoop.war
log4j:WARN No appenders could be found for logger
(org.apache.sqoop.core.SqoopServer).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
log4j: Parsing for [root] with value=[WARN, file].
log4j: Level token is [WARN].
log4j: Category root set to WARN
log4j: Parsing appender named "file".
log4j: Parsing layout options for "file".
log4j: Setting property [conversionPattern] to [%d{ISO8601} %-5p %c{2} [%l]
%m%n].
log4j: End of parsing for "file".
log4j: Setting property [file] to [@LOGDIR@/sqoop.log].
log4j: Setting property [maxBackupIndex] to [5].
log4j: Setting property [maxFileSize] to [25MB].
log4j: setFile called: @LOGDIR@/sqoop.log, true
log4j: setFile ended
log4j: Parsed "file" options.
log4j: Parsing for [org.apache.sqoop] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.apache.sqoop set to DEBUG
log4j: Handling log4j.additivity.org.apache.sqoop=[null]
log4j: Parsing for [org.apache.derby] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category org.apache.derby set to INFO
log4j: Handling log4j.additivity.org.apache.derby=[null]
log4j: Finished configuring.
May 2, 2013 1:28:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 2, 2013 1:28:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sqoop] startup failed due to previous errors
May 2, 2013 1:28:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/sqoop] registered the JDBC driver
[org.apache.derby.jdbc.AutoloadedDriver40] but failed to unregister it when
the web application was stopped. To prevent a memory leak, the JDBC Driver
has been forcibly unregistered.
May 2, 2013 1:28:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/sqoop] appears to have started a thread named
[sqoop-config-file-poller] but has failed to stop it. This is very likely
to create a memory leak.
May 2, 2013 1:28:41 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@35ad0839]) and a
value of type [org.apache.derby.iapi.services.context.ContextManager]
(value [org.apache.derby.iapi.services.context.ContextManager@580754fc])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
May 2, 2013 1:28:41 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@35ad0839]) and a
value of type [org.apache.derby.iapi.services.context.ContextManager]
(value [org.apache.derby.iapi.services.context.ContextManager@ec0a9f9]) 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(Unknown
Source)
        at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
        at java.lang.reflect.Field.get(Unknown Source)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
May 2, 2013 1:28:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
May 2, 2013 1:28:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1709 ms


- server/logs/catalina.2013-05-02.log -
May 2, 2013 1:28:37 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:38 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
May 2, 2013 1:28:38 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jre1.6.0_31/lib/amd64/server:/usr/java/jre1.6.0_31/lib/amd64:/usr/java/jre1.6.0_31/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 2, 2013 1:28:40 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 461 ms
May 2, 2013 1:28:40 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 2, 2013 1:28:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
May 2, 2013 1:28:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sqoop.war
May 2, 2013 1:28:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 2, 2013 1:28:41 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sqoop] startup failed due to previous errors
May 2, 2013 1:28:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/sqoop] registered the JDBC driver
[org.apache.derby.jdbc.AutoloadedDriver40] but failed to unregister it when
the web application was stopped. To prevent a memory leak, the JDBC Driver
has been forcibly unregistered.
May 2, 2013 1:28:41 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/sqoop] appears to have started a thread named
[sqoop-config-file-poller] but has failed to stop it. This is very likely
to create a memory leak.
May 2, 2013 1:28:41 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@35ad0839]) and a
value of type [org.apache.derby.iapi.services.context.ContextManager]
(value [org.apache.derby.iapi.services.context.ContextManager@580754fc])
but failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
May 2, 2013 1:28:41 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@35ad0839]) and a
value of type [org.apache.derby.iapi.services.context.ContextManager]
(value [org.apache.derby.iapi.services.context.ContextManager@ec0a9f9]) but
failed to remove it when the web application was stopped. This is very
likely to create a memory leak.
May 2, 2013 1:28:41 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
May 2, 2013 1:28:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-12000
May 2, 2013 1:28:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1709 ms


- server/logs/localhost.2013-05-02.log -
May 2, 2013 1:28:41 PM org.apache.catalina.core.StandardContext
listenerStart
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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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
May 2, 2013 1:28:41 PM 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.FrameworkManager.destroy(FrameworkManager.java:290)
        at org.apache.sqoop.core.SqoopServer.destroy(SqoopServer.java:34)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

-------------------------------------------------------------------------------------

Thanks,

-Kyle


On Thu, May 2, 2013 at 1:05 PM, vasanth kumar <rj.vasanthkumar@gmail.com>wrote:

> Hi Kyle,
>
> Please check the sqoop 2 server logs in sqoop2_home/server/log/ path. Find
> exception thrown and share.
>
> Thanks
>
>
> On Fri, May 3, 2013 at 1:01 AM, Kyle B <kbinaz@gmail.com> wrote:
>
>> Hello,
>>
>> I just downloaded the new Sqoop 1.99.2
>> (sqoop-1.99.2-bin-hadoop200.tar.gz). I then followed the installation
>> instructions at http://sqoop.apache.org/docs/1.99.2/Installation.html ,
>> but when i start the sqoop 2 server, i get a 404 HTTP code at
>> http://127.0.0.1:12000/sqoop/version .
>>
>> I think it's because some of the hadoop libraries aren't being loaded
>> properly. But when I ran the addtowar.sh script, I used -hadoop-auto, and I
>> am running hadoop 2 in the default /usr/lib location. It also showed the
>> correct path on the addtowar output.
>>
>> I saw a similar post at
>> http://mail-archives.apache.org/mod_mbox/sqoop-user/201303.mbox/%3CCAFpXos57wkNuAo4xq2VZPGrPTdnS%2BBLun3fDbFeGNUriwZ2mGw%40mail.gmail.com%3E,
but this seems to be a similar problem, but using CDH. I am running a
>> stock installation.
>>
>> Does anyone know why a stock install would be showing 404 Not Found on
>> the /sqoop/version URI? I'm sure I'm just doing something wrong.
>>
>> Thanks,
>>
>> -Kyle
>>
>
>
>
> --
> Regards
> Vasanth kumar RJ
>

Mime
View raw message