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

Cascading Parameters Error

$
0
0
When I try to run a report with cascading parameters,I am getting a query failed message in the error log with the error "ParentException:
java.sql.SQLException: Statement is unsupported while there is a cursor open on a Vectorwise table" and Error parsing parameter information alert on the user console screen. This happens when the report is ran for the first time.It works fine when ran for the second time.The sql works fine when previewed in the report designer.

Not sure if there is some thing that has to be changed in the code for the cursors.Please let me know if any one of you have dealt with this issue before or any ideas how to fix this.

Thanks.

JobExecutor step missing from 4.4.0GA (on sf)

$
0
0
Hi,

I'm just looking to make the jump from pdi-ce-4.4.0-M1-r16681 to the 4.4.0 GA release on SourceForge, but the JobExecutor step seems to be missing/removed from the GA release.

http://wiki.pentaho.com/display/EAI/Job+Executor

I can't see it in the available steps, the samples aren't there and I'm getting an error opening a transformation which uses it. Is there any information about this?

Thanks

New to pentaho

$
0
0
Hi,

I'm new to pentaho and was wondering if there is any documentation on how to install the community edition and how to get started!

Thanks,

Dave

Can you embed reports into an existing web page without BI server?

$
0
0
I can't seem to find a straightforward answer in any of my searches so I'm hoping someone here might be able to clarify...

I have a web application that I would like to add some reporting elements to. I've downloaded the Pentaho Report Designer and put together a basic report that pulls from my database. Is there any way to embed the report I've created into my existing web app without have to run and maintain a separate full blown BI server? I'm envisioning some way of embedding the file and passing input parameters inline or something. Is this possible with Pentaho or do I need to set up the full BI server component and run everything through there?

Insert/Update Step in Kettle

$
0
0
Insert/Update step not getting refreshed after adding a column in table.
The added column is not showing in the Insert/update step while clicking on Get Fields.
If any one can give mr the solution for this, it will be gret pleasure.

Thanks.

Set Domain Name for Pentaho

$
0
0
Hi All.
We are just starting with pentaho BI system integration in our company.
We have decided to put Pentaho User Consule as an IFrame in our backoffice.
As such, I need the Pentaho IFrame will be streach according to his content(the Pentaho User Consule).
I already found a solution for this but I have to sstretch et the domain name of the Pentaho User Consule in a JavaScript.
My question is: is there a specific javascript file or any segment of javascript code that loads in any page of the user consule so I can plane my javascript in?
the line is very simple: document.domain="mydomain.com".

any help will be appriciated.

Thank,
Avi

Pre-formatted text (like an HTML fragment or RTF data) issue in Pentaho using xmls.

$
0
0
Hi, I have data entered in rich text editor and I want to show that data in pentaho PDF report..
For example data in the below format,

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="11" COLOR="#336699" LETTERSPACING="0" KERNING="0">sample result</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="11" COLOR="#336699" LETTERSPACING="0" KERNING="0">sample data</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="11" COLOR="#336699" LETTERSPACING="0" KERNING="0">sample data</FONT></P></TEXTFORMAT>

Now I am getting as it is as above with tags also as output in report. But I need to show only text with html effect like color,bold etc.
I am using xml and sub reports to generate reports instead of using Pentaho Report Designer.
Can you please provide solution for this requirement. This is urgent requirement in my project..
Thanks in advance..

Can anybody reply with the solution or need more info regarding my query...

Please reply with your suggestions.........

Any suggestions please...

Whether it is possible or not by using xmls to show pre-formatted text (like an HTML fragment, or RTF) as one field data in PDF generation.

Apriori Algorithm

