Pentaho Spoon OK,Pentaho 机器 tchenello R
Pentaho Spoon OK, Pentaho Kitchen ERROR
我目前在 Pentaho Spoon 5.4.0.1-130 上有一个相当大的工作 运行,但是,不幸的是,当我尝试在 Pentaho Kitchen 上执行相同的工作时,我总是遇到错误:
2016/09/08 03:36:05 - Staging Titular.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error rolling back the database connection.
2016/09/08 03:36:05 - Staging Titular.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2016/09/08 03:36:05 - Staging Titular.0 - Unable to get database metadata from this database connection
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.run (Job.java:424)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:532)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:716)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute (JobEntryTrans.java:1065)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.execute (Trans.java:607)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:610)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:845)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:853)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2758)
2016/09/08 03:36:05 - Staging Titular.0 -
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2760)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:853)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:845)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:610)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1120)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.execute(Trans.java:607)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:1065)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:716)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:532)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.run(Job.java:424)
2016/09/08 03:36:05 - Staging Titular.0 - Caused by: java.lang.NullPointerException
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2758)
2016/09/08 03:36:05 - Staging Titular.0 - ... 13 more
我不知道会发生什么,所以任何帮助将不胜感激。
感谢您的宝贵时间!
谢天谢地,Dirk Trilsbeek 是对的! (见问题的第一条评论)
问题出在共享数据库连接上。一旦我将 schtasks(windows 任务调度程序)配置为使用正确的用户,我就可以毫无问题地使用 Kitchen 来执行我的工作。
以下是我目前用于 运行 任务的配置:
REM call-pentaho-job.bat
c:
cd /d "C:\pentaho\data-integration"
call Kitchen.bat /file:"C:\app\my-job.kjb" /level:Detailed /logfile:"C:\app\logs\my-job.txt"
exit
REM
REM schtasks /create /tn "MY-PENTAHO-JOB" /tr "\"C:\app\call-pentaho-job.bat\"" /ru MYDOMAIN\myuser /sc daily /st 03:00
REM
谢谢你,德克!
我目前在 Pentaho Spoon 5.4.0.1-130 上有一个相当大的工作 运行,但是,不幸的是,当我尝试在 Pentaho Kitchen 上执行相同的工作时,我总是遇到错误:
2016/09/08 03:36:05 - Staging Titular.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error rolling back the database connection.
2016/09/08 03:36:05 - Staging Titular.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2016/09/08 03:36:05 - Staging Titular.0 - Unable to get database metadata from this database connection
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.run (Job.java:424)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:532)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute (Job.java:716)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute (JobEntryTrans.java:1065)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.execute (Trans.java:607)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:610)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:845)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:853)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2758)
2016/09/08 03:36:05 - Staging Titular.0 -
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2760)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:853)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:845)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:610)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1120)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.trans.Trans.execute(Trans.java:607)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:1065)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:716)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:859)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.execute(Job.java:532)
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.job.Job.run(Job.java:424)
2016/09/08 03:36:05 - Staging Titular.0 - Caused by: java.lang.NullPointerException
2016/09/08 03:36:05 - Staging Titular.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2758)
2016/09/08 03:36:05 - Staging Titular.0 - ... 13 more
我不知道会发生什么,所以任何帮助将不胜感激。
感谢您的宝贵时间!
谢天谢地,Dirk Trilsbeek 是对的! (见问题的第一条评论)
问题出在共享数据库连接上。一旦我将 schtasks(windows 任务调度程序)配置为使用正确的用户,我就可以毫无问题地使用 Kitchen 来执行我的工作。
以下是我目前用于 运行 任务的配置:
REM call-pentaho-job.bat
c:
cd /d "C:\pentaho\data-integration"
call Kitchen.bat /file:"C:\app\my-job.kjb" /level:Detailed /logfile:"C:\app\logs\my-job.txt"
exit
REM
REM schtasks /create /tn "MY-PENTAHO-JOB" /tr "\"C:\app\call-pentaho-job.bat\"" /ru MYDOMAIN\myuser /sc daily /st 03:00
REM
谢谢你,德克!