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

Compare list of files on FTP

$
0
0
Hello all,

I've been trying to search for this, but haven't found anything, so I'm hoping someone here can help me. I have an FTP server where a number of files get dropped in every day. I'm trying to create a job/transformation that checks this folder and makes sure that an expected list of files are there. The only way I've been able to do it is to download them all and then compare them to my list - is there a simpler way of doing this? Can I somehow retrieve the list of files on the FTP?

Thank you for your help.

Character Values

$
0
0
Hi,
I want to give o/p as a character equivalent to its number.

Ex: 1 as a
2 as b
......27 as aa 28 as ab

Help me
Ramya

Pentaho Community License Concept and Training Entittle

$
0
0
Hi, I'm new in pentaho community edition. I want to know if there any licensing scheme in pentaho community edition? and also is there any specific requirement for someone personal or corporate to organise pentaho community edition training?

thanks a lot for your guys response

export takes long time, who to run it in synchronous mode and show spinner?

$
0
0
Sometimes with lots of records in table export using "Export button component" takes a long time and there is not indication that it's actually going so some users got impatient and keep clicking that button. So I'm trying to figure out the way to put spinner or some other indication that export is running. I've tried this code:

Dashboards.showProgressIndicator();
render_unsold_sold_leads_report.queryState.exportData('xls');
Dashboards.hideProgressIndicator();

but since exportData call is asynchronous it doesn't really work. So i guess i have 2 questions: 1) How to make it synchronous and 2) Is there any other easy way to put spinner while export is running?

How to insert image ..link from url + table field

$
0
0
hello everyone ..

i hv one question how can i insert picture from combine link + table field.. ?
example :- customer profile with picture

- my picture getting from http://localhost:8080/epk/images and picture name from table field

how can i do this. i had search whole forum but cannot find any solution..or i'm wrong?

soory i'm NOOB here..

BI server plugin development subfloor not working

Execute R script not working in PDI 5.1 CE

$
0
0
Hi Group,

I am using PDI 5.1.0 CE and installed the Execute R script plugin from market place .it was successfully installed and i can see execute R Script step under scripting folder.when i am drawing the step then i m getting this error:

org.pentaho.di.core.exception.KettlePluginException:
Unexpected error loading class:
de/dekarlab/pentahor/plugin/PRCalcMeta : Unsupported major.minor version 51.0

at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:484)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:336)
at org.pentaho.di.ui.spoon.Spoon.newStep(Spoon.java:6470)
at org.pentaho.di.ui.spoon.trans.TransGraph$5.drop(TransGraph.java:612)
at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source)
at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(Unknown Source)
at org.eclipse.swt.dnd.DragSource.access$000(Unknown Source)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1297)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7801)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9130)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:638)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)
Caused by: java.lang.UnsupportedClassVersionError: de/dekarlab/pentahor/plugin/PRCalcMeta : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClassFromThisLoader(KettleURLClassLoader.java:76)
at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:99)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:466)
... 29 more

Also i have added the following variable:

R_HOME:C:\Program Files\R\R-3.1.3
R_LIBS_USER :C:\Program Files\R\R-3.1.3\library
Path :C:\Program Files\R\R-3.1.3\bin\i386


can any one tell me how i can use Execute R script with PDI 5.1.0.

Regards
Sumit

Map Component

$
0
0
Hi,

I have a problem with the map component . I want to create a map with shapes and a json file but it doesn't work

I think the problem is the json file because I use the query with a kml file and it works

If someone could give an example of json file I would be very grateful

Thanks

Overwrite generated report at BI Server

$
0
0
Hi all,

I am generating a daily report on BI Server, created in Reporting designer. I would like to generate the file in a specified directory/folder and provide a link to the file. Unfortunately, every time the file is generated, the new file is created with a number.

I tried to use a workaround to generate a file (in scheduling) and delete files older than 1 day. There is a hiccup, it will generate one day file my_report.pdf and next day generate my_report(2).pdf and after the generation my_report.pdf is deleted. The next day, file my_report.pdf is generated and my_report(2).pdf is deleted.

Is there a way, how to generate only my_report.pdf and overwrite the file? I have been looking for any parameter in BI Server and in Reporting designer - no luck at all.

Thank you
Magdalena

Pentaho Reporting Output Issue "Unexpected Error"

$
0
0
Manually my job is executed fine but in time of schedule job execution thrown this below error

