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

Good Tutorials for PDI (kettle)

$
0
0
Hi All,

Could you guys suggest some good study materials for learning PDI?

BCP (in SSIS) Equivalent in PDI

$
0
0
Is there any utility in PDI which works like BCP(in SSIS)?

Matrix dashboard (analysis crossed)

$
0
0
Hello,
I tried to create a reporting I want to have an array matrix board as the example in the file attachment.
I used the analysis crossed but I'd be stuck in the stage of total and I can not move maleureusement, thank you for helping me
Matrice.jpg
Attached Images

PDI Json Input for a Report on BI 6.1?

$
0
0
I'm having trouble getting the Json Input step to run when used in a Kettle data source.
There is mention of something here about non-compatibility with 6.1 as i gather than the fastjson code is now part of the core plugin?:
https://github.com/graphiq-data/pdi-...ugin/issues/13

I have used the revised jar from here and it works in spoon/report designer, but both this and Json input fail when i try and run the report from the biserver-ce.
I get an error "Transformation reported 1 records with errors and stop-on-error is true. Aborting."

I have reverted to using a Modified Javascript step which works, but is prone to scripting errors (and I gather is slower).

I'm running BI 6.1.0.1.196 on Tomcat 8.0 on my local windows machine and I copied across the Jars from the data-integration/plugins folder to the biserver-ce/pentaho-solutions/system/kettle/plugins folder. So for example both the kettle-json-plugin and fastjson-plugin folders and contents are present.
Any suggestions on what to check?

classic-extensions raises null pointer exception on windows

$
0
0
Hi there,

I have been embedding pentaho reporting for more than a year sucessfully, but recently I included the classic-extensions library in order to support barcodes in my reports, and this has raised a problem, but only in Windows:

WARNING: Failed to print the report
java.lang.NullPointerException
at javax.print.attribute.HashAttributeSet.add(Unknown Source)
at org.pentaho.reporting.engine.classic.extensions.modules.java14print.Java14PrintUtil.copyConfiguration(Java14PrintUtil.java:136)
at org.pentaho.reporting.engine.classic.extensions.modules.java14print.Java14PrintUtil.print(Java14PrintUtil.java:352)

I have tried various versions: 5.0.1-stable, 5.0.7 and 6.1.0.7-258, all with the same results.

It works smoothly on Linux!

Any idea?

Thank you!

classic-extensions raises null pointer exception on windows

$
0
0
Hi there,

I have been embedding pentaho reporting for more than a year sucessfully, but recently I included the classic-extensions library in order to support barcodes in my reports, and this has raised a problem, but only in Windows:

WARNING: Failed to print the report
java.lang.NullPointerException
at javax.print.attribute.HashAttributeSet.add(Unknown Source)
at org.pentaho.reporting.engine.classic.extensions.modules.java14print.Java14PrintUtil.copyConfiguration(Java14PrintUtil.java:136)
at org.pentaho.reporting.engine.classic.extensions.modules.java14print.Java14PrintUtil.print(Java14PrintUtil.java:352)

I have tried various versions: 5.0.1-stable, 5.0.7 and 6.1.0.7-258, all with the same results.

It works smoothly on Linux!

Any idea?

Thank you!

NOTE: I tried to remove a duplicate of this on the "reporting developer" subforum, but could not. I found this subforum to be the best suited afterwards. Sorry for the duplicate.

Connection Name as Variable - Table Input

$
0
0
Hello,

I was wondering if there is a way to pass the connection name as a variable in table input rather than a fixed static name. the reason is that we are connecting to multiple sql instances where we want to utilize the connection pool and switch to different sql instance in the same job given the condition.

appreciate your help....

Thanks,
Ton

Repeat webservice data

$
0
0
In my webservice it is possible to inject a value at a time, but I would have 10 values to generate it in the final file in pentaho can do a repeat and adding a line under the other? until you reach the end of the array?


Sem título.jpg
Attached Images

Passing Transformation ERROR Log file to Javascript to filter Error Status in PDI

$
0
0
Hi,


I am running below javascript in Kettel job to filter rollback transaction "Transformation ERROR Log file". if result is true, the retry must be applied, otherwise error log send thru email. however, code does not work. for more detail information, please see the attached file (image file).

Thanks again for your support.

function getMatches(searchStr, str) {
var ind = 0, searchStrL = searchStr.length;
var index, matches = [];

str = str.toLowerCase();
searchStr = searchStr.toLowerCase();

while ((index = str.indexOf(searchStr, ind)) > -1) {
matches.push(index);
ind = index + searchStrL;
}
return matches;
}


var errorMsg = previous_result.getLogText()

if(getMatches('Transaction collision',errorMsg).length > 0)
{
// issue caused by rollback transaction. retry it again.
true;

}else{
// send error log
false;
}

Case_Study_Javascript_Filtering.jpg
Attached Images

Help Required. Weka Libsvm.

$
0
0
Hi all.


Im new to WEKA data mining tools, requires a bit of enlighten here.