$
0
0
  1. I have two questions regarding the implementation of this algorithm.

    1. I would like to use Apriori to carry out affinity analysis on transaction data. I have a table with a list of orders and their information. I mainly need to use the OrderID and ProductID attributes which are in the following format

    OrderID ProductID
    1 A
    1 B
    1 C
    2 A
    2 C
    3 A

    Now I am aware that Weka requires you to create a nominal attribute for every product ID and to specify whether the item is present in the order using a true or false value like like this:
    1, TRUE, TRUE, TRUE
    2, TRUE, FALSE, TRUE
    3, TRUE, FALSE, FALSE

    My dataset contains about 10k records... about 3k different products. Can anyone suggest a way to create the dataset in this format?

    1. I want to find relationships between items that are frequently purchased in the same order

    I have tried out this algorithm using test data set about records from a Belgian store (obtained online). When carrying out this algorithm, all the best rules found were like the following:

    1. item7=0 item9=0 931 ==> item39=0 910 conf:(0.98)
    2. item7=0 item26=0 931 ==> item39=0 910 conf:(0.98)
    3. item7=0 item22=0 924 ==> item39=0 903 conf:(0.98)
    4. item49=0 923 ==> item39=0 902 conf:(0.98)

    0 specifies that the item was NOT present in the order. Therefore these rules are all correlations of items which do not occur in an order together frequently... which is a bit pointless and not what I want.
    I want something like
    item7=1 item35=1 324 ==> item39=1 303
    Do I need to change some parameter value? I have played around with them and even increased the number of rules outputted but still all the results contain instances were the item is not present.

How to do iteration in both source and target steps ?

$
0
0
Hi,


I have a 10 tables which should be loaded into 10 different tables. I am using basic iteration method , select 10 table names from source and copy rows to result. In next transformation get the values and execute accordingly by calling 2 transformations inside a job. My concern , how can I match the target table (if it is different from source name) while doing load in iterations ??

SAP ERP System connection can't use SAP router string?

$
0
0
I try to connect my SAP system with the router string /H/192.168.31.13/S/5110/H/.
Then i got the error:

Code:

Unable to connect to the SAP ERP server:
Cannot get SAP function

Configuration of destination FJT is incomplete: Parameter backend host ('ashost') is missing

Possibly the SAP JCo implementation library (e.g. sapjco3.dll) does not exist or cannot be loaded. Please copy it to your libext directory! If you use version 3.0.5 or higher on Windows be sure to have MS Visual C++ 2005 SP1 Redistributable Package ATL Security Update installed.
org.pentaho.di.trans.steps.sapinput.sap.SAPException:
Cannot get SAP function
Configuration of destination FJT is incomplete: Parameter backend host ('ashost') is missing
Possibly the SAP JCo implementation library (e.g. sapjco3.dll) does not exist or cannot be loaded. Please copy it to your libext directory! If you use version 3.0.5 or higher on Windows be sure to have MS Visual C++ 2005 SP1 Redistributable Package ATL Security Update installed.
    at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.test(SAPConnectionImpl.java:123)

If i use only the IP-address, i got this error. Interesting here the port number 3300.
Can i overwrite this?
Then the comibination IP:PORT in the field "Host Name" doesn't run.


Code:

Unable to connect to the SAP ERP server:

Cannot get SAP function
Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=FJT ASHOST=192.168.31.13 SYSNR=00 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode
ERROR      partner '192.168.31.13:3300' not reached
TIME        Tue May 14 11:47:27 2013
RELEASE    720
COMPONENT  NI (network interface)
VERSION    40
RC          -10
MODULE      nixxi.cpp
LINE        3286
DETAIL      NiPConnect2: 192.168.31.13:3300
SYSTEM CALL connect
ERRNO      10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER    4


Possibly the SAP JCo implementation library (e.g. sapjco3.dll) does not exist or cannot be loaded. Please copy it to your libext directory! If you use version 3.0.5 or higher on Windows be sure to have MS Visual C++ 2005 SP1 Redistributable Package ATL Security Update installed.

org.pentaho.di.trans.steps.sapinput.sap.SAPException:

Cannot get SAP function
Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=FJT ASHOST=192.168.31.13 SYSNR=00 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode
ERROR      partner '192.168.31.13:3300' not reached
TIME        Tue May 14 11:47:27 2013
RELEASE    720
COMPONENT  NI (network interface)
VERSION    40
RC          -10
MODULE      nixxi.cpp
LINE        3286
DETAIL      NiPConnect2: 192.168.31.13:3300
SYSTEM CALL connect
ERRNO      10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER    4


Possibly the SAP JCo implementation library (e.g. sapjco3.dll) does not exist or cannot be loaded. Please copy it to your libext directory! If you use version 3.0.5 or higher on Windows be sure to have MS Visual C++ 2005 SP1 Redistributable Package ATL Security Update installed.

    at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.test(SAPConnectionImpl.java:123)

