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

PDI Enterprise Repo based Auto documentation

$
0
0
Does any one have enterprise repo based auto documentation working?

As described load_metadata_from_repository_sample.ktr in :
http://wiki.pentaho.com/display/EAI/...ntation+Output
http://wiki.pentaho.com/download/att...=1372858028000


When I run I get following error:

2014/11/12 14:15:36 - Load metadata.0 - Unable to read file [file:///home/Import_DrugList/Import_DrugList]
2014/11/12 14:15:36 - Load metadata.0 - Could not read from "file:///home/Import_DrugList/Import_DrugList" because it is a not a file.
2014/11/12 14:15:36 - Load metadata.0 -
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:517)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:501)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2797)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2774)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2759)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2744)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2718)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2690)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadTransformation(TransformationInformation.java:105)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues(TransformationInformation.java:116)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues(TransformationInformation.java:92)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta(TransformationInformation.java:81)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow(AutoDoc.java:229)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2014/11/12 14:15:36 - Load metadata.0 - at java.lang.Thread.run(Unknown Source)
2014/11/12 14:15:36 - Load metadata.0 - Caused by: org.apache.commons.vfs.FileNotFoundException: Could not read from "file:///home/Import_DrugList/Import_DrugList" because it is a not a file.
2014/11/12 14:15:36 - Load metadata.0 - at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(Unknown Source)
2014/11/12 14:15:36 - Load metadata.0 - at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(Unknown Source)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:249)
2014/11/12 14:15:36 - Load metadata.0 - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:515)
2014/11/12 14:15:36 - Load metadata.0 - ... 14 more
2014/11/12 14:15:36 - Load metadata.0 - Caused by: java.io.FileNotFoundException: /home/Import_DrugList/Import_DrugList (No such file or directory)
2014/11/12 14:15:36 - Load metadata.0 - at java.io.FileInputStream.open(Native Method)
2014/11/12 14:15:36 - Load metadata.0 - at java.io.FileInputStream.<init>(Unknown Source)
2014/11/12 14:15:36 - Load metadata.0 - at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream(Unknown Source)
2014/11/12 14:15:36 - Load metadata.0 - ... 18 more

Dynamic Excel

$
0
0
Hello all. I'm new to Pentaho.

I'm working on a transformation that needs to read an Excel file as an input, take a column from it and count the rows it has.

The problem is that the Excel file and the column for the count cannot be hardcoded.
Can you guide me on what should I do to give a dynamic Excel input and a dynamic column for the count on the Group By transformation that performs the row count?

Thanks in advance.

Oscar

Ad Hoc Reporting Functionality for 5.2 CE BI?

$
0
0
First off . . . Kudos to all the BI Developers, I am very impressed with 5.2 and the Marketplace Integration! Great Job!

I noticed Saiku Ad Hoc (Now Saiku Reporting) is not yet available in the Marketplace. I personally really liked Saiku Ad Hoc cuz the UI was very intuitive and easy to get rolling on for novice users!

I just got 5.2 up and running after being on 4.8 for a while and when I noticed I could not install Saiku Reporting I installed WAQR and compared to Saiku Ad Hoc I am not impressed with the WAQR UI for it is not as intuitive plus it is no longer supported.

So I checked out CDB since I had never played with it before & had always used Saiku Ad Hoc in BI 4.x. When I went into CDB and chose "New Query" then clicked on "Set Query" it just dumped me into Saiku Analytics. I don't get it . . . ?

So is CDB not really a standalone "Data Browser" for building Reports like Saiku Ad Hoc? Is this the intended design of CDB ie: to just dump you into Saiku Analytics? What would have happened if I did not have Saiku Analytics installed?

Is there any functionality available that I can install through Marketplace in 5.2 that gives me the same functionality as Saiku Ad Hoc? Don't get me wrong I love Saiku Analytics yet I also loved Saiku Ad Hoc but they are definitely different tools!

Can Saiku Ad Hoc Plugin still be manually installed in BI 5.2 w/o messing up Marketplace in any way?

Are Ctools and Marketplace installed plugins compatible on a 5.2 BI install side by side or is it best once you run Marketplace to not use Ctools? Are there any compatibility issues with running old 4.x plugins like Saiku Ad Hoc on a 5.2 instance of BI?

Thanks in advance for any suggestions or help you can provide!

Oracle 11g PLSQL to PDI

$
0
0
Hello -

We are in the process of trying to prototype the migration of our (sometimes complex) data management process from PL/SQL to Pentaho. Are there any available online resources that explain how to deconstruct a PLSQL block(s) into separate PDI steps/transformations?

