Kettle 报错:Communications link failure during commit(). Transaction resolution unknown.

记录Kettle 报错:Communications link failure during commit(). Transaction resolution unknown.

错误信息:

2019/08/12 13:09:38 - 更新错误信息 2.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Unable to commit connection(s) :org.pentaho.di.core.exception.KettleDatabaseException: 
2019/08/12 13:09:38 - 更新错误信息 2.0 - Error comitting connection
2019/08/12 13:09:38 - 更新错误信息 2.0 - Communications link failure during commit(). Transaction resolution unknown.
2019/08/12 13:09:38 - 更新临时表 2.0 - 完成处理 (I=5577, O=0, R=5577, W=5577, U=5577, E=0)
2019/08/12 13:09:38 - 更新错误信息 2.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1)
2019/08/12 13:09:38 - 部门信息同步2 - 转换被检测
2019/08/12 13:09:38 - 部门信息同步2 - 转换正在杀死其他步骤!
2019/08/12 13:09:38 - Switch / Case.0 - 完成处理 (I=0, O=0, R=5576, W=0, U=0, E=0)
2019/08/12 13:09:38 - 999_更新临时表.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Unable to commit connection(s) :org.pentaho.di.core.exception.KettleDatabaseException: 
2019/08/12 13:09:38 - 999_更新临时表.0 - Error comitting connection
2019/08/12 13:09:38 - 999_更新临时表.0 - Communications link failure during commit(). Transaction resolution unknown.
2019/08/12 13:09:38 - 999_更新临时表.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1)
2019/08/12 13:09:38 - 排序合并.0 - 完成处理 (I=0, O=0, R=5577, W=5576, U=0, E=0)
2019/08/12 13:09:38 - 部门信息同步2 - 转换被检测
2019/08/12 13:09:38 - 部门信息同步2 - 转换正在杀死其他步骤!
2019/08/12 13:09:39 - 部门信息同步2 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : 错误被检测到!
2019/08/12 13:09:39 - Spoon - 转换完成!!
2019/08/12 13:09:39 - 部门信息同步2 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : 错误被检测到!
2019/08/12 13:09:39 - 部门信息同步2 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : 错误被检测到!

其实是数据库问题,数据库执行sql :SHOW VARIABLES like '%timeout%',查看数据库设置的超时时间,执行

SET GLOBAL interactive_timeout = 288000;

SET GLOBAL wait_timeout = 288000;

把数据库的这两个超时时间设大就好了。

你可能感兴趣的:(kettle)