Best regards
Martin

Kettle and Apache Kafka

$
0
0
I am looking at Apache Kafka for a high volume persistant queue solution and was wondering if anyone has had experience of using this with Kettle as a consumer and or producer and if so
whether it is something feasible and sensible to pursue.
Thanks.

[plugins] is it ok what I am doing?

$
0
0
Hi! I've put together a plugin that does some stuff like decoding fields, and it works perfectly!
Only problem is, since current implementation calls a webservice for every row, it is slow as hell.
I can resolve the issue elegantly (imho) by buffering rows in the data class, and then processing them in batches of 1000 rows, when the list is full.
From my initial tests this seems to work well, but is it safe to do so? Is it an approach some other step uses?

Here is what I'm doing

(in data class)
Code:

public ArrayList<Object[]>  tempRows = new ArrayList<Object[]>();
(in step class)

Code:

Object[] r = getRow(); // get row, blocks when needed!
[...]
data.tempRows.add(r);


and then, when tempRows is big enough

Code:

for (int i = 0; i < data.tempRows.size(); i++) {
    putRow(data.outputRowMeta, data.tempRows.get(i));
}

the example above does nothing to the data, but outputs rows in batches instead of one at a time

Execute a Process Error, Works on Dev Server not on Live Server

$
0
0
Hello,

I've got a transformation that has an Execute a Process step.

I've create a variable with the following content that is then used in the the Execute a Process step.
"C:\Program Files (x86)\Program Name\Program.exe" -s p1 -d p2 -c p3 -j p4 -t p5 -io p6

On my dev server works fine. I've copied the transformation to my live server and get an error:
ERROR 14-05 11:25:08,996 - Abort - Row nr 1 causing abort : ["C:\Program Files (x86)\Program Name\Program.exe" -s p1 -d p2 -c p3 -j p4 -t p5 -io p6], [org.pentaho.di.core.exception.KettleException:
Executable name has embedded quote, split the arguments
], [Result output], [ExecProcess001]


Both are running the same version of Kettle.

Does anyone know why this works on my server and not the other?

Thanks

Thang

How to set up Get mails (POP3/IMAP)? I cant make it work

$
0
0
Hi,

I need to start loading e-mail attachments from LotusNotes account. As setting the e-mail account up is currently worked on then i thought i will try to create a sample load from my personal Gmail account.

The only documentation on this step i could find is:
http://wiki.pentaho.com/display/EAI/Get+Mails+from+POP

So i have the most basic job:
START > Get mails (POP3/IMAP) > Success

I have turned the POP3 account on on the Gmail settings.
Get mails (POP3/IMAP) is configured:
Source Host: pop.gmail.com
Use SSL: TRUE
PORT: 995
Username/Password: they are correct
Use proxy: FALSE
Protocol: POP3

Test connection fails:

"Can not connected(this is not my typo, PDI shows the message falsely) to pop.gmail.com Error while connecting to host [pop.gmail.com] with username [my email account] on port [995]. Connect failed" That is all the error message states.

If i execute the job, it fails:
"nested exception is:
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"

I googled it and found that this could because of some certificate issues.

What i did then is exported the accounts.google.com certificate from browser and imported it to my java truststore:
C:\Program Files\Java\jdk1.6.0_38\bin>keytool -import -alias GOOGLE -file "C:\Users\muhv\Desktop\EXPORTED_CERTIFICATE.cer" -keystore truststore.jks
...
Owner: CN=accounts.google.com
...
DNSName: accounts.google.com
...
Trust this certificate? [no]: yes
Certificate was added to keystore

If i restarted Spoon then
Test connection still fails with the same message:
"Can not connected(this is not my typo, PDI shows the message falsely) to pop.gmail.com Error while connecting tp host [pop.gmail.com] with username [my email account] on port [995]. Connect failed"

If i now re-execute the job, then it fails with a new message:
"nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

From here i do not know what should i do? Does anybody have a hint for me?
Br,
pxr

Parameter layout / parameter page

$
0
0
Hello,

I have a report with several parameters.
With Report Designer 3.9 the parameters are arranged and designed automatically. They are arranged all horizontal or vertical.
But how can I arrange manually the parameter layout ?

