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

Error occured while trying to connect to the database

$
0
0
Hi all , got following error while executing the jobs on PDI .
i do have mysql driver in place (libext/JDBC) . can some one say , what would be the reason of failure .
By error i came to know , error while connecting to DB , but my DB is up , i can access it by cmd prompt .


Error occured while trying to connect to the database

Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
ERROR 03-08 11:05:10,595 - stepname- Error initializing step [Update]
ERROR 03-08 11:05:10,595 - stepname - Step [Update.0] failed to initialize!
INFO 03-08 11:05:10,595 - stepname - Finished reading query, closing connection.
ERROR 03-08 11:05:10,596 - stepname - Unable to prepare for execution of the transformation
ERROR 03-08 11:05:10,596 - stepname - org.pentaho.di.core.exception.KettleException:
We failed to initialize at least one step. Execution can not begin!


Thanks,

Hierarchical Data Transformation

$
0
0
hi folks,

I've spent several houres to figure out the solution for the following hierarchical data-transformation problem. Without any success!
Is there any best practice pattern in pdi for solving this:

Target-Structure (i.e in DataGrid)

level name
1 A
2 AA
2 AB
3 ABA
3 ABB
3 ABC
1 C
2 CA
3 CAA
3 CAB


to this Destination-Structure:


level1 level2 level3
A AA
A AB ABA
A AB ABB
A B ABC
C CA CAA
C CA CAB

The number of possible levels is static (3).

Thanks in advance for any useful answers.

mb

Loop /Page through query in 100 record chunks?

$
0
0
Hello,

I am querying a table for a list of thousands of ID's which I want to want to store in a variable and then pass in a webservice call in 100 record chunks to get additional information about the records.

I can figure out how to make the webservice and retreive the data but what I dont know how to do is page through the query. Can anyone point me at the right transformation steps I should look at to accomplish this, for example, single threader?

http://wiki.pentaho.com/display/EAI/Single+Threader

Thanks

EE dashboard to open in Community edition

$
0
0
Hello Everyone,

I would like to know if I can use Enterprise Edition dashboard (.xdash) file to open in Community Edition?
I have created a EE dashboard and want to open it in CE. Is this possible?

Pls let me know.

Regards,
Sneha

Unable to initialize the modules

$
0
0
Hi,
during booting report engine I've got following warnings:
Code:

Aug 05, 2013 2:24:38 PM org.pentaho.reporting.libraries.resourceloader.ResourceManager registerDataCache
WARNING: Failed to create data cache: net/sf/ehcache/CacheException
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to initialize the module misc-beanshell
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to initialize the module misc-bsf
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to load module classes for legacy-charts:org/jfree/chart/JFreeChart
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to initialize the module ext-rhino
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to initialize the module ext-sbarcodes
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.PackageState initialize
WARNING: Unable to initialize the module ext-sparklines
Aug 05, 2013 2:24:40 PM org.pentaho.reporting.libraries.base.boot.AbstractBoot start
INFO: Pentaho Reporting Engine Classic 3.9.2.2.16587 started.

Application works ok, but I'm afraid that something shoot me soon :)

Table Output: Identity Column Value

$
0
0
Hi Team,

I am trying to transfer data from 'SQL server' to 'Sybase' database for a table which has 'identity column' in it.

Since i want the identity column values also to be inserted in the target, i have created a transformation with the following steps:

1. 'Execute SQL script' with 'Set identity inert 'table1' on'.
2. 'Table Input' from Sql server.
3. 'Table Output' to Sybase.
4. 'Execute SQL script' with 'Set identity inert table1 off'.

Also i have made the transaction 'Transformational'.

Is 'Step 4' ( setting identity insert to 'OFF' again) compulsory? Even without Step4 , When i execute the transformation is working fine.
( I am facing problems if i have 'Step 4' sometimes as i get error 'cannot insert values into identity column set to off'.)

