Quantcast
Channel: Pentaho Community Forums
Viewing all 16689 articles
Browse latest View live

Two identical subsequent Table inputs give different results (one is )

$
0
0
A transformation is updating a table.

One step is run before to read checksum. Another step is run after to read checksum after possible changes to the table.

Untitled.jpg

But whenever the two checksum steps are run, the last one always returns null!

Any help?

Steps to reproduce:

1) CHECKSUM TABLE test_table;
2) INSERT INTO test_table...
3) CHECKSUM TABLE test_table;

Step 3 will return <null> instead of the checksum.
Attached Images

Read files dynamically from http server

$
0
0
Hi,

I have a requirement where I have to download files from HTTP server, but the critical thing is files will be keep appending and we need to fetch them dynamically every time. I was able to use HTTP client at job level and transformation level too but there was no option to fetch all the files from the directory. Please share a solution for this.

Inserting New Row in Pentaho

$
0
0
Hi,

I have the following two tables:
ForForum.jpg
I want to append the second table to the first, so that SYSNAME, OBJSTRUC, AddChange, EN appear as the header/field names.
Is there a way to do this in Pentaho?

I am new to Pentaho

Thanks.
Attached Images

unable to login to DI server through web browser but can login using spoon

$
0
0
Hi,

I have a strange problem, I have installed DI Server, I was able to login to it via web browsers (Internet Explorer/Chrome) and aso via spoon untill yestrday, but today after restarting the DI Server, I cannot login to DI server via web browsers but I can successfully login to it via spoon and also able to import jobs and able to schedule jobs

The only problem is I cannot login to DI Server using web browsers

Setting SQL_MODE for Mysql database only (Pentaho stripping comments)

$
0
0
Hi There

I'm working with some jobs at the moment that have to run on both Mysql and MS SQL. All is fine and the lovely feature of Mysql called SQL_MODE allows me to use

Code:

SET sql_mode = 'MSSQL';
I can even write

Code:

/*! SET sql_mode = 'MSSQL'*/;
in a comment hint so that it is only executed in Mysql and when the same SQL is run on MS SQL it is safely ignored.

My problem comes to running this in Pentaho (either in the Advanced section of Database Connection dialog or in SQL job itself). It works fine if I just put SET sql_mode = 'MSSQL' - but if I use it in the second form in the comment hint then Pentaho thinks it's a comments and strips the comment out.

I've found the code that does this in SqlScriptParser.java - sure I could patch it, but I am wondering if there is a better way to do this that anyone can think of?

Originally I was going to make this pre-run-SQL a variable (so I could not have it for when we run on MSSQL) but the Database Connection method does not support variable substitution.

Any ideas much appreciated!

Steve

PDI6.1 - kitchen startup slow

$
0
0
As reported by others - I'm having issues with kitchen (and spoon) starting up slow and being heavy on memory use.
I have found this Jira http://jira.pentaho.com/browse/PDI-13463 - so I understand this issue is not new and there is a fix - but I am having hard time finding a clear answer on how to solve it.
I am invoking kitchen.bat via windows command line.

Could someone please provide, or point to, clear instructions on what to do to bring the 6.1 kitchen.bat startup performance to match that of version 4.2 ?? Thank you!!!!

Passing paramter to table input

$
0
0
Hi Good Morning,

Currently i am using Pentaho 7.0 , Postgresql database. i created a parameter in transformation properties and that parameter is using in js. the out put of js is sql query, that query needs to be run in table inpu . output of js is not working in table input

and i have uploaded my .ktr file.

any help appreciable.
Thanks in advance
Attached Files

kitchen.sh, pan.sh, spoon.sh all launch the spoon.sh GUI

$
0
0
Hello! I'm an overall new user. I've been using kettle from 6.1 and all was working well. I upgraded to 7 because I hit a heap error, and though the upgrade would fix it, but turned out that experience is the best teacher. Now, on the 6.x version I was running a crontab which executed a job every night. Worked just fine.

The version of Kettle (7.0.0.0-25) that I'm using is the latest I could find. I'm pretty sure I'm doing something wrong, and here are my attempts:
I run kettle in debian linux.

at the command line:
./spoon.sh # results in the Kettle GUI being launched
./pan.sh # results in the Kettle GUI being launched
./kitchen.sh # results in the Kettle GUI being launched