For example:
I have 2 multiple list boxes (height 5 rows) and 3 text boxes. I want to arrange the controls, so that there is one multiple list box, on the right-hand side a combination of the 3 text boxes which should be one below the other and then one the right-hand side the second multiple list box.

In Pentaho 2 I used XACTION in combination with an manuall written html-template for the parameter controls.
But how can I achieve this aim with the use of Report Designer 3.9 ?

How can I affect the design of the parameter page ?
For example a head line and a short introduction for the report.
And the width of the controls.

Thanks,
_enrico_

Does update step use faster logic than the insert/update step

$
0
0
I use Kettle/Spoon to update tables/fields in MSSQL. I input data from one MSSQL table "into" Kettle. I do a bunch of transforming of said data, and then need to update (sometimes insert and update) tables back in MSSQL. My experience so far is that the Insert/Update step can be very slow when my record counts are in the 100,000 neighbourhood. So, I now often use an "Execute SQL script" step.... for example,
update table01
set BuildingArea077 = field02, BuildingAreaIndicator111 = 'L'
where field02 is not null
update table01
set set BuildingArea077 = field03, BuildingAreaIndicator111 = ‘L’
where BuildingArea077 is null

I need to know if the insert step (versus insert/update step) has “code behind it” that is more efficient than insert/update step. ie. Does it use code similar to the “Execute SQL script” step?

Thanks much… and please note that I (donman) will be contributing and using this forum a great deal over the next few months, maybe years. I am very pleased with this application and intend on making a lot of customers very happy with my work using this application!

Regular Expression evaluate character set with init cap format

$
0
0
Hi,
I am trying to use Regex Evaluation component with expression ^[A-Z][a-z]+$ to evaluate set of first names with init cap format.
When trying in many reg expression tester websites the expression works fine, but on implementation for all the names the "Result FieldName" returns "N".
Can anyone suggest an solution.

Test Cases
Margaret1 - Invalid
Joan. - Invalid
Mich@el
David - Valid
Jill - Valid

variable support in the options-tab of a database connection

$
0
0
Hello,

is it correct, that the 'Paramter' table in the 'Options' tab of the 'Database Connection'-Window doesn't support variables?
I mentioned that the Diamond Symbol, which implies variable-support, is missing, but allthough I was hoping, it would work.
Is there a possiblity to make it work or a nice Workaround?

My Task:
I am trying to configure a dynamical Database Connections with the 'Generic Database' Connection Type.
Therefore I defined some Variables in the kettle.properties for Connection String, Driver Class, Username and Password.
So far everything worked fine.

Than I added two Variables called 'PARAM_1_NAME' and 'PARAM_1_VALUE' to use them in 'Database Connection'>'Options' for the 'Parmater' und 'Value' column.
It just seems, the weren't replaced during execution of the Transformation/Job.
For example, I am needing this dynamicly for my Logging-Database. For MSSQL Server, i need a paramter 'AUTOINCREMENT_SQL_FOR_BATCH_ID' for Oracle it's 'SEQUENCE_FOR_BATCH_ID'.
(The Parameters are part of a solution to avoid deadlocks on logging tables http://wiki.pentaho.com/display/EAI/...current+access)

Thanks for your advices!

Kettle without Spoon

$
0
0
Hello everybody,
Right now the PDI is distributed as a single zip file including Spoon, Kitchen and all the dependencies. This zip file is relatively large. Although this system works fine, it's overkill and a little cluttered when it comes to deploying the PDI with the only intention of running Kettle jobs/transformation on a Linux server from a command line. Is there a way to deploy Kettle without all the extra baggage that is Spoon etc.?
Thanks

Giovanni

Generate association rules with Apriori

$
0
0
Hi,
I have a large dataset with only numbers and I need take rules of association with the number of defects. I need do An Investigation of the Effect of Module Size on Defect Prediction.
In my search I read that Apriori don't work with numeric atributes only nominal. My dataset are only with numeric atributes.
My big problem is that I need something that I don't miss the precision in my numbers. I had discretized the Numeric Attributes into Nominal but it didn't served me because occured this problem.





Can somebody help me with the best way to do this association without lose the precision numbers of my dataset? Or if there are another way to this?


Thanks,
Amanda P.
Viewing all 16689 articles
Browse latest View live


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