Please let me know is this the correct way to insert values into the identity column of a table.?

Thank you.

Naseer.

Page break (Print)

$
0
0
Hi !

Does anyone know how to insert Page Breaks in a Dashboard ?
Because I use the window.print() function in a javascript code to export my dashboard to PDF (it contains table components, so that seems the only way), and sometimes a table is cut in the middle... That does not look good at all !


Thanks

Get data from XML : Check the namespace

$
0
0
Hi,

I want to check that the namespace of the XML file I want to load is the right one.
Does anybody have a quick sample on that?

I've tried ../../../*[name()='Document@xmlns'] with a loop xPath like /*[name()='Document']/*[name()='Level1']/*[name()='Level2'] but I can't get anything.

Thanks!
Regards,

Jer

Results Count

$
0
0
Good Morning.

Is there a way to count the number of entries in a Row Result?

I have a sequence of information that I put into a result (Copy Rows to Result). Is there a way to determine the number of individual rows in a result (using JavaScript/Java/Other)?

Thank you for your assistance.

Ray

Listener refused the connection

$
0
0
Hello,

I am facing some problems in PDI 4.4.1, from time to time, when my Oracle listener refuses the connections.

The message errors is like:
2013/08/05 16:30:27 - DK Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - DK Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - DK Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - DK Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - DK Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - BE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - BE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - BE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - BE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - BE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - EE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - EE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - EE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - EE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - EE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - IT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - IT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - IT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - IT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - IT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - CZ Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - CZ Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - CZ Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - CZ Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - CZ Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - DE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - DE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - DE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - DE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - DE Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - HU Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - HU Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - HU Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - HU Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - HU Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - FI Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - FI Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - FI Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - FI Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - FI Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - LV Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - LV Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - LV Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - LV Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - LV Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - MA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - MA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - MA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - MA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - MA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - NO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - NO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - NO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - NO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - NO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - RO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - RO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - RO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - RO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - RO Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - PT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - PT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - PT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - PT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - PT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - PL Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - PL Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - PL Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - PL Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - PL Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - ES Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - ES Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - ES Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - ES Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - ES Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - UA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - UA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - UA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - UA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - UA Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - CH Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - CH Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - CH Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - CH Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - CH Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

2013/08/05 16:30:27 - MT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : An error occurred, processing will be stopped:
2013/08/05 16:30:27 - MT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error occured while trying to connect to the database
2013/08/05 16:30:27 - MT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) :
2013/08/05 16:30:27 - MT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2013/08/05 16:30:27 - MT Tbl input.0 - ERROR (version 4.4.1-GA, build 18329 from 2013-04-17 12.31.49 by buildguy) : Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:xe

After I restart my PC I can run again the transformation.
Please let me know if you can help with this problem.

Thanks,
J

Select the N last lines from a "Text File Input".

$
0
0
Hello, I want to select the line number N and N-2 from a text file input (N=rowcount) but I don't know how do it.
For example:


Text File Input:
------------------
Line 01
Line 02
Line 03
Line 04
Line 05




Text File Output:
------------------
Line 03
Line 05


Thanks for all!

Training algorithm

$
0
0
Hi,

I'm training an algorithm to detect whether a twittermessage is positive or negative. I have a trainingset (arff file) with 400 messages (200 labeled positive and 200 negative). The weird thing is that when I change the order of the messages in the training file, my precision also changes. For example when I first have 200 positve messages and then 200 negative messages I have a precision of 80% but when I have an arff file with first 50 positive, then 50 negative, then 50 positive and then again 50 negative, my precision is 75%. Why does the order of your messages in the trainingfile matter? and which order gives the best precision?

Thnx!

Can't get formula step to work

$
0
0
The set up is for now is as simple as possible. A Data Grid step provides singe row with a single field i and the value 0.
And the formula step just adds another field j with value 1 or changes i to value 1. Can't get anything to work no matter what combination of settings I choose.

formula.jpg

The picture shows as formula "[i]" - of course to get the value 1 I tried the formula - yes - "1" (without quotes). I thought maybe the formula step expects at least one variable - whatever - nothing works.