rebooted the machine
tried this from my previous crontab:
./kitchen.sh -rep PentahoRepo -user standard -pass user1234 -dir PQRS2016 -job Measure1 # results in the Kettle GUI being launched

tried this instead:
./pan.sh -rep PentahoRepo -user standard -pass user1234 -dir PQRS2016 -job Measure1 # results in the Kettle GUI being launched

tried
./runSamples.sh #loads the GUI for each sample - waits for you to close the GUI, launches it successively a few times. Gets old.

tried
./kitchen.sh -rep=PentahoRepo -user=standard -pass=user1234 -listdir=Y # results in the Kettle GUI being launched

and now I'm here asking - what in the world am I doing wrong? Seems like these all should be doing different things, yet, no matter what I type, I get the same output.

Also, doesn't matter if I've had the Kettle GUI running while attempting these commands or not.
Hoping someone else ran into this and knows?

thanks,
Jack

Maximum record count Pentaho can display

$
0
0
Hi,

Is there any max no of rows Pentaho can have for the reports display?
Unable to display the report(Table Component) with 125000 records. Report getting displayed for 120000 records.

Getting Error Processing Component(TableComponent name) and no exception in console.

Thanks,
Padma Priya N.

Error Handling in Json Input step

$
0
0
Hi,

I have been trying to implement error handling in Json input step available in Pentaho. There was some Path issue to few attributes what I have mentioned and defined error handling. it is not working for me. anybody implemented this before. kindly post your comments.

Rather checking the option igone missing path, kindly suggest any other solution. intentionally I'm doing in order to handle errors.

Thanks
Kullayappa.

Question about passing column values to multiple transformations

$
0
0
Good Morning,

I'm attempting to generate a report that contains record counts passed to it from a previous transformation. I compare spreadsheet data with records contained in the database with the 'Merge Join' and 'Compare fields' steps in one transformation, taking note of duplicate records and new records. I'm looking for better solution to pass the record counts to its final transformation, instead of using the 'Set Variable' step three times. If someone could provide a tip, it would be appreciated. I've attached the transformations that I've been developing to the post.
Attached Files

Unable to find datasource by JNDI name - Pentaho 7.0

$
0
0
I'm having a problem executing a transformation from Spoon on Server that uses a JNDI connection. I get a "Unable to find datasource by JNDI name" error. On client, I edited the jdbc.properties file in data-integration\simple-jndi folder, and when I run it on Local, it works. It just fails when run with Environment Type = Server. All this transformation does is insert a record into a table on MS SQL Server 2008R2. I'm using the sqljdbc4.jar.

I'm using a new installation of Enterprise Edition Pentaho 7 on Ubuntu 16.04.1. Used the Installation Wizard, chose "Keep it simple. Give me everything" option. I've creatd a support ticket, but the particular person assigned this time can't figure it out.

I've followed the instructions in the "Tomcat JNDI Connections" section at
https://help.pentaho.com/Documentati...Pentaho_Server

I edited these files
/home/pentaho/Pentaho/server/pentaho-server/tomcat/webapps/pentaho/WEB-INF/web.xml
/home/pentaho/Pentaho/server/pentaho-server/tomcat/webapps/pentaho/META-INF/context.xml

I've tried many different versions of the resource in context.xml, always with same result. But, I'm thinking, based on the error, it sounds like it's never even seeing that Resource? Is there another step I'm missing where I need to define the the data source?

Here's the relevant portion of web.xml:
<resource-ref>
<description>PxDbDataMart-paytronix_me_data_mart</description>
<res-ref-name>jdbc/PxDbDataMart-paytronix_me_data_mart</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

And my latest attempt at the Resource from context.xml:
<Resource name="jdbc/PxDbDataMart-paytronix_me_data_mart" auth="Container"
factory="org.apache.commons.dbcp2.BasicDataSourceFactory"
type="javax.sql.DataSource" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://wal1dev-txdb2:1433;DatabaseName=paytronix_me_data_mart;integratedSecurity=false"
username="XXX" password="XXX" maxTotal="200" maxIdle="50"
maxWaitMillis="10000"/>



