pentaho-spoon

pentaho spoon/PDI : how to create a folder with current date?

跟風遠走 提交于 2019-12-11 17:20:55
问题 As the title says, I'd like to know how to create a folder with current date(dd/mm/yyyy) (on Job). I've seen two answers but they seemed quite long, for example this one: pentaho create archive folder with MM-YYYY Anyone has an idea? Thanks :) 回答1: That answer is also from 2014, better and newer versions of PDI are out, and this answer is overcomplicating the task. Though you do need to create the folder name in a KTR, you can just use the 'Create folder' Job step. I'm pretty sure you cannot

How to run different sql to get data according to the previous input data in pentaho kettle

﹥>﹥吖頭↗ 提交于 2019-12-11 17:08:34
问题 I use pentaho kettle 8.2 in Windows 10 and db is Oracle, now i have a requirement and don't know how to realize this function. My requirement is that: step 1: get data 1 from db; step 2: get data 2 from different table(sql) according to the field of step 1's data 1; step 3: update other db according data 2 in step 2. Step 1 is easy to get data from one db, in step 2, i try to get data based on step 1's output, i use Switch/case to judge step 1's result and then use different SQL script ,

How to check connection of cassandra with pentaho data integrator

拈花ヽ惹草 提交于 2019-12-11 12:50:38
问题 I'm trying to load data from Oracle table to Cassandra table by using Pentaho Data Integration 5.1(Community Edition). But I'm not getting whether connection has been established between oracle and cassandra. I'm using Cassandra 2.2.3 and Oracle 11gR2. I've added following jars in lib folder of data-integration --cassandra-thrift-1.0.0 --apache-cassandra-cql-1.0.0 --libthrift-0.6.jar --guava-r08.jar --cassandra_driver.jar Please anyone can help me to figure out how to check whether connection

Pentaho passing variable from modified java script value to table input

北战南征 提交于 2019-12-11 07:57:52
问题 I need to passing variable from modified java script value and pass it to table input query this is my If i click preview the output initator_reference | a | '' | 1 | a | null | 2 | a | null | 3 | a | null | 4 | a | null | It shouldnt be null but "testing" string on that third field and dont ask me why i put that variable in select, its just for testing before i put it in "where condition=variable" 回答1: Table Input supports two different ways of making the SQL dynamic: Variable Substitution

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

Pentaho single Dashboard for multiple reports using ajax

空扰寡人 提交于 2019-12-06 14:41:09
问题 I have made multiple copies of dashboard for different reports to render. so url changes for each report in the browser and whole page needs to be refreshed. Day before yesterday i came to know that any component can be refreshed [ Refresh all components of Pentaho CDE dashboard ] I wanna know if i can use single pentaho dashboard to render different reports over single reporting component, using ajax calls by clicking different buttons/links? I feel there should be some way arround this. 回答1

Lookup values in Mongodb Pentaho Spoon

自闭症网瘾萝莉.ら 提交于 2019-12-06 04:16:49
How can I lookup the values in Mongodb? I use stream lookup but i think it will have a performance issue when looking up on a collection with high volume of data. Solution 1: Found this on the market place "mongodblookup" There is only one problem with the plug in, it doesn't return a record if the lookpup match fail. Solution 2: UJDC - 2 field from input stream - artist_id,translation (this is the identifier for the lookup) jsonColl - is a field in UJDC it will return null if no document found. Below is the code import com.mongodb.Mongo; import com.mongodb.DB; import com.mongodb.DBCollection;

Error connecting to database: (using class org.gjt.mm.mysql.Driver) The statement (1) has no open cursor

微笑、不失礼 提交于 2019-12-06 02:59:28
I am working on Pentaho Data Integration tool version 5.2. I am trying to connect to data base using 'Table Input' step. but when I test the connection in this step it is giving me the below error message. I am able to connect to DB using the MySQL workbench. I have placed the ' mysql-connector-java-5.1.38-bin ' file in the libext forlder. do I need to downgrade my connector jar file? if yes my SQL version is 5.6 so can some one let me know the compatible connector jar version for this SQL Server version? Error connecting to database [myLedger] : org.pentaho.di.core.exception

The system cannot find the path specified (Batch file) - Using path with white spaces - PENTAHO spoon.bat (pdi-ce-7.1.0.0-12)

元气小坏坏 提交于 2019-12-02 15:49:39
问题 I'm trying to execute a batch file "spoon.bat" from PENTAHO (pdi-ce-7.1.0.0-12), but there is an error. Part of batch file where the error is found: if "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe if not "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=C:\Program Files (x86)\Java\jre1.8.0_121\bin\javaw.exe set IS64BITJAVA=0 call "%~dp0set-pentaho-env.bat" But I receive next below error: The system cannot find the path specified The error is when I'm

The system cannot find the path specified (Batch file) - Using path with white spaces - PENTAHO spoon.bat (pdi-ce-7.1.0.0-12)

眉间皱痕 提交于 2019-12-02 08:30:48
I'm trying to execute a batch file "spoon.bat" from PENTAHO (pdi-ce-7.1.0.0-12), but there is an error. Part of batch file where the error is found: if "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe if not "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=C:\Program Files (x86)\Java\jre1.8.0_121\bin\javaw.exe set IS64BITJAVA=0 call "%~dp0set-pentaho-env.bat" But I receive next below error: The system cannot find the path specified The error is when I'm trying to assign the path where java.exe or javaw.exe are found to "PENTAHO_JAVA". I've modified the path