pentaho mysql存储库连接错误(conn:4584)

vfh0ocws  于 2021-06-20  发布在  Mysql
关注(0)|答案(1)|浏览(313)

我将carteserverv.8.1配置为在专用服务器中启用自动任务调度器。此点菜已连接到mariadb存储库,并且在服务器启动超过24小时后遇到连接套接字错误。
有人知道有没有我可以在jdbc中为mariadb配置mysql超时的文件吗?
pdi.log文件如下:

  1. 2018-10-04 08:01:02.569 INFO <Thread-906> [] Starting entry [EXTRAE SEMANA CAMBIOS]
  2. 2018-10-04 08:01:02.685 INFO <Thread-906> [] exec(1, 0, EXTRAE SEMANA CAMBIOS.0)
  3. 2018-10-04 08:01:02.685 INFO <Thread-906> [] Starting job entry
  4. 2018-10-04 08:01:02.685 INFO <Thread-906> [] Opening transformation: [null] in directory [/CONTROL CAMBIOS]
  5. 2018-10-04 08:01:02.686 INFO <Thread-906> [] Loading transformation from repository [EXTRAE SEMANA CAMBIOS] in directory [/CONTROL CAMBIOS]
  6. 2018-10-04 08:01:02.725 ERROR <Thread-906> [] Unable to run job CONTROL CAMBIOS. The EXTRAE SEMANA CAMBIOS has an error. An error occured loading the directory tree from the repository
  7. ERROR executing query
  8. (conn:4584) Could not send query: Connection reset by peer: socket write error
  9. 2018-10-04 08:01:02.726 ERROR <Thread-906> [] org.pentaho.di.core.exception.KettleException:
  10. An error occured loading the directory tree from the repository
  11. ERROR executing query
  12. (conn:4584) Could not send query: Connection reset by peer: socket write error
  13. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:108)
  14. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.loadRepositoryDirectoryTree(KettleDatabaseRepository.java:608)
  15. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.findDirectory(KettleDatabaseRepository.java:620)
  16. at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1324)
  17. at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:704)
  18. at org.pentaho.di.job.Job.execute(Job.java:676)
  19. at org.pentaho.di.job.Job.execute(Job.java:817)
  20. at org.pentaho.di.job.Job.execute(Job.java:493)
  21. at org.pentaho.di.job.Job.run(Job.java:380)
  22. Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
  23. ERROR executing query
  24. (conn:4584) Could not send query: Connection reset by peer: socket write error
  25. at org.pentaho.di.core.database.Database.openQuery(Database.java:1823)
  26. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate$6.call(KettleDatabaseRepositoryConnectionDelegate.java:1599)
  27. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate$6.call(KettleDatabaseRepositoryConnectionDelegate.java:1597)
  28. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.callRead(KettleDatabaseRepositoryConnectionDelegate.java:1992)
  29. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getIDs(KettleDatabaseRepositoryConnectionDelegate.java:1597)
  30. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.getSubDirectoryIDs(KettleDatabaseRepositoryDirectoryDelegate.java:290)
  31. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getSubDirectoryIDs(KettleDatabaseRepository.java:684)
  32. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:98)
  33. ... 8 more
  34. Caused by: java.sql.SQLNonTransientConnectionException: (conn:4584) Could not send query: Connection reset by peer: socket write error
  35. at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:156)
  36. at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:118)
  37. at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:250)
  38. at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeInternal(MariaDbPreparedStatementClient.java:224)
  39. at org.mariadb.jdbc.MariaDbPreparedStatementClient.execute(MariaDbPreparedStatementClient.java:159)
  40. at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeQuery(MariaDbPreparedStatementClient.java:173)
  41. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  42. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  43. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  44. at org.pentaho.di.core.database.Database.openQuery(Database.java:1811)
  45. ... 15 more
  46. Caused by: java.sql.SQLException: Could not send query: Connection reset by peer: socket write error
  47. at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.handleIoException(AbstractQueryProtocol.java:1726)
  48. at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:223)
  49. at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeInternal(MariaDbPreparedStatementClient.java:218)
  50. ... 21 more
  51. Caused by: java.net.SocketException: Connection reset by peer: socket write error
  52. at java.net.SocketOutputStream.socketWrite0(Native Method)
  53. at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
  54. at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
  55. at org.mariadb.jdbc.internal.io.output.StandardPacketOutputStream.flushBuffer(StandardPacketOutputStream.java:107)
  56. at org.mariadb.jdbc.internal.io.output.AbstractPacketOutputStream.flush(AbstractPacketOutputStream.java:175)
  57. at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:216)
  58. ... 22 more
  59. 2018-10-04 08:01:02.727 INFO <Thread-906> [] Starting entry [INFORME CAMBIOS EXTRAE MAQUINAS DESCRIPCION]
  60. 2018-10-04 08:01:02.727 INFO <Thread-906> [] exec(2, 0, INFORME CAMBIOS EXTRAE MAQUINAS DESCRIPCION.0)
  61. 2018-10-04 08:01:02.727 INFO <Thread-906> [] Starting job entry
  62. 2018-10-04 08:01:02.727 INFO <Thread-906> [] Opening transformation: [null] in directory [/CONTROL CAMBIOS]
  63. 2018-10-04 08:01:02.727 INFO <Thread-906> [] Loading transformation from repository [INFORME CAMBIOS EXTRAE MAQUINAS DESCRIPCION] in directory [/CONTROL CAMBIOS]
  64. 2018-10-04 08:01:02.728 ERROR <Thread-906> [] Unable to run job CONTROL CAMBIOS. The INFORME CAMBIOS EXTRAE MAQUINAS DESCRIPCION has an error. An error occured loading the directory tree from the repository
  65. ERROR executing query
  66. execute() is called on closed statement
  67. 2018-10-04 08:01:02.728 ERROR <Thread-906> [] org.pentaho.di.core.exception.KettleException:
  68. An error occured loading the directory tree from the repository
  69. ERROR executing query
  70. execute() is called on closed statement
  71. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:108)
  72. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.loadRepositoryDirectoryTree(KettleDatabaseRepository.java:608)
  73. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.findDirectory(KettleDatabaseRepository.java:620)
  74. at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1324)
  75. at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:704)
  76. at org.pentaho.di.job.Job.execute(Job.java:676)
  77. at org.pentaho.di.job.Job.execute(Job.java:817)
  78. at org.pentaho.di.job.Job.execute(Job.java:817)
  79. at org.pentaho.di.job.Job.execute(Job.java:493)
  80. at org.pentaho.di.job.Job.run(Job.java:380)
  81. Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
  82. ERROR executing query
  83. execute() is called on closed statement
  84. at org.pentaho.di.core.database.Database.openQuery(Database.java:1823)
  85. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate$6.call(KettleDatabaseRepositoryConnectionDelegate.java:1599)
  86. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate$6.call(KettleDatabaseRepositoryConnectionDelegate.java:1597)
  87. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.callRead(KettleDatabaseRepositoryConnectionDelegate.java:1992)
  88. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getIDs(KettleDatabaseRepositoryConnectionDelegate.java:1597)
  89. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.getSubDirectoryIDs(KettleDatabaseRepositoryDirectoryDelegate.java:290)
  90. at org.pentaho.di.repository.kdr.KettleDatabaseRepository.getSubDirectoryIDs(KettleDatabaseRepository.java:684)
  91. at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree(KettleDatabaseRepositoryDirectoryDelegate.java:98)
  92. ... 9 more
  93. Caused by: java.sql.SQLException: execute() is called on closed statement
  94. at org.mariadb.jdbc.MariaDbStatement.executeQueryPrologue(MariaDbStatement.java:203)
  95. at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeInternal(MariaDbPreparedStatementClient.java:211)
  96. at org.mariadb.jdbc.MariaDbPreparedStatementClient.execute(MariaDbPreparedStatementClient.java:159)
  97. at org.mariadb.jdbc.MariaDbPreparedStatementClient.executeQuery(MariaDbPreparedStatementClient.java:173)
  98. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  99. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  100. at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  101. at org.pentaho.di.core.database.Database.openQuery(Database.java:1811)
  102. ... 16 more
  103. 2018-10-04 08:01:02.729 INFO <Thread-906> [] Starting entry [COPIAR FICHEROS A REMOTO]
  104. 2018-10-04 08:01:02.729 INFO <Thread-906> [] exec(3, 0, COPIAR FICHEROS A REMOTO.0)
  105. 2018-10-04 08:01:02.729 INFO <Thread-906> [] Starting job entry
  106. 2018-10-04 08:01:02.730 ERROR <Thread-906> [] We can not find folder [\\tsclient\C\InformesSpoon\CAMBIOS\] !
  107. 2018-10-04 08:01:02.732 ERROR <Thread-906> [] We can not create folder [\\tsclient\C\InformesSpoon\CAMBIOS\]. Exception : org.apache.commons.vfs2.FileSystemException: Could not create folder "file:////tsclient/C/".
  108. 2018-10-04 08:01:02.732 INFO <Thread-906> [] Finished job entry [COPIAR FICHEROS A REMOTO] (result=[false])
  109. 2018-10-04 08:01:02.732 INFO <Thread-906> [] Finished job entry [INFORME CAMBIOS EXTRAE MAQUINAS DESCRIPCION] (result=[false])
  110. 2018-10-04 08:01:02.732 INFO <Thread-906> [] Finished job entry [EXTRAE SEMANA CAMBIOS] (result=[false])
  111. 2018-10-04 08:01:02.732 INFO <Thread-906> [] exec(0, 0, START.0)
  112. 2018-10-04 08:01:02.732 INFO <Thread-906> [] Starting job entry
  113. 2018-10-04 08:01:02.732 INFO <Thread-906> [] CONTROL CAMBIOS
  114. 2018-10-04 10:14:43.171 WARN <Thread-906> [] Job execution finished

提前谢谢。

m2xkgtsf

m2xkgtsf1#

这个错误似乎是因为文件夹名中有空格,甚至事务/作业名中也有空格。使用spoon并连接到repo,重命名trans/job(不带空格),然后移动到另一个不带空格的文件夹。

相关问题