pentaho

Is there a way to check for existence of a folder in pentaho?

耗尽温柔 提交于 2019-12-11 04:28:26
问题 I know that there is a "Check if a folder is empty", but it does not check for existing of the folder. 回答1: But to use it in Pentaho is more complicated. When creating a Job rather than a transform, straight Java is not directly available (that I know of). The good news is PDI's JavaScript interpreter is Rhino. That means all Java's objects and classes are available to JavaScript. As such the check is pretty easy. Add a variable or parameter in your job and call it something like dirpath and

Can't install pentaho business analytics 5.2.0.0-209-x64

僤鯓⒐⒋嵵緔 提交于 2019-12-11 04:05:32
问题 I tried to install Pentaho but I keep getting this error message: Problem running post-install step. Installation may not complete correctly Error running sc config pentahobiservernum1 depend= "Pentaho Solution Repository-1" : Program ended with an error exit code. After I close that one I also get : Installation is unable to start Data Integration Server Does anyone have a fix for this problem? 回答1: I also encountered this issue, I did exert a huge effort and finally could find the solution

Pentaho PDI Failed to load ESAPI.properties as a classloader resource

旧城冷巷雨未停 提交于 2019-12-11 03:15:35
问题 I am running a fresh install of Pentaho Data Integration 5.0.1.A Stable from: http://community.pentaho.com/projects/data-integration/ on my macbook pro, java 1.7.0_25, and I keep seeing this error in the console: Attempting to load ESAPI.properties via file I/O. Attempting to load ESAPI.properties as resource file via file I/O. Not found in 'org.owasp.esapi.resources' directory or file not readable: /Applications/pdi-ce-5.0.1.A/data-integration/ESAPI.properties Not found in SystemResource

Changing date format in Pentaho using javascripting

廉价感情. 提交于 2019-12-11 03:07:56
问题 I have an input excel sheet which has a field "fail_date". I want to change the format to dd.MM.yyyy HH:mm:ss . I am doing this in javascript shown below. var temp = fail_date.getDate(); str2date(temp,"dd.MM.yyyy HH:mm:ss"); But I get the below error when i run 2015/05/07 17:48:01 - Modified Java Script Value 2 2 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Could not apply the given format dd.MM.yyyy on the string for Thu Jan 01 11:05:50 IST 1970 :

Pentaho Spoon Tool Transformation Order

梦想与她 提交于 2019-12-11 02:45:21
问题 I am trying to design an ETL structure and i stucked in the below step. As you can see i have 3 steps and each step holding a FK value from previous step. For example TABLE3 has a column with FK Constraints which shows the PK value in TABLE2 and TABLE2 has same relationship with TABLE1 . The problem is when i start this job all these 3 steps are running simultaneously and error is occuring about FK constraints since TABLE2 trying to set a FK before TABLE1 creation completes. I am not sure if

Pentaho DI Send Mail. Read timed out

心已入冬 提交于 2019-12-11 00:59:13
问题 I am trying to send an email from my Gmail account. Bellow are the SMTP details that I provided. Server: smtp.gmail.com Port : 465 (also tried 587) Use Authentication: Yes Authentication User: my full email id Authentication password: my password Use Secure Authentication: Yes Secure Connection Type: SSL This is the error that I am getting. 2016/03/16 17:35:45 - [ftp-poc].Mail - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Problem while sending message: javax.mail

Cannot run Pentaho BI server on Mac

落爺英雄遲暮 提交于 2019-12-10 21:07:45
问题 I've been trying to install Pentaho BI Server (Community Edition) on Mac but I did not manage to make it run: Does anyone know a good matching between the Java version and Pentaho? When I try to run pentaho-server-ce-8.0.0.0-28 there is an issue related with Dcatalina.endorsed deprecated in Java 8 that is preventing the virtual machine to start and for the newest one shows lot of errors. Thank you. 回答1: I found this in the spoon.sh. If it doesn't help, maybe it explains... echo "I'm sorry,

Assigning an integer value to an output row, pentaho

两盒软妹~` 提交于 2019-12-10 21:04:13
问题 I'm using kettle in a very basic way. What I want to do is read from csv file, do some kind of transformation in User Defined Java Class step and write output to a text file. a picture http://imageshack.com/a/img34/1669/vo18.png When I run this I essentially get this error: value Integer<binary-string> : There was a data type error: the data type of java.lang.Long object [100] does not correspond to value meta [Integer<binary-string>] This is the line in UDJC step that seems to make the

Kettle Internal.Job.Filename.Directory

痴心易碎 提交于 2019-12-10 15:33:30
问题 I am new to Pentaho Kettle and I am wondering what the Internal.Job.Filename.Directory is? Is it my SPoon.bat folder, or the job/xfrm folder i created? Is there a way I can change it to point to particular folder? I am runnig spoon.bat in Windows XP. 回答1: Internal.Job.Filename.Directory is only set when you don't use a repository , and it is set automatically. You cannot set it manually. How not to use an repository? When you start Spoon, you get a dialog which asks for a repository. Just

Stop running Kettle Job/Transformation using Java

☆樱花仙子☆ 提交于 2019-12-10 13:37:35
问题 I'm developing a web-app based ETL too (with Kettle engine), using Java. I'm running into issues, while trying to stop a running Job. I'm not sure if using the CarteSingleton.java is correct. I'm using a custom singleton map. My code is as below Job job = new Job(null, jobMeta); job.setLogLevel(LogLevel.DETAILED); job.setGatheringMetrics(true); job.start(); Once job.start() is invoked, I'm trying to store that job object in a custom singleton map and retrieve the exact Job object that was