As shown in the image, the TP and FP s 1.000 at the same row. Is it possible or there's something wrong with my data?

This make changing of Gamma or Cost value impossible as I am required to do optimization of data using libsvm for my project.

Hope someone can enlighten me as I have been stuck wit this problem for a few weeks.

Thanks!

Fishii
Attached Images

Parse Mysql column

$
0
0
Hi,
I have a mysql table with a column containing name and address information that looks like:

a:7:{s:4:"name";a:2:{s:5:"first";s:5:"Adele";s:4:"last";s:4:"Tams";}s:7:"address";s:16:"408/2 Testing Ave";s:4:"city";s:9:"Sydney";s:7:"country";s:4:"1877";s:5:"state";s:4:"2233";s:8:"zip_code";s:4:"2093";s:5:"phone";s:10:"0410999888";}

How can I parse the data so that I see something like the following in a report?

Adele Tams
16 Testing Ave
Sydney
2093

0410999888

Regards and thanks for any help.

Reuse query for multiple reports

$
0
0
Hi,
I have created a query and used the result to "populate" a report.
I would like to use the query several times to present the information in different ways.

Is there a way to reuse queries?

Regards

CDE Dashboard and javascript errors

$
0
0
Hi guys,

I've activated CDE Dashboard in my Pentaho 6.0.1 installation (all based on https://help.pentaho.com/Documentati...s/Activate_CDE).
After the restart of pentaho the CDE Dashboard is visible in the menu and when I click on it the user interface of CDE is available, but ...

During the "initialization of CDE" firebug shows me a lot of javascript errors (see the attachment)
And I'm not able to click any link on the top and bottom of this view (each clik generates a new js error)

It seems as some js library couldn't be loaded, but I'm not sure if this is really the case.

I appreciate your help by this strange issue.

Greetings,
Konrad
Attached Images

Repository Creation in bi server 6.1

$
0
0
how to create repository in bi server 6.1 community edition

data base :postgresql
OS :windows

PLEASE replay me

there is no "create now" in pentaho in my PC


Multiplication in Pentaho

$
0
0
Hello,
I have three fields that I want to multiply and then divide by a number. For example, (Basis_amt*rate*days)/365. All the fields are number type. I tried using the calculator step, but it did not work. Any suggestions would be appreciated.
Thanks

UniJDBC driver

$
0
0
Hi,

I am attempting to connect PDI to an application on a Universe platform.

I have the latest JDBC drivers from Rocket for Universe, but am getting errors trying to use this with PDI 6.1 which is expecting com.ibm... paths in unijdbc.jar, where the new version has everything under com.rs...

Error on testing the connection:


Driver class 'com.ibm.u2.jdbc.UniJDBCDriver' could not be found, make sure the 'UniVerse database' driver (jar file) is installed.
com.ibm.u2.jdbc.UniJDBCDriver



I have tried renaming the path and rebuilding the jar file but the com.rs... path must be hard coded in some of the class files so it's getting a bit hard to try and correct every reference. I also found an older unijdbc.jar file which works as far as testing the connection, but fails to obtain any metadata due (I suspect) to not having matching dlls etc.

Does someone have an IBM distributed unijdbc driver and associated dll and asjava files that they could share?

Or, does anyone have any recommendations on how to work around this?


Thanks,
Lindsay

Set Active Database Connection

$
0
0
Hi,

I have not figured out how to set active database connection.
For example, I have 2 connections in my job. job contains multiple transformations and inner jobs, I shared connection in my main job but it is not active.
when I run my job it still works on another connection that is not shared.
Here it ran on Connection localhost_erpus_live and not on erp_live_remote

btw I am using pdi-ce-5.0.1.A-stable

sample.jpg
Attached Images

Horizentale display data

$
0
0
Hello,
I usually work a report that appears in the form of a table with a nomral entete and data that is displayed vertically,
I encountered a case where I have presnte data in horizentale form as the case attaches
is there a solution?field_horizentale.jpg
Attached Images

Calling UDFs when inserting/updating wors

$
0
0
Hello,

We have some UDFs, for example, to normalize names so that "Jean-Paul" becomes "JEANPAUL". It's a combination of toUpper() and other logic to cleanup or normalize extra characters. From looking around, i think i have found a way to do this but it feels cumbersome:
- Table input with select nameFirst, nameLast, id from user
- Table input with parameters with select normalize(?) as nameFirstNorm, normalize(?) as nameLastNorm
- Insert/Update with "id" as lookup field, and nameFirstNorm, nameLastNorm as update fields

I have to do this for a number of use cases, so the scale of the number of such transformations i have to do is large. This feels cumbersome. I was wondering if there is some ability to do "normalize(nameFirst)" directly in the insert/Update step which would be much cleaner. I tried, but that didn't work, and i couldn't find any material related to such an ask. Separately, if this is not available, is this more because of time and resources to implement, or maybe some fundamental limit i am not understanding?

Thank you,
Laurent Hasson.
Viewing all 16689 articles
Browse latest View live


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