京东方侯赛因1 2020-04-16 09:25 采纳率: 0%
浏览 739

kettle加工数据报unexpected end of stream, read 0 bytes from 7 (socket was closed by server)错误

使用的是kettle7,资源库用的是MySQL5。
kettle通过JDBC连接池连接数据库。
每天执行一次调度,偶尔会报下面的错误:

ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : org.pentaho.di.core.exception.KettleException: 
 Unexpected error during transformation metadata load

 An error occured loading the directory tree from the repository

 ERROR executing query
 (conn=5401016) unexpected end of stream, read 0 bytes from 7 (socket was closed by server)



    at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1351)
    at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:681)
    at org.pentaho.di.job.Job.execute(Job.java:724)
    at org.pentaho.di.job.Job.execute(Job.java:865)
    at org.pentaho.di.job.Job.execute(Job.java:865)
    at org.pentaho.di.job.Job.execute(Job.java:865)
    at org.pentaho.di.job.Job.execute(Job.java:546)
    at org.pentaho.di.job.Job.run(Job.java:436)
 Caused by: org.pentaho.di.core.exception.KettleException: 
 An error occured loading the directory tree from the repository

 ERROR executing query
 (conn=5401016) unexpected end of stream, read 0 bytes from 7 (socket was closed by server)


    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:108)
    at org.pentaho.di.repository.kdr.KettleDatabaseRepository.loadRepositoryDirectoryTree(KettleDatabaseRepository.java:608)
    at org.pentaho.di.repository.kdr.KettleDatabaseRepository.findDirectory(KettleDatabaseRepository.java:620)
    at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1301)
    ... 7 more
 Caused by: org.pentaho.di.core.exception.KettleDatabaseException: 
 ERROR executing query
 (conn=5401016) unexpected end of stream, read 0 bytes from 7 (socket was closed by server)

    at org.pentaho.di.core.database.Database.openQuery(Database.java:1824)
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getIDs(KettleDatabaseRepositoryConnectionDelegate.java:1573)
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.getSubDirectoryIDs(KettleDatabaseRepositoryDirectoryDelegate.java:290)
    at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getSubDirectoryIDs(KettleDatabaseRepository.java:684)
    at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:98)
    ... 10 more
 Caused by: java.sql.SQLNonTransientConnectionException: (conn=5401016) unexpected end of stream, read 0 bytes from 7 (socket was closed by server)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:260)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:164)
    at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:258)
    at org.mariadb.jdbc.ClientSidePreparedStatement.executeInternal(ClientSidePreparedStatement.java:225)
    at org.mariadb.jdbc.ClientSidePreparedStatement.execute(ClientSidePreparedStatement.java:145)
    at org.mariadb.jdbc.ClientSidePreparedStatement.executeQuery(ClientSidePreparedStatement.java:159)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
    at org.pentaho.di.core.database.Database.openQuery(Database.java:1812)
    ... 14 more
 Caused by: java.sql.SQLNonTransientConnectionException: unexpected end of stream, read 0 bytes from 7 (socket was closed by server)
    at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.handleIoException(AbstractQueryProtocol.java:1941)
    at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1445)
    at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1424)
    at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:240)
    at org.mariadb.jdbc.ClientSidePreparedStatement.executeInternal(ClientSidePreparedStatement.java:216)
    ... 19 more
 Caused by: java.io.EOFException: unexpected end of stream, read 0 bytes from 7 (socket was closed by server)
    at org.mariadb.jdbc.internal.io.input.DecompressPacketInputStream.readBlocking(DecompressPacketInputStream.java:194)
    at org.mariadb.jdbc.internal.io.input.DecompressPacketInputStream.getPacketArray(DecompressPacketInputStream.java:111)
    at org.mariadb.jdbc.internal.io.input.DecompressPacketInputStream.getPacket(DecompressPacketInputStream.java:91)
    at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1443)
    ... 22 more
  • 写回答

1条回答 默认 最新

  • qq1103524075 2021-11-05 10:39
    关注

    有解决方案了吗

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog