我试图使用" Shell"在Kettle中运行.bat文件。功能。但是,Pentaho抛出一个错误,表明我的环境变量名称无效。我完全不知道如何解决这个问题,因此我的帖子。
我在下面提供了输出日志文件:
2017/09/11 11:09:14 - 勺子 - 开始工作......
2017/09/11 11:09:14 - test_job - 开始执行任务
2017/09/11 11:09:14 - test_job - 开始录入[test_batch.bat]
2017/09/11 11:09:14 - test_batch.bat - 在平台上运行:Windows 7
2017/09/11 11:09:14 - test_batch.bat - 执行命令:cmd.exe / C" \ Desktop \ test_batch.bat"
2017/09/11 11:09:14 - test_batch.bat - ERROR(版本5.3.0.0-213,构建1来自2015-02-02_12-17-08 by buildguy):运行shell [\ Desktop \ test_batch时出现意外错误。 bat]:java.lang.IllegalArgumentException:无效的环境变量名称:"
2017/09/11 11:09:14 - test_batch.bat - ERROR(版本5.3.0.0-213,构建1来自2015-02-02_12-17-08 by buildguy):java.lang.IllegalArgumentException:无效的环境变量名称:"
2017/09/11 11:09:14 - test_batch.bat - at java.lang.ProcessEnvironment.validateName(Unknown Source)
2017/09/11 11:09:14 - test_batch.bat - at java.lang.ProcessEnvironment.put(Unknown Source)
2017/09/11 11:09:14 - test_batch.bat - at java.lang.ProcessEnvironment.put(Unknown Source)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:568)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:416)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.Job.execute(Job.java:716)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.Job.execute(Job.java:859)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.Job.execute(Job.java:532)
2017/09/11 11:09:14 - test_batch.bat - at org.pentaho.di.job.Job.run(Job.java:424)
2017/09/11 11:09:14 - test_job - 完成作业输入[test_batch.bat](结果= [假])
2017/09/11 11:09:14 - test_job - 工作执行完毕
2017/09/11 11:09:14 - 勺子 - 工作已经结束。
如果有人可以就上述事项提出建议,我们将不胜感激!
由于