Here's the relevant section of output:
2017/01/18 11:18:35 - PurRepository - Connected to the enterprise repository
2017/01/18 11:18:36 - bhtest - Dispatching started for transformation [bhtest]
2017/01/18 11:18:36 - wal1dev-txdb2_JNDI - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : Unable to find datasource by JNDI name: PxDbDataMart-paytronix_me_data_mart
2017/01/18 11:18:36 - wal1dev-txdb2_JNDI - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : org.pentaho.di.core.database.DataSourceNamingException:
2017/01/18 11:18:36 - wal1dev-txdb2_JNDI - javax.naming.NamingException: Invalid data source:'PxDbDataMart-paytronix_me_data_mart'
2017/01/18 11:18:36 - wal1dev-txdb2_JNDI - Invalid data source:'PxDbDataMart-paytronix_me_data_mart'

step plugin

$
0
0
I have a new plugin. the GUI from the plugin accept the variable like salary = ${xxx}. but when I preview it, it returned salary = ${xxx}. it seemed the value of ${xxx} was unable to pass to the plugin data object. what is wrong? thank

Deletion of Steps form transformations

$
0
0
Hey,
I have an attachment showing several steps in my transformation that I need to delete. The problem is when I delete them and save the transformation, close the transformation ad reopen it, all the deleted steps reappear.

This must a setting somewhere.


I tried restarting kettle but the problem persists.

Any ideas?????
Attached Images

Opposite of cumulative sum?

$
0
0
Hi,

I'm working with some data which is cumulative. I have amounts by account and date which I can put in order, but for a given account, what is the cleanest way to subtract the value for date d-1 from the value for date d? Clearly for the earliest date there would be no prior date amount to subtract.

Thanks,

Andy

Custom analyzer plugin - Google maps visualization not recognising key

$
0
0
Hi,

I'm having a go at creating an add-in for Analyzer (I want to display a route on Google maps).

It seems the Google maps API is already loaded in Analyzer anyway, so I haven't done an include/require anywhere. I have also put my own personal Google maps API key in the file at:

C:\Pentaho\server\pentaho-server\pentaho-solutions\system\google\googlesettings.xml

When I use mt custom add-in I get encouraging feedback in the console from the maps API, so I know it is calling it, but it is saying that I don't have a key:

INFO: [render] event executed
maps.google.com/maps-api-v3/api/js/25/15/util.js:210 Google Maps API warning: NoApiKeys https://developers.google.com/maps/d...es#no-api-keys
uE.j @ maps.google.com/maps-api-v3/api/js/25/15/util.js:210
maps.google.com/maps-api-v3/api/js/25/15/util.js:210 Google Maps API warning: RetiredVersion https://developers.google.com/maps/d...etired-version
uE.j @ maps.google.com/maps-api-v3/api/js/25/15/util.js:210
maps.google.com/maps-api-v3/api/js/25/15/util.js:210 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/d...r-not-required
uE.j @ maps.google.com/maps-api-v3/api/js/25/15/util.js:210
This service requires an API key. For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/d...pt/get-api-key

Has anyone else had any success doing something like this?

Extend Line on a bar chart

$
0
0
Hi,

I have a bar chart with a line which works great. The line is horizontal target line, but what I want to do is extend it right the way across the chart to the outer edges.


Is this possible? If someone could please point me in the right direction I would be very grateful.

Thanks

kettle 7.0 can insert into ElasticSearch 5.0 data ?

$
0
0
hi,evryone
I want to insert ElasticSearch 5.0 data with kettle ElasticSearch Bulk Insert step . my kettle version is 7.0
I find this step support ElasticSearch 2.0 .

I want to know ElasticSearch Bulk Insert step can support insert data into ElasticSearch 5.0 in kettle 7.0 ot is ther other kettle version ?

Stream being cleared

$
0
0
Hi All,

I'm trying to use Filter Rows to compare to pieces of data to see if they match, however it only picks up the step before the Filter Rows, the second step before Filter is being cleared from the stream, what's the easiest way of being able to compare two sets of data?

Kind regards.

earnea

Upgrading from mondrian 3.5 to 3.12

$
0
0
Hi,

We had recently upgraded from mondrian 3.5 to 3.12 in our application.
But after upgrading we find that some of our queries are taking longer time to run than before.
We weren't able to find the release notes for this version of mondrian. So we are not able to proceed further with our upgrade.
And it would be helpful if someone can provide or point us to the release notes for version 3.12 of mondrian.

Thanks in advance,
Tarun
Viewing all 16689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>