kettle连接oracle 11g 报错 IO Error: Connection reset

报错信息如下:
Error occurred while trying to connect to the database
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
IO Error: Connection reset
ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Error initializing step [CREWS
IDE_SOFL_T]

我的kettle版本是7.0 oracle是11g
这个问题困扰我一个月了 求大神指导 网上找了好多解决办法都不行

2个回答

我猜测:可能是因为kettle目录下lib里面的ojdbc.jar包版本与当前链接的Oracle版本对不上,试试更换ojdbc*.jar

wangzisongxfg
悟净__ 回复Waterruthless: 什么问题,怎么不说清楚呢。。
10 个月之前 回复
wangzisongxfg
悟净__ 回复zhyaozy: 怎么解决的?
10 个月之前 回复
dewayweiwei
Atlas_oyc 回复Waterruthless: 请问是如何解决的,我最近也碰到这个问题,求教,QQ345853659
2 年多之前 回复
zhyaozy
zhyaozy 回复Waterruthless: 请问jar包是什么版本啊?我用的是ojdbc6换成5还是一样的reset啊
2 年多之前 回复
fzf555
fzf555 回复Waterruthless: 兄台,jar包用的几版本的?
2 年多之前 回复
Waterruthless
Waterruthless 确实是jar包的问题 谢谢!
接近 3 年之前 回复
Waterruthless
Waterruthless 嗯 有可能是这个问题 我去试试 谢谢!最近比较忙没及时回复 不好意思
接近 3 年之前 回复

在kitchen.sh文件的最后一行中的Java 命令行中增加参数:-Djava.security.egd=file:/dev/../dev/urandom 试试