2015/05/04 14:49:30 - DSM_Monthly_Rawdata - Start of job execution
2015/05/04 14:49:30 - DSM_Monthly_Rawdata - Starting entry [Create folder]
2015/05/04 14:49:30 - DSM_Monthly_Rawdata - Starting entry [XMI Download]
2015/05/04 14:49:30 - XMI Download - Start of HTTP job entry.
2015/05/04 14:49:30 - XMI Download - Connecting to URL: http://192.168.255.160:8080/pentaho/...a/DSM/download
2015/05/04 14:49:41 - XMI Download - Resource type: text/xml, last modified on: Thu Jan 01 06:00:00 BDT 1970.
2015/05/04 14:49:41 - XMI Download - Finished writing 1914248 bytes to result file [/opt/pentaho/DSM_ITsat_Monthly_Rawdata_Report/DSM.xmi]
2015/05/04 14:49:41 - DSM_Monthly_Rawdata - Starting entry [Report Download]
2015/05/04 14:49:41 - Report Download - Start of HTTP job entry.
2015/05/04 14:49:41 - Report Download - Connecting to URL: http://192.168.255.160:8080/pentaho/...hManifest=true
2015/05/04 14:49:52 - Report Download - Resource type: application/zip;charset=UTF-8, last modified on: Thu Jan 01 06:00:00 BDT 1970.
2015/05/04 14:49:52 - Report Download - Finished writing 24417 bytes to result file [/opt/pentaho/DSM_ITsat_Monthly_Rawdata_Report/DSM_ITsat_Monthly_Rawdata_Report.zip]
2015/05/04 14:49:52 - DSM_Monthly_Rawdata - Starting entry [Report file Unzip]
2015/05/04 14:49:52 - DSM_Monthly_Rawdata - Starting entry [GetReportDateTime]
2015/05/04 14:49:52 - CurrentDateTime - Dispatching started for transformation [CurrentDateTime]
2015/05/04 14:49:52 - Get System Info.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2015/05/04 14:49:52 - Set Variables.0 - Setting environment variables...
2015/05/04 14:49:52 - Set Variables.0 - Set variable Today to value [2015-05-04-14-49-52]
2015/05/04 14:49:52 - Select values.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2015/05/04 14:49:52 - Set Variables.0 - Finished after 1 rows.
2015/05/04 14:49:52 - Set Variables.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2015/05/04 14:49:52 - DSM_Monthly_Rawdata - Starting entry [DSM Raw Data TR]
2015/05/04 14:49:52 - DSM Raw Data TR - Loading transformation from repository [DSM Raw Data TR] in directory [/public]
2015/05/04 14:49:53 - DSM Raw Data TR - Dispatching started for transformation [DSM Raw Data TR]
2015/05/04 14:49:53 - Data Grid.0 - Finished processing (I=0, O=0, R=0, W=1, U=0, E=0)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Unexpected error
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - There was an unexpected error processing report '/opt/pentaho/DSM_ITsat_Monthly_Rawdata_Report/DSM_ITsat_Monthly_Rawdata_Report/DSM_ITsat_Monthly_Rawdata_Report.prpt' to produce file '/opt/pentaho/DSM_ITsat_Monthly_Rawdata_Report/DSM_ITsat_Monthly_Rawdata_Report.xls' with processor: Excel.
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - Failed to parse query
2015/05/04 14:49:53 - Pentaho Reporting Output.0 -
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:260)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processRow(PentahoReportingOutput.java:114)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at java.lang.Thread.run(Unknown Source)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - Caused by: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed to parse query
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.parseQuery(SimplePmdDataFactory.java:219)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.queryData(SimplePmdDataFactory.java:532)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.queryData(PmdDataFactory.java:159)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:205)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:182)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryInternal(CachingDataFactory.java:505)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryStatic(CachingDataFactory.java:181)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStaticInternal(CompoundDataFactory.java:200)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryStatic(CompoundDataFactory.java:182)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:69)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQueryData(DefaultFlowController.java:296)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:217)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.initializeForMasterReport(ProcessState.java:331)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:481)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1713)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.core.modules.output.table.xls.ExcelReportUtil.createXLS(ExcelReportUtil.java:194)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutput.processReport(PentahoReportingOutput.java:232)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - ... 3 more
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - Caused by: org.pentaho.pms.core.exception.PentahoMetadataException: QueryXmlHelper.ERROR_0009 - Domain Instance DSM returned null
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.metadata.query.model.util.QueryXmlHelper.fromXML(QueryXmlHelper.java:349)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.metadata.query.model.util.QueryXmlHelper.fromXML(QueryXmlHelper.java:339)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.parseQuery(SimplePmdDataFactory.java:210)
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - ... 19 more
2015/05/04 14:49:53 - Pentaho Reporting Output.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2015/05/04 14:49:53 - DSM Raw Data TR - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Errors detected!
2015/05/04 14:49:53 - DSM Raw Data TR - Transformation detected one or more steps with errors.
2015/05/04 14:49:53 - DSM Raw Data TR - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Errors detected!
2015/05/04 14:49:53 - DSM Raw Data TR - Transformation is killing the other steps!
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [DSM Raw Data TR] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [GetReportDateTime] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [Report file Unzip] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [Report Download] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [XMI Download] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Finished job entry [Create folder] (result=[false])
2015/05/04 14:49:53 - DSM_Monthly_Rawdata - Job execution finished