formula.ktr

What I actually want to do is calculate a date starting from TODAY() - which doesn't work of course either - so I boiled it down to above given arrangement.

Any similar example that works would probably help already.

Please help, I am going crazy!
Attached Images
Attached Files

Run reporting with XQuery

$
0
0
Hello,

I´ve found a wiki explaining how to run report with XQuery at:

http://wiki.pentaho.com/display/COM/XQuery+Report

Unfortunately i´m receiving the following error message when i try, can anybody help me ?

Code:

14:11:52,579 WARN  [TemplateUtil] not found: XML_DOCUMENT
14:11:52,579 WARN  [TemplateUtil] not found: XML_DOCUMENT
14:11:52,579 WARN  [TemplateUtil] not found: XML_DOCUMENT
14:11:52,579 WARN  [TemplateUtil] not found: XML_DOCUMENT
14:11:52,579 WARN  [TemplateUtil] not found: $a/name
14:11:52,579 WARN  [TemplateUtil] not found: sum($p/nav)
14:11:52,581 WARN  [TemplateUtil] not found: $a/name
14:11:52,581 WARN  [TemplateUtil] not found: sum($p/nav)
14:11:52,596 WARN  [CascadingDataFactory] Deprecated behavior: None of the data-
factories was able to handle the query 'org.pentaho.platform.plugin.action.xml.x
query.XQueryLookupRule#aimfQuery'. Returning empty tablemodel instead of failing
 hard.
14:11:52,596 WARN  [CascadingDataFactory] Be aware that the default for this set
ting will change in version 0.8.11. To avoid this warning, make sure that all da
ta-sources are properly configured and that no report references illegal queries
.
14:11:52,600 WARN  [CascadingDataFactory] Deprecated behavior: None of the data-
factories was able to handle the query 'org.pentaho.platform.plugin.action.xml.x
query.XQueryLookupRule#aimfQuery'. Returning empty tablemodel instead of failing
 hard.
14:11:52,600 WARN  [CascadingDataFactory] Be aware that the default for this set
ting will change in version 0.8.11. To avoid this warning, make sure that all da
ta-sources are properly configured and that no report references illegal queries
.
14:11:52,603 WARN  [FastGlobalView] Warning: Data-Set does not contain a column
with name 'name'
14:11:52,610 WARN  [CascadingDataFactory] Deprecated behavior: None of the data-
factories was able to handle the query 'org.pentaho.platform.plugin.action.xml.x
query.XQueryLookupRule#aimfQuery'. Returning empty tablemodel instead of failing
 hard.
14:11:52,610 WARN  [CascadingDataFactory] Be aware that the default for this set
ting will change in version 0.8.11. To avoid this warning, make sure that all da
ta-sources are properly configured and that no report references illegal queries
.
14:11:52,612 WARN  [FastGlobalView] Warning: Data-Set does not contain a column
with name 'name'

PDI Version?

$
0
0
Hi everyone,

I was brought on board to support a PDI project. I am not the original developer (He has since left the company). I am trying to figure out what version of PDI they have installed in Production. It is on a Linux server. I only have access through command line (putty).

Does anyone know where I can find the version number?

Thanks,
Ilya

reading a not so fixed text file

$
0
0
hello
i'm having a hard time on reading a sequential file that is partly fixed. i've tried several steps but couldn't figure out how to make this work

My file has a listing of people. Each record has a line with P on it and a variable number of records on each row. I couldn't figure out how to read the P, then read the next x lines (number of lines is variable) and storing it on a row..then reading the next P and the next rows as a new record.

My file is something like:

HEADER
P <--marks the begining of a record
1JOHN DOE <--1 identifies what kind of info comes next, on this case it's name
212309029309<--2 is the idenfier of the info..it could be social security number, for example
319800918 <---same for 3...this time birth date
P
1Ronaldo
319800601 <---this record doenst have the type 2 info
P
and it goes on..