Waterruthless
Waterruthless 最近比较忙没及时回复 不好意思
接近 3 年之前 回复
Waterruthless
Waterruthless 这种方法我试过 解决不了问题 谢谢了
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
kettle7.1抽取oracle11gR2 提示错误 Io exception: Connection reset
``` 2019/06/11 18:18:19 - 表输入.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : An error occurred, processing will be stopped: 2019/06/11 18:18:19 - 表输入.0 - Error occurred while trying to connect to the database 2019/06/11 18:18:19 - 表输入.0 - 2019/06/11 18:18:19 - 表输入.0 - Error connecting to database: (using class oracle.jdbc.driver.OracleDriver) 2019/06/11 18:18:19 - 表输入.0 - Io exception: Connection reset 2019/06/11 18:18:19 - 表输入.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Error initializing step [表输入] 2019/06/11 18:18:19 - tr_ibs_aitrp101 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Step [表输入.0] failed to initialize! 2019/06/11 18:18:19 - 表输入.0 - Finished reading query, closing connection. 2019/06/11 18:18:19 - 获取会计日.0 - Finished reading query, closing connection. 2019/06/11 18:18:19 - 执行SQL脚本.0 - Finished reading query, closing connection. Unable to prepare and initialize this transformation ``` 服务器centos7.6 ojdbc6.jar 试过spoon.sh添加-Djava.security.egd=file:/dev/./urandom没有生效
kettle 连接mysql 报错Unable to load authentication plugin 'caching_sha2_password'.如何解决?
我用的是mysql8.0 连接数据库报错 如何连接 误连接数据库 [test] : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) Unable to load authentication plugin 'caching_sha2_password'. org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) Unable to load authentication plugin 'caching_sha2_password'. at org.pentaho.di.core.database.Database.normalConnect(Database.java:472) at org.pentaho.di.core.database.Database.connect(Database.java:370) at org.pentaho.di.core.database.Database.connect(Database.java:341) at org.pentaho.di.core.database.Database.connect(Database.java:331) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:83) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestResults(DatabaseFactory.java:112) at org.pentaho.di.core.database.DatabaseMeta.testConnectionSuccess(DatabaseMeta.java:2811) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:621) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:43) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:137) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:80) at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:47) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:116) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:61) at org.pentaho.di.ui.trans.step.BaseStepDialog.showDbDialogUnlessCancelledOrValid(BaseStepDialog.java:808) at org.pentaho.di.ui.trans.step.BaseStepDialog$EditConnectionListener.widgetSelected(BaseStepDialog.java:1515) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.tableinput.TableInputDialog.open(TableInputDialog.java:436) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:120) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8662) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3293) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:785) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1381) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7817) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9179) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:707) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class org.gjt.mm.mysql.Driver) Unable to load authentication plugin 'caching_sha2_password'. at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:583) at org.pentaho.di.core.database.Database.normalConnect(Database.java:456) ... 56 more Caused by: java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:923) at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1715) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1244) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2412) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2445) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2230) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:208) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:567) ... 57 more 主机名 : localhost 端口 : 3306 数据库名:test
求助:kettle连接cdh510-hbase报错问题
最近在用hbase与oracle的数据搬运工作,之前一直用sqoop,最近用kettle在做这个事情,在windows,os环境测试一切正常,包括客户端直接跑Job,和生成ktr脚本去跑,都没问题,但是我把生成的.ktr文件拿到ubuntu跑,就报错 org.pentaho.di.core.exception.KettleException: Unable to obtain a connection to HBase: null 如下图 ![图片说明](https://img-ask.csdn.net/upload/201707/12/1499870023_502959.png)
KETTLE SQLSERVER到ORACLE 数据迁移问题 IMAGE类型转BLOB
最近需要从SQLSERVER中向ORACLE中做数据迁移,遇到sqlserver中字段类型为image,向oracle中转化为blob 类型,增加了字段选择,不知道怎么操作,老是报错,求解,错误信息如下: 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unexpected error 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : org.pentaho.di.core.exception.KettleDatabaseException: 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Couldn't get row from result set 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unable to get value 'String(9999999)<binary-string>' from database resultset, index 12 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 不支持的特性 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2824) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2796) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2770) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.steps.tableinput.TableInput.doQuery(TableInput.java:257) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:143) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at java.lang.Thread.run(Thread.java:722) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Caused by: org.pentaho.di.core.exception.KettleDatabaseException: 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unable to get value 'String(9999999)<binary-string>' from database resultset, index 12 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 不支持的特性 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.BaseDatabaseMeta.getValueFromResultSet(BaseDatabaseMeta.java:1900) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.DatabaseMeta.getValueFromResultSet(DatabaseMeta.java:2613) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2816) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : ... 6 more 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Caused by: java.sql.SQLException: 不支持的特性 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:499) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.ClobAccessor.getBytes(ClobAccessor.java:279) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:708) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.BaseDatabaseMeta.getValueFromResultSet(BaseDatabaseMeta.java:1868) 2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : ... 8 more 2013/11/09 15:16:34 - 接收方数据库.0 - Finished reading query, closing connection. 2013/11/09 15:16:34 - 接收方数据库.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1 2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - CY_HD_YCCYFZSQB 2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - CY_HD_YCCYFZSQB 2013/11/09 15:16:34 - 源数据库.0 - Finished reading query, closing connection. 2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unexpected error closing query : org.pentaho.di.core.exception.KettleDatabaseException: 2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Couldn't close query: resultset or prepared statements 2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Cancel has been invoked on this Statement. 2013/11/09 15:16:34 - 源数据库.0 - 完成处理 (I=2, O=0, R=0, W=0, U=0, E=1 2013/11/09 15:16:34 - Spoon - 转换完成!! 2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 错误被检测到! 2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 错误被检测到!
Kettle 连接数据库错误报错如图,如何解决,求大神。
![图片说明](https://img-ask.csdn.net/upload/201608/01/1470031905_964369.png) 点击打开转换出现的问题。 org.pentaho.di.core.exception.KettleDatabaseException: Unable to populate tree with repository objects Unable to get list of repository objects MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS] Unparseable date: "2016-07-28 15:31:56" at org.pentaho.di.ui.repository.RepositoryDirectoryUI.getTreeWithNames(RepositoryDirectoryUI.java:193) at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.refreshTree(SelectObjectDialog.java:433) at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.setSort(SelectObjectDialog.java:420) at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.getData(SelectObjectDialog.java:453) at org.pentaho.di.ui.repository.dialog.SelectObjectDialog.open(SelectObjectDialog.java:344) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3731) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3682) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:38) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:85) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7051) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8311) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.exception.KettleException: Unable to get list of repository objects MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS] Unparseable date: "2016-07-28 15:31:56" at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getRepositoryObjects(KettleDatabaseRepositoryConnectionDelegate.java:1469) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getRepositoryObjects(KettleDatabaseRepository.java:717) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getTransformationObjects(KettleDatabaseRepository.java:702) at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getJobAndTransformationObjects(KettleDatabaseRepository.java:1761) at org.pentaho.di.ui.repository.RepositoryDirectoryUI.getTreeWithNames(RepositoryDirectoryUI.java:115) ... 29 more Caused by: org.pentaho.di.core.exception.KettleValueException: MODIFIED_DATE String : couldn't convert string [2016-07-28 15:31:56] to a date using format [yyyy/MM/dd HH:mm:ss.SSS] Unparseable date: "2016-07-28 15:31:56" at org.pentaho.di.core.row.ValueMeta.convertStringToDate(ValueMeta.java:619) at org.pentaho.di.core.row.ValueMeta.getDate(ValueMeta.java:1670) at org.pentaho.di.core.row.RowMeta.getDate(RowMeta.java:245) at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getRepositoryObjects(KettleDatabaseRepositoryConnectionDelegate.java:1462) ... 33 more Caused by: java.text.ParseException: Unparseable date: "2016-07-28 15:31:56" at java.text.DateFormat.parse(DateFormat.java:337) at org.pentaho.di.core.row.ValueMeta.convertStringToDate(ValueMeta.java:614) ... 36 more
kettle在抽取数据时,总出现一个描述不清的问题,我也很难搞懂。
这个是问题:请教一下大神看看。很需要帮忙。 ![图片说明](https://img-ask.csdn.net/upload/202004/02/1585790453_487573.png) ``` 2020/04/02 02:05:23 - 字段选择.0 - 行号 2170000 2020/04/02 02:06:02 - 数据源.0 - linenr 2180000 2020/04/02 02:10:40 - 表输出.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Because of an error, this step can't continue: 2020/04/02 02:10:40 - 表输出.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2020/04/02 02:10:40 - 表输出.0 - Error performing rollback on connection 2020/04/02 02:10:40 - 表输出.0 - Communications link failure during rollback(). Transaction resolution unknown. 2020/04/02 02:10:40 - 表输出.0 - 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:854) 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:832) 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:332) 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:118) 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2020/04/02 02:10:40 - 表输出.0 - at java.lang.Thread.run(Thread.java:745) 2020/04/02 02:10:40 - 表输出.0 - Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown. 2020/04/02 02:10:40 - 表输出.0 - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2020/04/02 02:10:40 - 表输出.0 - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 2020/04/02 02:10:40 - 表输出.0 - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2020/04/02 02:10:40 - 表输出.0 - at java.lang.reflect.Constructor.newInstance(Constructor.java:526) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.Util.getInstance(Util.java:408) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:918) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:897) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:886) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860) 2020/04/02 02:10:40 - 表输出.0 - at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4584) 2020/04/02 02:10:40 - 表输出.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:845) 2020/04/02 02:10:40 - 表输出.0 - ... 5 more 2020/04/02 02:10:40 - t_sdrs_xscj - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Something went wrong while trying to stop the transformation: org.pentaho.di.core.exception.KettleDatabaseException: 2020/04/02 02:10:40 - t_sdrs_xscj - Unable to get database metadata from this database connection 2020/04/02 02:10:40 - t_sdrs_xscj - at java.lang.Thread.run (Thread.java:745) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.RunThread.run (RunThread.java:62) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow (TableOutput.java:132) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.BaseStep.stopAll (BaseStep.java:2863) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.Trans.stopAll (Trans.java:1861) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.sql.ExecSQL.stopRunning (ExecSQL.java:268) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.cancelQuery (Database.java:678) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2745) 2020/04/02 02:10:40 - t_sdrs_xscj - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2020/04/02 02:10:40 - t_sdrs_xscj - Unable to get database metadata from this database connection 2020/04/02 02:10:40 - t_sdrs_xscj - at java.lang.Thread.run (Thread.java:745) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.RunThread.run (RunThread.java:62) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow (TableOutput.java:132) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.BaseStep.stopAll (BaseStep.java:2863) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.Trans.stopAll (Trans.java:1861) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.sql.ExecSQL.stopRunning (ExecSQL.java:268) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.cancelQuery (Database.java:678) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2745) 2020/04/02 02:10:40 - t_sdrs_xscj - 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2747) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.cancelQuery(Database.java:678) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.sql.ExecSQL.stopRunning(ExecSQL.java:268) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.Trans.stopAll(Trans.java:1861) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.BaseStep.stopAll(BaseStep.java:2863) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:132) 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2020/04/02 02:10:40 - t_sdrs_xscj - at java.lang.Thread.run(Thread.java:745) 2020/04/02 02:10:40 - t_sdrs_xscj - Caused by: java.lang.NullPointerException 2020/04/02 02:10:40 - t_sdrs_xscj - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2745) 2020/04/02 02:10:40 - t_sdrs_xscj - ... 7 more ```
kettle连接hive2,连接正常,但是获取表信息报错
java.lang.reflect.InvocationTargetException: Problem encountered getting information from the database: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Unable to get list of procedures from database meta-data: Unable to get list of rows from ResultSet : Error determining value metadata from SQL resultset metadata Method not supported at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:67) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Unable to get list of procedures from database meta-data: Unable to get list of rows from ResultSet : Error determining value metadata from SQL resultset metadata Method not supported kettle 版本为5.4, hive版本为1.2.1,hadoop版本为2.7.1
kettle 如何设置只读权限
我在kettle资料库是放在Oracle, 想实现的效果是:别的用户可以登陆kettle的资料库,查看数仓的数据处理方式,但是不可以(修改)保存,可以通过登陆用户设置吗? ![图片说明](https://img-ask.csdn.net/upload/201911/26/1574754404_880968.jpg)
Kettle DB连接报错,InvocationTargetException
kettle 新手,刚刚下载好kettle后想要连接数据库,却出现如下bao'cuo org.pentaho.ui.xul.XulException: org.pentaho.ui.xul.XulException: java.lang.reflect.InvocationTargetException at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:144) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:127) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:121) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:252) at org.pentaho.ui.database.DatabaseConnectionDialog.getSwtInstance(DatabaseConnectionDialog.java:56) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.createDialog(XulDatabaseDialog.java:144) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:105) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:59) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.newConnection(SpoonDBDelegate.java:464) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.newConnection(SpoonDBDelegate.java:451) at org.pentaho.di.ui.spoon.Spoon.newConnection(Spoon.java:8728) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.pentaho.ui.xul.XulException: java.lang.reflect.InvocationTargetException at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:239) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:164) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:85) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:136) ... 36 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015) at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433) at org.pentaho.ui.xul.impl.XulParser.getElement(XulParser.java:235) ... 39 more Caused by: java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Ljava.lang.String; ([Ljava.lang.Object; and [Ljava.lang.String; are in module java.base of loader 'bootstrap') at org.pentaho.ui.xul.swt.tags.SwtDialog.setButtons(SwtDialog.java:268) ... 51 more
Kettle数据迁移MySQL连接关闭导致失败?
使用的是kettle8.2,数据迁移用的是表输入-表输出,然后数据量现在到了200多万条后报错了,错误信息如下 2019/09/13 02:20:42 - 表输入.0 - linenr 2050000 2019/09/13 02:20:47 - 表输出.0 - linenr 2050000 2019/09/13 02:21:06 - 表输入.0 - linenr 2100000 2019/09/13 02:21:11 - 表输出.0 - linenr 2100000 2019/09/13 02:22:43 - 表输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Because of an error, this step can't continue: 2019/09/13 02:22:43 - 表输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2019/09/13 02:22:43 - 表输出.0 - Unable to clear batch for prepared statement 2019/09/13 02:22:43 - 表输出.0 - No operations allowed after statement closed. 2019/09/13 02:22:43 - 表输出.0 - 2019/09/13 02:22:43 - 表输出.0 - at org.pentaho.di.core.database.Database.clearBatch(Database.java:1342) 2019/09/13 02:22:43 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:337) 2019/09/13 02:22:43 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:125) 2019/09/13 02:22:43 - 表输出.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2019/09/13 02:22:43 - 表输出.0 - at java.lang.Thread.run(Thread.java:745) 2019/09/13 02:22:43 - 表输出.0 - Caused by: java.sql.SQLException: No operations allowed after statement closed. 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959) 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862) 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.StatementImpl.checkClosed(StatementImpl.java:438) 2019/09/13 02:22:43 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.clearBatch(PreparedStatement.java:1007) 2019/09/13 02:22:43 - 表输出.0 - at org.pentaho.di.core.database.Database.clearBatch(Database.java:1340) 2019/09/13 02:22:43 - 表输出.0 - ... 4 more 2019/09/13 02:22:43 - 表输入.0 - Finished reading query, closing connection. 2019/09/13 02:22:43 - 表输出.0 - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Unexpected batch update error committing the database connection. 开始时间是 02:04,跑了大概18分钟后报错,但是什么都不修改重新启动就跑成功了,什么情况报错还没搞清楚。 是服务端把我的连接关闭了吗? MySQL加testOnBorrow和testOnReturn暂时不允许加,要怎么修改呢?有没有用过kettle连接池的,能解决吗?
kettle,把oracle的数据迁移到Mysql中是报错,感觉是字段方面的错误,求大神指教
2015/03/23 11:25:52 - 表输出.0 - Connected to database [local_hsps1] (commit=1000) 2015/03/23 11:25:52 - 表输出.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Unexpected batch update error committing the database connection. 2015/03/23 11:25:52 - 表输出.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException: 2015/03/23 11:25:52 - 表输出.0 - Error updating batch 2015/03/23 11:25:52 - 表输出.0 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAXVALUE, MINVALUE, MODIFIER, MODIFYTIME, NAME, RANK, RECORDTIME, RECORDER, STAT' at line 1 2015/03/23 11:25:52 - 表输出.0 - 2015/03/23 11:25:52 - 表输出.0 - at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1351) 2015/03/23 11:25:52 - 表输出.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1340) 2015/03/23 11:25:52 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:571) 2015/03/23 11:25:52 - 表输出.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96) 2015/03/23 11:25:52 - 表输出.0 - at java.lang.Thread.run(Thread.java:745) 2015/03/23 11:25:52 - 表输出.0 - Caused by: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAXVALUE, MINVALUE, MODIFIER, MODIFYTIME, NAME, RANK, RECORDTIME, RECORDER, STAT' at line 1 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1815) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1277) 2015/03/23 11:25:52 - 表输出.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1327) 2015/03/23 11:25:52 - 表输出.0 - ... 3 more 2015/03/23 11:25:52 - 表输出.0 - Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAXVALUE, MINVALUE, MODIFIER, MODIFYTIME, NAME, RANK, RECORDTIME, RECORDER, STAT' at line 1 2015/03/23 11:25:52 - 表输出.0 - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2015/03/23 11:25:52 - 表输出.0 - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 2015/03/23 11:25:52 - 表输出.0 - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2015/03/23 11:25:52 - 表输出.0 - at java.lang.reflect.Constructor.newInstance(Constructor.java:408) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.Util.getInstance(Util.java:360) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2141) 2015/03/23 11:25:52 - 表输出.0 - at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1773) 2015/03/23 11:25:52 - 表输出.0 - ... 5 more 2015/03/23 11:25:52 - 表输出.0 - 完成处理 (I=0, O=0, R=15, W=0, U=0, E=1
kettle输出报错-4229,哪位大神能帮忙看看
2017/11/19 13:04:56 - 表输出.0 - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : Unexpected batch update error committing the database connection. 2017/11/19 13:04:56 - 表输出.0 - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException: 2017/11/19 13:04:56 - 表输出.0 - Error updating batch 2017/11/19 13:04:56 - 表输出.0 - [jcc][t4][102][10040][4.19.66] 批处理出现故障。虽然已经提交了批处理,但是该批处理的某个成员至少发生了一个异常。 2017/11/19 13:04:56 - 表输出.0 - 使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4229, SQLSTATE=null 2017/11/19 13:04:56 - 表输出.0 - 2017/11/19 13:04:56 - 表输出.0 - at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1365) 2017/11/19 13:04:56 - 表输出.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1354) 2017/11/19 13:04:56 - 表输出.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:571) 2017/11/19 13:04:56 - 表输出.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96) 2017/11/19 13:04:56 - 表输出.0 - at java.lang.Thread.run(Thread.java:745) 2017/11/19 13:04:56 - 表输出.0 - Caused by: com.ibm.db2.jcc.am.BatchUpdateException: [jcc][t4][102][10040][4.19.66] 批处理出现故障。虽然已经提交了批处理,但是该批处理的某个成员至少发生了一个异常。 2017/11/19 13:04:56 - 表输出.0 - 使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4229, SQLSTATE=null 2017/11/19 13:04:56 - 表输出.0 - at com.ibm.db2.jcc.am.kd.a(kd.java:475) 2017/11/19 13:04:56 - 表输出.0 - at com.ibm.db2.jcc.am.Agent.endBatchedReadChain(Agent.java:414) 2017/11/19 13:04:56 - 表输出.0 - at com.ibm.db2.jcc.am.gp.a(gp.java:5342) 2017/11/19 13:04:56 - 表输出.0 - at com.ibm.db2.jcc.am.gp.c(gp.java:4929) 2017/11/19 13:04:56 - 表输出.0 - at com.ibm.db2.jcc.am.gp.executeBatch(gp.java:3045) 2017/11/19 13:04:56 - 表输出.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1341) 2017/11/19 13:04:56 - 表输出.0 - ... 3 more 2017/11/19 13:04:57 - 表输出.0 - 完成处理 (I=0, O=0, R=153, W=0, U=0, E=1 2017/11/19 13:04:57 - mtrl_sum - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : 错误被检测到! 2017/11/19 13:04:57 - Spoon - 转换完成!! 2017/11/19 13:04:57 - mtrl_sum - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : 错误被检测到! 2017/11/19 13:04:57 - mtrl_sum - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : 错误被检测到!
JDBC连接hive连接超时
hiveserver2启动了,然后日志也正常,但是用kettle连接或者自己的java代码用jdbc连接都是报错,报错日志如下: java.sql.SQLException: Could not open connection to jdbc:hive2://192.168.162.129:10000/hivedb: java.net.ConnectException: Connection timed out: connect at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:206) at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:178) at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at com.ljq.hive.HiveJdbcClient.run(HiveJdbcClient.java:21) at com.ljq.hive.HiveJdbcClient.main(HiveJdbcClient.java:46) Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection timed out: connect at org.apache.thrift.transport.TSocket.open(TSocket.java:185) at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:248) at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:203) ... 6 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at org.apache.thrift.transport.TSocket.open(TSocket.java:180) ... 9 more error 实在是不知道怎么搞了
Linux下,kettle连接MySQL资源库问题(数据库资源库,非文件资源库)
Linux下,部署完kettle之后,执行“./kitchen.sh”命令,已成功部署。 自动化执行文件如下图: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493350014_282102.jpg) 启动自动化调度后,报错,如下图: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493350048_288319.jpg) Processing stopped because of an error: Error connecting to the repository! Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. ERROR: Kitchen can't continue because the job couldn't be loaded. 注:mysql的jdbc驱动(mysql-connector-java-5.1.15-bin.jar)已经放到了 data-integration\lib下但仍然报错(在网上说这么好用,但是没有效果,还有说放到/app/kettle/data-integration/libext/JDBC目录下的,因为没有此目录,新建后放入此jar包,还是不管用),望大神赐教
kettle连接MYSQL数据库问题
![图片说明](https://img-ask.csdn.net/upload/201909/24/1569314912_453856.png)![图片说明](https://img-ask.csdn.net/upload/201909/24/1569314922_599953.png) mysql的驱动放到kettle安装文件中的lib下,连不上一直报错,折腾一下午了 求大佬来看看呀!
kettle 中如何调用http接口,并传参
在抽取完 对比出新增人员作为参数 ,如何向 接口的url 里一个一个传参数, http://xxxxxxxxxxxxxx/vpn/addUserVpn?userId=***&deptId=***&pwd=***
Linux下,kettle连接MySQL资源库问题
Processing stopped because of an error: Error connecting to the repository! Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. ERROR: Kitchen can't continue because the job couldn't be loaded. ![图片说明](https://img-ask.csdn.net/upload/201704/27/1493278500_404035.jpg)
在程序中调用shell脚本执行kettle抽取报错
前提:服务器中间件用的是weblogic,操作系统用的是linux,kettle在服务器端执行抽取完全没有问题; 但是在程序中远程调用shell脚本执行却报错,以下是程序中调用代码: ... String[] command = { "/bin/sh", "-c", "XX.sh" }; Process ps = Runtime.getRuntime().exec(command); ... 报错信息为Error occured while trying to connect to the database! 已知:shell脚本路径没有问题、数据库一切正常、kettle数据库配置文件也没问题,kettle在服务器端执行抽取完全没有问题; 请各位大神帮忙分析下原因!谢谢! ![图片说明](https://img-ask.csdn.net/upload/201705/12/1494578158_306718.jpg)
kettle: 调用webservice
1. 使用kettle(8.2)调用webservice时候出现异常 2. 报错信息如下: Could not find the schema with the name {http:/xxxx/}Exception within the specified wsdl. General - ERROR (version 8.2.0.0-342, build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : Could not retrieve WSDL Operator for operation name: xxx
在中国程序员是青春饭吗?
今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...
程序员请照顾好自己,周末病魔差点一套带走我。
程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。
卸载 x 雷某度!GitHub 标星 1.5w+,从此我只用这款全能高速下载工具!
作者 | Rocky0429 来源 | Python空间 大家好,我是 Rocky0429,一个喜欢在网上收集各种资源的蒟蒻… 网上资源眼花缭乱,下载的方式也同样千奇百怪,比如 BT 下载,磁力链接,网盘资源等等等等,下个资源可真不容易,不一样的方式要用不同的下载软件,因此某比较有名的 x 雷和某度网盘成了我经常使用的工具。 作为一个没有钱的穷鬼,某度网盘几十 kb 的下载速度让我...
20道你必须要背会的微服务面试题,面试一定会被问到
写在前面: 在学习springcloud之前大家一定要先了解下,常见的面试题有那块,然后我们带着问题去学习这个微服务技术,那么就会更加理解springcloud技术。如果你已经学了springcloud,那么在准备面试的时候,一定要看看看这些面试题。 文章目录1、什么是微服务?2、微服务之间是如何通讯的?3、springcloud 与dubbo有哪些区别?4、请谈谈对SpringBoot 和S...
讲真,这两个IDE插件,可以让你写出质量杠杠的代码
周末躺在床上看《拯救大兵瑞恩》 周末在闲逛的时候,发现了两个优秀的 IDE 插件,据说可以提高代码的质量,我就安装了一下,试了试以后发现,确实很不错,就推荐给大家。 01、Alibaba Java 代码规范插件 《阿里巴巴 Java 开发手册》,相信大家都不会感到陌生,其 IDEA 插件的下载次数据说达到了 80 万次,我今天又贡献了一次。嘿嘿。 该项目的插件地址: https://github....
为什么猝死的都是程序员,基本上不见产品经理猝死呢?
相信大家时不时听到程序员猝死的消息,但是基本上听不到产品经理猝死的消息,这是为什么呢? 我们先百度搜一下:程序员猝死,出现将近700多万条搜索结果: 搜索一下:产品经理猝死,只有400万条的搜索结果,从搜索结果数量上来看,程序员猝死的搜索结果就比产品经理猝死的搜索结果高了一倍,而且从下图可以看到,首页里面的五条搜索结果,其实只有两条才是符合条件。 所以程序员猝死的概率真的比产品经理大,并不是错...
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
我问了身边10个大佬,总结了他们的学习方法,原来成功都是有迹可循的。
推荐10个堪称神器的学习网站
每天都会收到很多读者的私信,问我:“二哥,有什么推荐的学习网站吗?最近很浮躁,手头的一些网站都看烦了,想看看二哥这里有什么新鲜货。” 今天一早做了个恶梦,梦到被老板辞退了。虽然说在我们公司,只有我辞退老板的份,没有老板辞退我这一说,但是还是被吓得 4 点多都起来了。(主要是因为我掌握着公司所有的核心源码,哈哈哈) 既然 4 点多起来,就得好好利用起来。于是我就挑选了 10 个堪称神器的学习网站,推...
这些软件太强了,Windows必装!尤其程序员!
Windows可谓是大多数人的生产力工具,集娱乐办公于一体,虽然在程序员这个群体中都说苹果是信仰,但是大部分不都是从Windows过来的,而且现在依然有很多的程序员用Windows。 所以,今天我就把我私藏的Windows必装的软件分享给大家,如果有一个你没有用过甚至没有听过,那你就赚了????,这可都是提升你幸福感的高效率生产力工具哦! 走起!???? NO、1 ScreenToGif 屏幕,摄像头和白板...
大学四年因为知道了这32个网站,我成了别人眼中的大神!
依稀记得,毕业那天,我们导员发给我毕业证的时候对我说“你可是咱们系的风云人物啊”,哎呀,别提当时多开心啦????,嗯,我们导员是所有导员中最帅的一个,真的???? 不过,导员说的是实话,很多人都叫我大神的,为啥,因为我知道这32个网站啊,你说强不强????,这次是绝对的干货,看好啦,走起来! PS:每个网站都是学计算机混互联网必须知道的,真的牛杯,我就不过多介绍了,大家自行探索,觉得没用的,尽管留言吐槽吧???? 社...
有网友说:2020年还不懂Spring就放弃Java吧?
前言 Spring这个词对于开发者想必不会陌生,可能你每天都在使用Spring,享受着Spring生态提供的服务,理所当然的用着SpringIOC和SpringAOP去实现老板交给你的功能 ,唔 它就是这样使用的(类声明为Bean组件,然后注入),没错 能完成老板任务,没毛病。如果向你提问什么是Spring,Spring有什么核心功能呢,你会想:这太简单了,Spring就是框架嘛,Spring核...
良心推荐,我珍藏的一些Chrome插件
上次搬家的时候,发了一个朋友圈,附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多,于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。 我下面就把我日常工作和学习中经常用到的一些 Chrome 浏览器插件分享给大家,随便一个都能提高你的“生活品质”和工作效率。 Markdown Here Markdown Here 可以让你更愉快的写邮件,由于支持 Markdown 直接转电子邮...
看完这篇HTTP,跟面试官扯皮就没问题了
我是一名程序员,我的主要编程语言是 Java,我更是一名 Web 开发人员,所以我必须要了解 HTTP,所以本篇文章就来带你从 HTTP 入门到进阶,看完让你有一种恍然大悟、醍醐灌顶的感觉。 最初在有网络之前,我们的电脑都是单机的,单机系统是孤立的,我还记得 05 年前那会儿家里有个电脑,想打电脑游戏还得两个人在一个电脑上玩儿,及其不方便。我就想为什么家里人不让上网,我的同学 xxx 家里有网,每...
2020 年,大火的 Python 和 JavaScript 是否会被取而代之?
Python 和 JavaScript 是目前最火的两大编程语言,但是2020 年,什么编程语言将会取而代之呢? 作者 |Richard Kenneth Eng 译者 |明明如月,责编 | 郭芮 出品 | CSDN(ID:CSDNnews) 以下为译文: Python 和 JavaScript 是目前最火的两大编程语言。然而,他们不可能永远屹立不倒。最终,必将像其他编程语言一...
史上最全的IDEA快捷键总结
现在Idea成了主流开发工具,这篇博客对其使用的快捷键做了总结,希望对大家的开发工作有所帮助。
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
谁是华为扫地僧?
是的,华为也有扫地僧!2020年2月11-12日,“养在深闺人不知”的华为2012实验室扫地僧们,将在华为开发者大会2020(Cloud)上,和大家见面。到时,你可以和扫地僧们,吃一个洋...
没用过这些 IDEA 插件?怪不得写代码头疼
使用插件,可以提高开发效率。对于开发人员很有帮助。这篇博客介绍了IDEA中最常用的一些插件。
AI 没让人类失业,搞 AI 的人先失业了
最近和几个 AI 领域的大佬闲聊 根据他们讲的消息和段子 改编出下面这个故事 如有雷同 都是巧合 1. 老王创业失败,被限制高消费 “这里写我跑路的消息实在太夸张了。” 王葱葱哼笑一下,把消息分享给群里。 阿杰也看了消息,笑了笑。在座几位也都笑了。 王葱葱是个有名的人物,21岁那年以全额奖学金进入 KMU 攻读人工智能博士,累计发表论文 40 余篇,个人技术博客更是成为深度学习领域内风向标。 ...
最全最强!世界大学计算机专业排名总结!
我正在参与CSDN200进20,希望得到您的支持,扫码续投票5次。感谢您! (为表示感谢,您投票后私信我,我把我总结的人工智能手推笔记和思维导图发送给您,感谢!) 目录 泰晤士高等教育世界大学排名 QS 世界大学排名 US News 世界大学排名 世界大学学术排名(Academic Ranking of World Universities) 泰晤士高等教育世界大学排名 中国共...
《java面试宝典》三 类初始化和类实例化顺序
前言: 社长,4年api搬运工程师,之前做的都是一些框架的搬运工作,做的时间越长,越发感觉自己技术越菜,有同感的社友,可以在下方留言。现侧重于java底层学习和算法结构学习,希望自己能改变这种现状。 为什么大厂面试,更侧重于java原理底层的提问,因为通过底层的提问,他能看出一个人的学习能力,看看这个人的可培养潜力。随着springboot的流行,大部分的开发,起步就是springboot。也...
一份王者荣耀的英雄数据报告
咪哥杂谈本篇阅读时间约为 6 分钟。1前言前一阵写了关于王者的一些系列文章,从数据的获取到数据清洗,数据落地,都是为了本篇的铺垫。今天来实现一下,看看不同维度得到的结论。2环境准备本次实...
工作十年的数据分析师被炒,没有方向,你根本躲不过中年危机
2020年刚刚开始,就意味着离职潮高峰的到来,我身边就有不少人拿着年终奖离职了,而最让我感到意外的,是一位工作十年的数据分析师也离职了,不同于别人的主动辞职,他是被公司炒掉的。 很多人都说数据分析是个好饭碗,工作不累薪资高、入门简单又好学。然而今年34的他,却真正尝到了中年危机的滋味,平时也有不少人都会私信问我: 数据分析师也有中年危机吗?跟程序员一样是吃青春饭的吗?该怎么保证自己不被公司淘汰...
作为一名大学生,如何在B站上快乐的学习?
B站是个宝,谁用谁知道???? 作为一名大学生,你必须掌握的一项能力就是自学能力,很多看起来很牛X的人,你可以了解下,人家私底下一定是花大量的时间自学的,你可能会说,我也想学习啊,可是嘞,该学习啥嘞,不怕告诉你,互联网时代,最不缺的就是学习资源,最宝贵的是啥? 你可能会说是时间,不,不是时间,而是你的注意力,懂了吧! 那么,你说学习资源多,我咋不知道,那今天我就告诉你一个你必须知道的学习的地方,人称...
那些年,我们信了课本里的那些鬼话
教材永远都是有错误的,从小学到大学,我们不断的学习了很多错误知识。 斑羚飞渡 在我们学习的很多小学课文里,有很多是错误文章,或者说是假课文。像《斑羚飞渡》: 随着镰刀头羊的那声吼叫,整个斑羚群迅速分成两拨,老年斑羚为一拨,年轻斑羚为一拨。 就在这时,我看见,从那拨老斑羚里走出一只公斑羚来。公斑羚朝那拨年轻斑羚示意性地咩了一声,一只半大的斑羚应声走了出来。一老一少走到伤心崖,后退了几步,突...
张朝阳回应迟到 1 分钟罚 500:资本家就得剥削员工
loonggg读完需要2分钟速读仅需 1 分钟大家我,我是你们的校长。前几天,搜狐的董事局主席兼 CEO 张朝阳和搜狐都上热搜了。原因很简单,就是搜狐出了“考勤新规”。一封搜狐对员工发布...
一个程序在计算机中是如何运行的?超级干货!!!
强烈声明:本文很干,请自备茶水!???? 开门见山,咱不说废话! 你有没有想过,你写的程序,是如何在计算机中运行的吗?比如我们搞Java的,肯定写过这段代码 public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } ...
【蘑菇街技术部年会】程序员与女神共舞,鼻血再次没止住。(文末内推)
蘑菇街技术部的年会,别开生面,一样全是美女。
那个在阿里养猪的工程师,5年了……
简介: 在阿里,走过1825天,没有趴下,依旧斗志满满,被称为“五年陈”。他们会被授予一枚戒指,过程就叫做“授戒仪式”。今天,咱们听听阿里的那些“五年陈”们的故事。 下一个五年,猪圈见! 我就是那个在养猪场里敲代码的工程师,一年多前我和20位工程师去了四川的猪场,出发前总架构师慷慨激昂的说:同学们,中国的养猪产业将因为我们而改变。但到了猪场,发现根本不是那么回事:要个WIFI,没有;...
立即提问