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的帖子, 未有回复

Kettle bug收集的更多相关文章

  1. IE6对CSS支持Bug收集

    1.IE6双外边距 在IE6下,如果对元素设置了浮动,同时又设置了margin-left或者margin-right,margin值会加倍. 例如,设置margin-left:10px在IE6下会显示 ...

  2. angularjs使用BUG收集和解决办法

    此文章涉及到时1.X的版本.请注意! 1.关于checkbox和bootstrap不能选中BUG 在使用angularjs的时候,有个比较明显的bug ng-disabled无效的情况 这里是一种情况 ...

  3. border-radius bug 收集

    border-radius我相信对于老一辈的前端们有着特殊的感情,在经历了没有圆角的蛮荒时代,到如今 CSS3 遍地开花,我们还是很幸福的. 然而即使到了三星大脸流行时代,border-radius在 ...

  4. ie6 bug 收集

    1.IE6中奇数宽高的BUG IE6下查看,变成了right:1px的效果了: IE6还有奇数宽高的bug,解决方案就是将外部相对定位的div宽度改成偶数.高度也是一样的查看源码: CSS代码: #o ...

  5. Xcode运行的错误bug收集

    libopencore-amrnb.a(wrapper.o)' does not contain bitcode. You must rebuild it with bitcode enabled ( ...

  6. 经典好文:android和iOS平台的崩溃捕获和收集

    通过崩溃捕获和收集,可以收集到已发布应用(游戏)的异常,以便开发人员发现和修改bug,对于提高软件质量有着极大的帮助.本文介绍了iOS和android平台下崩溃捕获和收集的原理及步骤,不过如果是个人开 ...

  7. Laya for H5 之Bug追踪

    Laya For H5之Bug追踪 H5游戏一旦上线后,如何跟踪用户的崩溃日志呢?现在有很多第三方的工具,比如fundebug,其sdk接入简单,只需寥寥几行代码就可以追踪h5游戏的崩溃日志,bug日 ...

  8. 推荐四款 Bug 管理系统,最适合你的才是最好的!

    转载自:https://www.jianshu.com/p/e7d3121eaaec   在这个移动互联网的时代,每天都会涌入大量新的 App,想要留住你的用户,必须时刻保持产品创新与系统的稳定.对于 ...

  9. Android面试题收集

    Android是一种基于Linux的自由及开放源码的操作系统,主要使用于移动设备.如智能手机和平板电脑.由Google公司和开放手机联盟领导及开发.这里会不断收集和更新Android基础相关的面试题, ...

随机推荐

  1. SP1825 FTOUR2 - Free tour II 点分治+启发式合并+未调完

    题意翻译 给定一棵n个点的树,树上有m个黑点,求出一条路径,使得这条路径经过的黑点数小于等于k,且路径长度最大 Code: #include <bits/stdc++.h> using n ...

  2. BZOJ 5466: [Noip2018]保卫王国 动态DP

    Code: // luogu-judger-enable-o2 #include<bits/stdc++.h> #define ll long long #define lson (now ...

  3. hdu 3001(三进制状压)

    题目 解法 看到这道题,我们就会想到旅行商问题.但是这里每一个点可以经过最多两次,所以我们用三进制表示就好了. 代码 #include <iostream> #include <cs ...

  4. Intro.js 分步向导插件使用方法

    简介 为您的网站和项目提供一步一步的.更好的介绍 Intro.js 目前兼容 Firefox.Chrome 和 IE8,不兼容 IE6 和 IE7,后续版本将会提供更好的兼容. 在线演示及下载 在线演 ...

  5. (18)使用模板(thymeleaf-freemarker)【从零开始学Spring Boot】

    整体步骤: (1)            在pom.xml中引入thymeleaf; (2)            如何关闭thymeleaf缓存 (3)            编写模板文件.html ...

  6. POJ 1985

    求一棵树内最远的两点,DFS,顺便记录以某节点为根内最远的两点的距离,返回最远点的距离.其实是DP. #include <cstdio> #include <iostream> ...

  7. [React Native] Target both iPhone and iPad with React Native

    By default, React Native only targets iPhone - so if you run on an iPad, it will show up as a scaled ...

  8. structs实现三种action的方法

    第一种:一般类,带有public String execute()方法. 另外一种:继承LoginActionInterface implements Action接口的类. 第三种:继承LoginA ...

  9. sql格式化日期

    SELECT CONVERT(date, GETDATE()) ---- SELECT CONVERT(varchar(), GETDATE(), ) ----

  10. 利用Ajax调用controller方法并传递参数

    一.背景由于近期工作需要将人脸识别功能与选课系统结合,但是对前端知识了解的很少,只能边做边学了,因此在这边把遇到的一些坑说明一下,希望能帮助到像我一样的初学者 二.具体内容这里采用框架为MVC,如果想 ...