Incrementing Values

$
0
0
Hi,


I have 3 columns in csv such as

name company addr id
ramya abc gbnjxc 1000001
Rohit xyz abth 1000002

o/p should come as



company addr id
1000101|abc 1000201|gbnjxc 1000001
10001|Rohi 1000202|abth 1000002


Id of 4th and 5th digit should increase for the no of columns. Here I have taken only two columns.
No need of name in the o/p.

Regards,
Ramya

Abstract the source of a transformation

$
0
0
Good morning.

We are studying Pentaho Data Integration (Kettle) to populate (some tables of) the database of our application from an external source. We successfully created some examples that connect to specific databases and write to a specific location. Now, I have been asked to create an ETL project that works with any source (?)... Indeed, our application can theoretically works with a wide variety of ERP. Unfortunately, it's not quite clear to me how to achieve this result... As far as I understood, the customer should only indicate the source table and the source column to copy in the destination table and column. The transformations and the load should be performed by the ETL we provide (?)...

I don't have any knowledge of Kettle, indeed I've tested it for only one week or a little more... I don't even know any other ETL solution. I'm really confused with the request I received, but I've been granted that ETLs can just work in that way, easily. For now, I haven't found any easy solution with PDI... Maybe are there other products providing this functionality? How? If PDI can deal with this requirements, can you guide me to examples and tutorials that can help me understand how to proceed?

Thank you very much.

Normalize Data

$
0
0
Hi,

I have columns in csv files like

Name add id
abc 123 10001
nhx 2yh 10002


I want o/p as

id content value
10001 name abc
10001 add 123
10002 name nhx
10002 add 2yh

Im new to pentaho. Please help me.


Ramya

Custom charts with Pentaho EE?

Report Footer al final de la pagina

$
0
0
Hola comunidad...

Les pido ayuda para ubicar el Report Footer al final de la pagina y no al final de los datos del reporte. Es que quiero hacer algo como un recibo de caja que al final de la pagina haya un desprendible como en las facturas de servicios públicos, he intentados con las opciones de la pestaña de atributos y de estilo y no he podido, actualmente el reporte muestra el total y el desprendible al final de los datos del reporte y no de la pagina.

Les agradezco una solución mucho amigos...


By Jose Luis Osorio

Report Footer al final de la pagina

$
0
0
Hola comunidad...

Les pido ayuda para ubicar el Report Footer al final de la pagina y no al final de los datos del reporte. Es que quiero hacer algo como un recibo de caja que al final de la pagina haya un desprendible como en las facturas de servicios públicos, he intentados con las opciones de la pestaña de atributos y de estilo y no he podido, actualmente el reporte muestra el total y el desprendible al final de los datos del reporte y no de la pagina.

Les agradezco una solución mucho amigos...

By Jose Luis Osorio

Simple script results output using pl/sql

$
0
0
<pre>
Hello - just trying to get results (v_test) from the pl/sql block into a text file.

Execute SQL script:

DECLARE
x NUMBER := 100;
v_test number;
BEGIN
FOR i IN 1..10 LOOP
x := x + 100;
END LOOP;
COMMIT;
v_test:=x;
END;

transformation steps( not sure if this is the correct algorithm)
generate_rows > execute SQL script > test file output

So, can we use pl/sql in the execute SQL script step and view the results in the next step?

</pre>

treat txt log files with date and time

$
0
0
hello! ,
I started using PDI in autodidact way, and I need to how to handle a log file in txt to where they are added to this file tips date, time and an error message or generated by any activity of the example system:


[01/02/2015 12:23:00] Checking for sending e-mail
[01/02/2015 12:23:00] Checking for sending e-mail
[01/02/2015 12:23:00] Checking for sending e-mail
error in communication between the server and the application
[01/02/2015 12:23:00] Error when sending e-mail
13:34:00 failure in checking the pop3


what I want?
It is create a column with the date and time and the content which is below the date and time put into a column of type description. then would date and time and other only description column


grateful for the help


log.jpg
Attached Images

How to remove JSESSIONID from PUC

$
0
0
Hi,
I have pentaho 4.8 war, it was deployed in a jboss5. But when i try to access to PUC, i get the jsessionid in the url.
I know that it is a bad practice to show a jsessionid in a url. Please, do you know how to hide that jsessionid?
I have tried with a filter, and i have used rewriting url, but, ithe jsessionid remains in the url of the PUC.


Regards,

How to process the data value with the dolar sign in from of the salary

$
0
0
for instance, I have the row data as below;

name sex phone salary

mike m 404-567-7890 $125,000


in SAS the salary can be applied with the format first then do the calculation on the salary. in kettle, do we have something similar in order to calculate the correct result?
Viewing all 16689 articles
Browse latest View live


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