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

Pentaho plugin include external resources

$
0
0
Hi folks, I'm trying to include a JS file inside my dashboards from a Pentaho plugin. I realize that pentaho-cdf includes the internal CSS and JS inside the templates without any previous declaration. I trying to apply this in my plugin, include my JS file into template <head> after pentaho-cdf resources, CSS and JS.


I have the code below inside my plugin.xml:


Code:

<external-resources>
              <file context="global">content/pluign-desc/js/plugin-desc.js</file>
</external-resources>


Currently I have access to the plugin-desc.js also it is not included inside my template after pentaho-cdf resouces. How can I include the resource in my template without declare manually.


Any suggestion?

Export ETL jobs in production environment

$
0
0
Hi,
I'm using Pentaho 4.8 EE, and I'm going to pass in production some jobs created by means Spoon GUI.

I'd like to know in which way is possibile (if possible) run my ETL without the need of the repository and using kitchen.sh command scheduled by a UNIX cron.

I need to configure all the data-integration design tool in the production environment or is possible to put under data-integration-server the kitchen.sh script opportunely configured?

Thanks

Need help for implement mondrian.spi.SegmentCache in Memcached

$
0
0
Hi.
I'am using this http://code.google.com/p/spymemcached client of memcached.
How to implement listeners?
Wich string key of SegmentBody class i must to use for store in memcached ?
What is supportsRichIndex method does it mean ?

Pentaho London Usergroup - 2nd December

$
0
0
The next PLUG event is fast approaching and it looks like we're going to have some pretty interesting points for discussion. We will hear about Apache OODT as used by NASA. We'll hear about building PDI plugins, and all the gossip from the community meetup in Antwerp.
Beers are kindly being sponsored by Ubiquis BI so thanks to those guys!
Register here and join us at Skillsmatter on 2nd December
http://www.meetup.com/Pentaho-London-User-Group/…/178634722/

password length limit JTDS and MSSQL

$
0
0
I believe there is a password length limit when using JTDS and MSSQL. I had a generated password that was 16 characters long, and kept getting login denied errors. I shortened this to 12 characters and then I was able to connect. My question is, Is this a limit in JTDS or in PDI? I'd like to report a bug, but not sure which group to send this to.

Managing users through the web (rest?)

$
0
0
Is it possible to create a user in pentaho via URL? Or change the user password.
Something like that:
/user=test&role=test&password=test

Setup Pentaho BI server 5.2 with MySQL

$
0
0
Hi I am trying to setup Pentaho BI Server 5.2 CE with MySQL on ubuntu14.04. I didn't find good links on this.

Any one knows good sites where I can refer to?

One link I found useful is:
https://anonymousbi.wordpress.com/20...llation-guide/
But seems I can't browse files/examples. Also no details about customization of interface, such as login page, etc.


Thanks a lot.

How I Can Use OpenStreetMap Offline?

$
0
0
Hello guys,

How I Can Use OpenStreetMap Offline in Analysis Report?


Grateful!

Pentaho 5.0 execute component .prpt

$
0
0
Hi,
I am trying to use "execute .prpt component" but I fail show me the report. I would like to see an example to detect my fault. I think my error is in any of these characteristics: path, solution or action.

Thank you

export transformations , jobs to XML file

$
0
0
Hi

We are using Pentaho 4.4.2 on Linux. We have a requirement to export all the transformations , Jobs to individual XML files. We don't need the complete repository backup which is one single XML file. We have to get all jobs & transformations and export them as individual XML files.
Please let me know if there is any utility available or custom code written for this use case.

how to Convert Hexadecimal to Binary

$
0
0
Hi ,

I want to know with help of Pentaho How to create Hexadecimal to binary in PDI.

Currently I am using PDI5.0 with Window 7 OS

If any one know this then share your knowledge with us.

Regards,
Rushikesh

To hide a empty space in the report

$
0
0
How to remove blank space, if it is empty query?

NewMapComponent with circle marker

$
0
0
Hello community,

Recently, I am developing dashboard in which i want to display map with circle marker.And also circle radius is depends on data.

Please help me to solve this issue.

Thanks & Regards
Gaurav Ashara

PDI 5.2 CE - problem with remote access to repository

$
0
0
Hi.

I'm using PDI 5.2 CE. Repository is on PostgreSQL 9.3. Everything works ok on server where database is installed and where I'm using Spoon.
When I try to save job or transformation on this repository remotly from another PC I got error:

Unable to save step info to the repository for id_transformation=42
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)

Details of error:
java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException:
Unable to save step info to the repository for id_transformation=42

Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)


at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:72)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.pentaho.di.core.exception.KettleException:
Unable to save step info to the repository for id_transformation=42

Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)


at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:259)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate.saveTransformation(KettleDatabaseRepositoryTransDelegate.java:278)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:407)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.save(KettleDatabaseRepository.java:387)
at org.pentaho.di.repository.AbstractRepository.save(AbstractRepository.java:126)
at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:70)
... 1 more
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error inserting/updating row
BŁĄD: wartość zbyt długa dla typu znakowego (1)

