sqoop启动出错, JDBCREPO_0009
版本:Sqoop1.99.5 ,Hadoop2.5.2
Exception in thread "PurgeThread" org.apache.sqoop.common.SqoopException: JDBCREPO_0009:Failed to finalize transaction at org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:115) at org.apache.sqoop.repository.JdbcRepository.doWithConnection(JdbcRepository.java:109) at org.apache.sqoop.repository.JdbcRepository.doWithConnection(JdbcRepository.java:61) at org.apache.sqoop.repository.JdbcRepository.purgeSubmissions(JdbcRepository.java:589) at org.apache.sqoop.driver.JobManager$PurgeThread.run(JobManager.java:648) Caused by: java.sql.SQLNonTransientConnectionException: No current connection. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source) at org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:334) at org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:334) at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:211) at org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:112) ... 4 more Caused by: ERROR 08003: No current connection. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 16 more
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
JDBC链接的话,直接使用官网预编译的sqoop版本就可以,需要的jdbc jar文件放置在lib下。配置好conf文件,就可以连接上的。我之前就是使用sqoop-1.99.3+hadoop-2.5.2+hive-1.2.1+mysql&postgresql 直接就打通了。
http://blog.csdn.net/huyangshu87/article/details/51372495
n那怎么解决的呢??
我也遇到了,目前还没有解决...
请问这个问题您最终如何解决的啊?
当然没连上
引用来自“_hadooper”的评论
Caused by: ERROR 08003: No current connection.连上了吗
Caused by: ERROR 08003: No current connection.连上了吗