is there a way to do this with pdi? i'm desperate..hahaha

java.lang.ClassNotFoundException: org.scannotation.AnnotationDB

$
0
0
When I first start up the Schema Workbench, I get this exception thrown:

java.lang.ClassNotFoundException: org.scannotation.AnnotationDB

It's the very first thing I've tried to do once starting up the workbench for the very first time.

Note that instructions say to go to Tools->Options first, but there is no "Tools" menu. If I go to Options->Connection... , I get the same exceptoin


finding association rules for a particular attribute?

$
0
0
Hi,
I would like to find association rules in a Data set using weka, But I would like my algorithm (apriori) to ONLY look for rules that have attribute X in their right side.
let me explain with an example, lets say I have a dataset including attributes A, B and C. assuming that C is the important (or class) attribute, I would like to have only the rules that have C in their right side, like:
A,B => C
B,A => C
B=>C

but not to have rules like:
A,C =>B
C,A =>B
C=>A

how can I set this in explorer? to force algorithm to contain an attribute in the right side of generated rules?

Thank you so much,
Sahar.

New Fields created in Plugin (custom) step does not get through to the next step

$
0
0
Hello , I am fairly new to creating custom components in kettle. I created my own plugin step say ParseLog in which I have a Field1 input coming into this step from say a file and I am doing some custom logic and splitting it into n number of fields. I have created an another plugin step say LoadToOurDB which takes the output of previous step and loads into our proprietary database . So my problem is that I am able to see all the fields created in ParseLog step come to my LoadToOurDB step and also everything comes through properly when I preview but if I throw in a say Output To File step instead of LoadToOurDB and do Get Fields while setting up , I just get the Field1 and none of the other fields that I created in my ParseLog plugin step. This is what I do and I was wondering what is going on ? Thanks for the help in Advance.


public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException {
meta = (MyLogParserStepMeta) smi;
data = (MyLogParserStepData) sdi;


Object[] r = getRow();

if (r == null) // no more input to be expected...
{
setOutputDone();
return false;
}

if (first) {

data.outputRowMeta = new RowMeta();
Enumeration enuKeys = columnMapping.keys();
while (enuKeys.hasMoreElements()) {
String key = (String) enuKeys.nextElement();
RowMetaInterface newField = new RowMeta();
String type = columnTypes.getProperty(key);
ValueMetaInterface newFieldMeta = null;

if (type.equalsIgnoreCase("VARCHAR"))
{
newFieldMeta = new ValueMeta(key, ValueMeta.TYPE_STRING);

}else if (type.contains("INT32"))
{
newFieldMeta = new ValueMeta(key, ValueMeta.TYPE_INTEGER);
}else if (type.equalsIgnoreCase("TIMESTAMP"))
{
newFieldMeta = new ValueMeta(key, ValueMeta.TYPE_DATE);
}else if (type.contains("BOOL"))
{
newFieldMeta = new ValueMeta(key, ValueMeta.TYPE_BOOLEAN);
}else
{
newFieldMeta = new ValueMeta(key, ValueMeta.TYPE_STRING);
}

newField.addValueMeta(newFieldMeta);
data.outputRowMeta.addRowMeta(newField);
}

row = new Object[ data.outputRowMeta.size()];

first = false;
}

if (r[0] != null)
{
String rowStr = r[0].toString();
String columns[] = rowStr.split("\\|"); // its Has lot more processing but I have simplified it for better understanding


for (int i =0;i < columns.length ;i++)
{
row[i] = columns[i];
}

putRow(data.outputRowMeta, row);

}

return true;
}

other languages are allowed in CDE query?

$
0
0
Does CDE support other language in MDX query? (e.g. I found Chinese characters are mistaken) if not, how can I solve the problem?Thank you!
Viewing all 16689 articles
Browse latest View live


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