(stderr)= 256m” =“”。目前在Pentaho Shell脚本中是意外的 [英] (stderr) =256m""=="" was unexpected at this time in Pentaho Shell script

查看:125
本文介绍了(stderr)= 256m” =“”。目前在Pentaho Shell脚本中是意外的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题几乎类似于 pentaho:错误(stderr)= 256m在这个时候是出乎意料的。在从作业中调用厨房命令(使用shell脚本作业条目执行dos命令)时

但是由于我提供了确切的详细信息,因此其清晰度有所不同,而且这个问题是3岁,还带来了版本问题。另外,该问题尚未得到解答,互联网上没有其他可用的解决方案,只有很少的页面只有未回答的问题。因此,再次将其发布得更详细。

But It differs in clarity as I am providing exact details and also that question is 3 years old which also brings in version issues. Also, that question isn't answered yet and there are no other solutions available on internet except few pages which only have unanswered question. Hence posting this again with more detail.

我正在使用pentaho 7.0.0,在我的kjb文件中,有一个Shell脚本执行程序调用了另一个ktr(我知道正在运行可以通过使用Transformation executor完成ktr,但是我的要求有些不同,请进行合作)。这是我正在调用的批处理文件中的命令:

I am using pentaho 7.0.0 and in my kjb file, there is a shell script executor which calls another ktr (I know running a ktr can be accomplished by using Transformation executor but my requirements are a bit different, please co-operate). Here is my command in the batch file I am calling:

C:\pentahodi\6.1.0\data-integration\Pan.bat /file:"H:/newKtr.ktr" "/param:filePath=%filePath%" /level:Basic > H:/pentahoLog.log  

但是,当我从cmd运行此批处理文件时,其运行平稳且调用ktr并将filePath参数传递给它。但是当我使用%filePath%(用于从kjb本身的参数传递)时,出现此错误:

But, when I run this batch file from cmd, its runs smoothly and ktr is invoked and filePath parametere is passed to it.But when I use %filePath% (used to pass from parameter of kjb itself), I get this error:


ERROR(版本7.0.0.0-25,由buildguy于2016-11-05 15.35.36生成的版本1):(stderr)= 256m ==这一次是意外的。

ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : (stderr) =256m""=="" was unexpected at this time.

在其中一个在线资源中,我知道在64位Windows系统中会出现此问题。是这样吗我正在运行64位Windows 7。

In one of the online resources, I got to know that this problem occurs in 64 bit Windows systems. Is this the case? I am running a 64 bit windows 7.

这确实使我无法进行所有工作。我是pentaho的新手,不知道如何解决这个问题。任何提示将不胜感激。

This has really blocked me on all my efforts. I am new to pentaho and have no idea how this can be resolved. Any hint would really be appreciated.

请帮助。

推荐答案

作为解决方案,打开spoon.bat文件,然后从PENTAHO_DI_JAVA_OPTIONS中删除 -XX:MaxPermSize = 256m。

As a solution open the spoon.bat file and remove the "-XX:MaxPermSize=256m" from PENTAHO_DI_JAVA_OPTIONS.

然后从shell执行器调用bat文件或处理文件步骤

Then call bat file from shell executor or process a file step

这篇关于(stderr)= 256m” =“”。目前在Pentaho Shell脚本中是意外的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