Kettle bug收集

20160919(未确定):

加载表的使用"Use batch update for inserts"会引致奇怪的转换失败?

 

出错日志:

- linenr 450000
- linenr 500000
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Because of an error, this step can't continue:
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : 错误被检测到!
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
- Error performing rollback on connection
- Invalid state, the Connection object is closed.
-
- at org.pentaho.di.core.database.Database.rollback(Database.java:867)
- at org.pentaho.di.core.database.Database.rollback(Database.java:845)
- at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:376)
- at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:118)
- at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
- at java.lang.Thread.run(Thread.java:722)
- Caused by: java.sql.SQLException: Invalid state, the Connection object is closed.
- at net.sourceforge.jtds.jdbc.ConnectionJDBC2.checkOpen(ConnectionJDBC2.java:1699)
- at net.sourceforge.jtds.jdbc.ConnectionJDBC2.rollback(ConnectionJDBC2.java:2100)
- at org.pentaho.di.core.database.Database.rollback(Database.java:858)
- ... 5 more
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected batch update error committing the database connection.
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException:
- Error updating batch
- Invalid state, the Connection object is closed.
-
- at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1386)
- at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1378)
- at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:575)
- at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96)
- at java.lang.Thread.run(Thread.java:722)
- Caused by: java.sql.SQLException: Invalid state, the Connection object is closed.
- at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:452)
- at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:727)
- at net.sourceforge.jtds.jdbc.JtdsStatement.initialize(JtdsStatement.java:645)
- at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:908)
- at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1362)
- ... 3 more
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error rolling back the database connection.
- ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
- Error performing rollback on connection
- Invalid state, the Connection object is closed.
-
- at org.pentaho.di.core.database.Database.rollback(Database.java:867)
- at org.pentaho.di.core.database.Database.rollback(Database.java:845)
- at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:610)
- at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96)
- at java.lang.Thread.run(Thread.java:722)
- Caused by: java.sql.SQLException: Invalid state, the Connection object is closed.
- at net.sourceforge.jtds.jdbc.ConnectionJDBC2.checkOpen(ConnectionJDBC2.java:1699)
- at net.sourceforge.jtds.jdbc.ConnectionJDBC2.rollback(ConnectionJDBC2.java:2100)
- at org.pentaho.di.core.database.Database.rollback(Database.java:858)
- ... 4 more

 

网上资料:

http://forums.pentaho.com/showthread.php?90856-Invalid-state-the-Connection-object-is-closed

这贴说是数据库bug, 但个人认为不太可能

http://forums.pentaho.com/showthread.php?72518-Batch-Update-amp-Data-Type

官方论坛的帖子, 无解决方案, 有回复说建议不勾选batch update

http://stackoverflow.com/questions/39553701/strange-error-producing-by-kettle

我在stackoverflow的帖子, 未有回复

 

转载于:https://www.cnblogs.com/jc53/p/5884071.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值