sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Xu" <qian.a...@intel.com>
Subject Re: Review Request 35288: verify successful but has error
Date Thu, 11 Jun 2015 02:30:22 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35288/#review87512
-----------------------------------------------------------



tools/src/main/java/org/apache/sqoop/tools/tool/VerifyTool.java
<https://reviews.apache.org/r/35288/#comment139860>

    Shall we check server startup status instead of waiting 5 second? If the environment is
extremely busy, 5 second could be also too short.


- Qian Xu


On June 10, 2015, 4:36 p.m., Dian Fu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35288/
> -----------------------------------------------------------
> 
> (Updated June 10, 2015, 4:36 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2396
>     https://issues.apache.org/jira/browse/SQOOP-2396
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> -------
> 
> 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.SQLExceptionFactory40.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(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: java.sql.SQLException: No current connection.
> at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
> ... 15 more
> Verification was successful.
> Tool class org.apache.sqoop.tools.tool.VerifyTool has finished correctly.
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/sqoop/driver/JobManager.java e8ca17c 
>   tools/src/main/java/org/apache/sqoop/tools/tool/VerifyTool.java 832c4f2 
> 
> Diff: https://reviews.apache.org/r/35288/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dian Fu
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message