Kettle连接postgresql经常报IO错误
kettle转换每天都会报错IO错误好几次, 重启数据库服务,关闭重新打开kettle, 或者等会也能正常运行,然后过段时间继续报错,求教大神这个该如何解决是哪方面的问题,困扰好久了
具体报错内容如下
2021/05/09 18:13:16 - 插入 / 更新.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : Error in step, asking everyone to stop because of:
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : Error in step, asking everyone to stop because of:
2021/05/09 18:13:16 - 插入 / 更新.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2021/05/09 18:13:16 - 插入 / 更新.0 - Error looking up row in database
2021/05/09 18:13:16 - 插入 / 更新.0 - An I/O error occurred while sending to the backend.
2021/05/09 18:13:16 - 插入 / 更新.0 -
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3108)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3087)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3083)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.lookupValues(InsertUpdate.java:89)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:299)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.lang.Thread.run(Thread.java:748)
2021/05/09 18:13:16 - 插入 / 更新.0 - Caused by: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:350)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:481)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:401)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:164)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:114)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3093)
2021/05/09 18:13:16 - 插入 / 更新.0 - ... 6 more
2021/05/09 18:13:16 - 插入 / 更新.0 - Caused by: java.net.SocketException: Connection reset by peer: socket write error
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.net.SocketOutputStream.socketWrite0(Native Method)
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
2021/05/09 18:13:16 - 插入 / 更新.0 - at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
2021/05/09 18:13:16 - 插入 / 更新.0 - at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
2021/05/09 18:13:16 - 插入 / 更新.0 - at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:886)
2021/05/09 18:13:16 - 插入 / 更新.0 - at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:857)
2021/05/09 18:13:16 - 插入 / 更新.0 - at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
2021/05/09 18:13:16 - 插入 / 更新.0 - at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.core.PGStream.flush(PGStream.java:665)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:1470)
2021/05/09 18:13:16 - 插入 / 更新.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:321)
2021/05/09 18:13:16 - 插入 / 更新.0 - ... 13 more
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - Error looking up row in database
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - An I/O error occurred while sending to the backend.
2021/05/09 18:13:16 - 插入 / 更新--detail.0 -
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3108)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3087)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3083)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.lookupValues(InsertUpdate.java:89)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.processRow(InsertUpdate.java:299)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.lang.Thread.run(Thread.java:748)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - Caused by: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:350)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:481)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:401)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:164)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:114)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.pentaho.di.core.database.Database.getLookup(Database.java:3093)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - ... 6 more
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - Caused by: java.net.SocketException: Connection reset by peer: socket write error
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.net.SocketOutputStream.socketWrite0(Native Method)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:886)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:857)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.core.PGStream.flush(PGStream.java:665)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:1470)
2021/05/09 18:13:16 - 插入 / 更新--detail.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:321)