Are there best practices that anyone who has done this before can share? Ultimately, I'm looking to make our PL/SQL processes more modular, readable and manageable by breaking it down into separate components/transformations (especially for someone who may not know PL/SQL code).


Thanks in advance.

AWS and Your Crown Jewels

$
0
0
These are my thoughts on a recent Dan Woods (Forbes) post titled “Will Companies Ever Move Their Crown Jewels to Amazon Web Services?“. My short answer is yes, because otherwise Jeff Bezos (the Founder of Amazon) has failed. As of today Bezos is worth $28.8 bn and #16 on Forbes list of powerful people. I’m […]

More...

Border lines doesn't touch the bottom row.

$
0
0
Hi!

I'm very new to PRD.

I've been doing this for days now, but I still can't figure out why the bottom border lines won't touch the next row when one of the column has 2 lines of input.

table.jpg

I've tried adding the text-field into band and do the borders on the band, but it still returns the same result.

Currently, I just add bottom, top and left borders to Details, and add right border for each text-field.

Thanks in advance!
Attached Images

Pentaho CE 5.2 website HTTP Status 404 ERROR

$
0
0
Windows 2008 R2
Pentaho CE 5.2
JDK 7

I setup PENTAHO_JAVA_HOME , and then modified some xml files to replace the repository database to Oracle 11g , but I'm not sure that I modified them correctly .
I run start-pentaho.bat , and then tomcat launched . When I open the website http://localhost:8081/pentaho , it occurred HTTP Status 404 error .
There are 3 logs under biserver-ce/tomcat/logs .

Attached are the log files.

Could anyone help me and give me some instructions , this is the 1st time for me to use Pentaho , I'm confused .
Any hlep will be appreciated

Thanks,
Brook
Attached Files

getting started - where are the dependencies

$
0
0
Hi All,

I am getting started with mondrian and I am looking to just it as OLAP4J or XML/A server. I dont need the entire pentaho stack.

I downloaded mondrian-3.8.0.0-209.jar and went through the installation instructions in the documentation page. Instructions here seem to be really out of date.

As the first step, I just wanted to be able to load data into my MySQL instance. I couldnt get this to work since the dependencies are available anywhere.
I tried getting a older version (2.1.1) and copied the dependencies from there. There were just too many and I couldnt choose only those that I need. And considering the fact that these are for older version of mondrian, I am not even confident it would work reliably.

I looked around to locate the list deps that go with the 3.8.0 version but couldnt find. I checked at github, checked sf release dirs. Nowhere could I find them.

It will be great if someone could give me pointers or ideas as to how to identify the list and get going.

Thanks
prem

How to use the CDE Tutorial+Demos?

$
0
0
Hi CTools Product Development,

I have purchased the CDE Tutorial+Demos. and install them like this:

java -jar cde-opendemo-1.3-installer.jar


but dont know how to open it and how to use it? can you give some docs or hints? thank you in advance!!

CDE Dynamic Columns - Value Formatter and Table Customization

$
0
0
I have a CDE dashboard having a dynamic pentaho cde table component so the number of columns are not fixed.
It may contain 4 columns,3 columns,5,6,7,8 columns or may be more than this.
And,sometime first two columns are of string typea or it could be string and numeric depends upon the dynamic mdx query.
Now I have to format numeric columns' values like #####.######## into ###,### and also to add addins like 'trendarrows' on some numeric columns ,with formatted values like ###,###.

Since, the report is dynamic I cannot use the properties for the table component for Column type ,Column Format.

Can someone help me out please??


Thanks in advance!!

Downgrading of Kettle Jobs/Transforamtion from v5.1 to v 4.2

$
0
0
Hi all,

We're facing a problem where due to limitations of one our Application we need to use Kettle in v4.2, however we already developed several (more than 140 transformations) in Kettle v5.1.
Is there some quick way how to downgrade all tansformations in older version of Kettle? (Somethink like save as .kjb v4.2 ???)

Your help will be much appreciated.

MYSQL DataSource

$
0
0
Hi Team,

Can you please help on the following in Pentaho EE 5.2. Thank you:

I am trying to add a 'New DataSource' (MYSQL) in the Pentaho User Console.

Since 'MYSQL' is not there in the 'DataSource' type i am trying to connect using the 'Generic' option and getting the below error.

Can you help me solve on the attached error. Thank you.

Error Message: (PFA the screen shot).

ConnectionServiceImpl.ERROR_0009
- Connection to database[ null ] failed

Thank you.

FYI:

In 'jdbc:mysql://localhost:3306/Pentaho_Test'

'Pentaho_Test' is the name of the database in MYSQL.
Attached Images

Calculating median and percentiles for a report in pentaho reporting 5.0.1

$
0
0
Hi All,

I have a scenario like need to get the following aggregation for a report.

