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

Switch to Plain View
Sqoop >> mail # user >> Sqoop 2 Server 404


+
Kyle B 2013-05-02, 19:31
+
vasanth kumar 2013-05-02, 20:05
Copy link to this message
-
Re: Sqoop 2 Server 404
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
+
vasanth kumar 2013-05-02, 21:02
+
Kyle B 2013-05-02, 22:28