at org.pentaho.di.core.database.Database.insertRow(Database.java:1268)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1195)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1181)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1169)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.insertStep(KettleDatabaseRepositoryStepDelegate.java:379)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryStepDelegate.saveStepMeta(KettleDatabaseRepositoryStepDelegate.java:226)
... 6 more
Caused by: org.postgresql.util.PSQLException: BŁĄD: wartość zbyt długa dla typu znakowego (1)
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:419)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:365)
at org.pentaho.di.core.database.Database.insertRow(Database.java:1235)
... 11 more


I tried it also on earlier version (5.0, 4.8) - always the same error.
"BŁĄD: wartość zbyt długa dla typu znakowego (1)" means "ERROR: value too long for type character(1)"

I found this thread - http://forums.pentaho.com/showthread...QL-Repositiory

My PostgreSQL log:
2014-11-21 14:40:34 CET BŁĄD: wartość zbyt długa dla typu znakowego (1)
2014-11-21 14:40:34 CET WYRAŻENIE: INSERT INTO R_JOB (ID_JOB, ID_DIRECTORY, "name", DESCRIPTION, EXTENDED_DESCRIPTION, JOB_VERSION, JOB_STATUS, ID_DATABASE_LOG, TABLE_NAME_LOG, USE_BATCH_ID, USE_LOGFIELD, CREATED_USER, CREATED_DATE, MODIFIED_USER, MODIFIED_DATE, PASS_BATCH_ID, SHARED_FILE) VALUES ( $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17)
2014-11-21 14:40:34 CET DZIENNIK: wykonanie S_251: ROLLBACK


Anyone can help?

Read one, write n

$
0
0
Hello,
I have a file with a numeric field QTY.
I need to write n rows in output, where n = QTY (the rows have same data).
How can I do this?
many thanks.

Launch Job Executor Dynamic # of Times

Images as external resources in HTML OUTPUT - Pentaho Classic Engine

$
0
0
Hello,

First, I wanna say thank you to all the pentaho community for making this project (in my opinion) one of the best BI tools in the world.

I've embedded successfully the pentaho classic engine into my Java Application using Vaadin 7 as presenter. The problem comes when I try to use an external image in my report and exporting it in HTML format, it just doesn't show up.

When looking into the HTML there is no IMG tag or something that references the image (note it is external, hosted as static resource in the same domain). I can see it when exporting to other formats like PDF, RTF, XLS. I've searched a lot, and found that when using BI server, depending on the condition (stream or not) the resources are copied to some folder, so the report knows where is the referenced image. In my case, as BI server 5.1 had a bug on authentication via GET parameters, I was forced to embbed it into the application, so the logic of the BI server report generation is black magic for me. I tried to copy the images (if necessary) to the folder where the HTML report resides, so I can use relative paths to reference them, but still not success.

The way I generate the report from the java application is:

1) Receive report parameters via GET or POST
2) Generate report
3) Place it in a tmp folder in the server
4) Vaadin generate external resource to stream the content (most of the cases PDF)

All it works behind a reverse proxy (the static content is served with nginx), and if I verify the static served content directly from the URL is available where the report lies, or where the reports are requested.

Is there a way to show images in HTML output when I use the classic engine embedded into my java application without appending HTML body?

Thank your for attention.

User Defined Java Step

$
0
0
How to check if two integers are equal in user defined java step.

A==B ? true: false

do not work.

Not Able To Upload XMI file To BI-Server

$
0
0
Hello Xpertz....

I have created domain file in Pentaho Metadata editor, i have published successfully that file in the server, but i am facing error while uploading XMI file to server.

Import File Level Message
/home/ord.xmi ERROR org.pentaho.platform.plugin.services.importer.PlatformImportException: Bundle missing required domain-id property

Please provide me a solution as i m stuck at this point.

Thanks in advance.

Fuzzy Match design pattern?

$
0
0
All,

I have a strange case. For each fleet (parent record) I have several contacts (child records). I have the same fleets with some of the same contacts in an existing data store. I want to combine the 2 streams and use a fuzzy match step to see if the names are similar to update or are so different that they need to be entered as new contact records.

The issue I have is that, for a particular fleet, I want to search all the existing contacts, but the Fuzzy match step does not allow me to specify a match on fleet_id before trying to match on the names. Can anyone think of a design pattern that will match the fleets, but allow me to Fuzzy match names only within the same fleet?

For instance, I have Fleet 1 and Fleet 2. Fleet 1 has an existing contact - Bob Smith. Fleet 2 has a DIFFERENT contact that is also Bob Smith. My new data set contains the same fleets - 1 & 2. The new Fleet 1 has a contact - Robert Smith. While the new Fleet 2 has a contact - Bob Smith. Currently, the Fuzzy match step takes only a single field from each stream as a comparator, so the Bob Smith from Fleet 2 would match the Bob Smith record in Fleet 1 and 2! I want to ONLY match the existing Fleet 1 and update the existing record. I want to leave the existing Fleet 2's contact as Bob Smith.

Thanks in advance for any advice.
Viewing all 16689 articles
Browse latest View live


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