I have a field like "cost" in report now i want to calculate the following aggregations.

I tried summary functions like sum,min,max it worked out but how to calculate the below values.
please help me in this scenario.

Average of Cost
Median of cost.
95 th percentile of cost


Thanks,

phani

Remote start of Job.

$
0
0
Здравствуйте.
Хотелось бы понять, возможно ли с компьютера, на котором не установлена пентахо, запустить джоб на сервере? Если да, то как это сделать?

Hello.
I would like to understand whether it is possible with the computer that is not installed pentaho, Jobe run on the server? If so, how?

Plot fixed line in bar chart

$
0
0
Hi buddies,
I have a bar chart and i would like to put a fixed line into it. I have capacity of four products each month and would like to place eg. a red line in an amount up to the last month.
Any tips on how to plot this fixed line in bar chart?

ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected er

$
0
0
Hi ,

I am very new to Pentaho ,could anyone please help on below errors.

2014/11/13 16:52:05 - Table input.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected error
2014/11/13 16:52:05 - Table input.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2014/11/13 16:52:05 - Table input.0 - Couldn't get row from result set
2014/11/13 16:52:05 - Table input.0 -
2014/11/13 16:52:05 - Table input.0 - Unable to get value 'String(100)<binary-string>' from database resultset, index 12
2014/11/13 16:52:05 - Table input.0 - [Microsoft][ODBC Driver Manager] Invalid string or buffer length
2014/11/13 16:52:05 - Table input.0 -
2014/11/13 16:52:05 - Table input.0 -
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.database.Database.getRow(Database.java:2410)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.database.Database.getRow(Database.java:2380)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:145)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2014/11/13 16:52:05 - Table input.0 - at java.lang.Thread.run(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2014/11/13 16:52:05 - Table input.0 - Unable to get value 'String(100)<binary-string>' from database resultset, index 12
2014/11/13 16:52:05 - Table input.0 - [Microsoft][ODBC Driver Manager] Invalid string or buffer length
2014/11/13 16:52:05 - Table input.0 -
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.row.value.ValueMetaBase.getValueFromResultSet(ValueMetaBase.java:4743)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.database.BaseDatabaseMeta.getValueFromResultSet(BaseDatabaseMeta.java:2086)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.database.DatabaseMeta.getValueFromResultSet(DatabaseMeta.java:2852)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.database.Database.getRow(Database.java:2402)
2014/11/13 16:52:05 - Table input.0 - ... 4 more
2014/11/13 16:52:05 - Table input.0 - Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
2014/11/13 16:52:05 - Table input.0 - at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - at sun.jdbc.odbc.JdbcOdbc.SQLGetDataBinary(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - at sun.jdbc.odbc.JdbcOdbc.SQLGetDataBinary(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - at sun.jdbc.odbc.JdbcOdbcResultSet.getBytes(Unknown Source)
2014/11/13 16:52:05 - Table input.0 - at org.pentaho.di.core.row.value.ValueMetaBase.getValueFromResultSet(ValueMetaBase.java:4705)
2014/11/13 16:52:05 - Table input.0 - ... 7 more
2014/11/13 16:52:05 - Table input.0 - Finished reading query, closing connection.
2014/11/13 16:52:05 - Table output.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected batch update error committing the database connection.
2014/11/13 16:52:05 - Table output.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException:
2014/11/13 16:52:05 - Table output.0 - Error updating batch
2014/11/13 16:52:05 - Table output.0 - Batch entry 0 INSERT INTO "public".sw_purchase (forwarder, landing, "type", date_of_reception, week, "month", "year", origin, invoice_date, item_code, brand, description, party_name, bill_of_entry_no, qty, bill_no, invoice_fob, deacathlon_rate, invoice_value, be_exchange_rate, invoice_amount, trans_total, trans_by_item, insurance, landing_charges, av, bcd, cvd, cess_on_cvd, cess_on_bcd, sad_duties, anti_dumping, total_duties, freight_charges_total, freight_by_item, dpp_commision_total, dpp_commision_by_item, total_purchase, unit_price, vat_external, net_amt, volume, shipment_type) VALUES ( NULL, 14.0, 'PURCHASE@14%', '2012-01-01 00:00:00.000000 +05:30:00', 201252.0, 1, 2012, 'DIRECT PURCHASEBG', '2012-01-01 00:00:00.000000 +05:30:00', 9000181.0, 'HEALTH AND DISCOVERY', 'BREAKFAST AWESOME APPLE', 'Kaseb Health Care PVT LTD', NULL, 96, 'Kaseb-1', 9473.28, NULL, 9473.28, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9473.0, 98.68, 1326.26, 10799.54, 0.14, NULL) was aborted. Call getNextException to see the cause.
2014/11/13 16:52:05 - Table output.0 -
2014/11/13 16:52:05 - Table output.0 - at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1377)
2014/11/13 16:52:05 - Table output.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1366)
2014/11/13 16:52:05 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:571)
2014/11/13 16:52:05 - Table output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96)
2014/11/13 16:52:05 - Table output.0 - at java.lang.Thread.run(Unknown Source)
2014/11/13 16:52:05 - Table output.0 - Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO "public".sw_purchase (forwarder, landing, "type", date_of_reception, week, "month", "year", origin, invoice_date, item_code, brand, description, party_name, bill_of_entry_no, qty, bill_no, invoice_fob, deacathlon_rate, invoice_value, be_exchange_rate, invoice_amount, trans_total, trans_by_item, insurance, landing_charges, av, bcd, cvd, cess_on_cvd, cess_on_bcd, sad_duties, anti_dumping, total_duties, freight_charges_total, freight_by_item, dpp_commision_total, dpp_commision_by_item, total_purchase, unit_price, vat_external, net_amt, volume, shipment_type) VALUES ( NULL, 14.0, 'PURCHASE@14%', '2012-01-01 00:00:00.000000 +05:30:00', 201252.0, 1, 2012, 'DIRECT PURCHASEBG', '2012-01-01 00:00:00.000000 +05:30:00', 9000181.0, 'HEALTH AND DISCOVERY', 'BREAKFAST AWESOME APPLE', 'Kaseb Health Care PVT LTD', NULL, 96, 'Kaseb-1', 9473.28, NULL, 9473.28, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9473.0, 98.68, 1326.26, 10799.54, 0.14, NULL) was aborted. Call getNextException to see the cause.
2014/11/13 16:52:05 - Table output.0 - at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2743)
2014/11/13 16:52:05 - Table output.0 - at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:461)
2014/11/13 16:52:05 - Table output.0 - at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1928)
2014/11/13 16:52:05 - Table output.0 - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
2014/11/13 16:52:05 - Table output.0 - at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
2014/11/13 16:52:05 - Table output.0 - at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1353)
2014/11/13 16:52:05 - Table output.0 - ... 3 more
2014/11/13 16:52:05 - Table output.0 - Finished processing (I=0, O=0, R=179, W=0, U=0, E=1)
2014/11/13 16:52:05 - MSaccess2postgres - Transformation detected one or more steps with errors.
2014/11/13 16:52:05 - MSaccess2postgres - Transformation is killing the other steps!
2014/11/13 16:52:05 - Table input.0 - Finished processing (I=180, O=0, R=0, W=179, U=0, E=1)
2014/11/13 16:52:05 - MSaccess2postgres - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!
2014/11/13 16:52:05 - Spoon - The transformation has finished!!
2014/11/13 16:52:05 - MSaccess2postgres - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!
2014/11/13 16:52:05 - MSaccess2postgres - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!
2014/11/13 16:52:05 - MSaccess2postgres - Transformation detected one or more steps with errors.
2014/11/13 16:52:05 - MSaccess2postgres - Transformation is killing the other steps!


Thank you

How can I use Pentaho Report Output

$
0
0
I wanted to generate PDF files using "Pentaho Report Output" component using Transformation.

Below are the steps I performed -

1 - Created Transformation with below steps -

Table Input --> Filter Rows (based on some condition) -->"Pentaho Report Output"

2) Created Report by report designer

Set data "Pentaho Data Integration" of Filter Rows (above) and created report and published to console.

and want to refer the published report in DI transformation but getting error on component "Pentaho Report Output". and unable to generate pdf file..

Is this can be achieved ? No related help available for the same.

unable to plot the Box Plot chart in CDE

$
0
0
Hi Forum,
I am trying to create the Box plot chart in pentaho cde to plot the following data set :

Product Sale
P1 100
P2 20
P3 30
P4 40
P5 200

But I am not getting box plot output as per the expectations. There, just a horizontal line depicting sales for each product is displayed instead of boxes .

can u guide me if i need to add any other property or something to it to get correct box plot or some changes to be made in the sql query.
Please reply asap

how to execute a job on the carte by the carte web service?

Passing values from one transf to the next one

$
0
0
I know this has been addressed several times and I feel like a noob trying to find it! :(

I need to execute a transformation with a parameter to be used on its Table input step ("select ... where xx=VALUE") , the transformation has to be executed for every row of a previous select step that will provide the VALUE to be used.

Just now I'm having a confusion between parameters/args and how to use them in the correct way. Can anyone send me to the correct doc? (I will copy it by hand one dozen times, promised! :D )
Viewing all 16689 articles
Browse latest View live


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