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

Hadoop Online Training

$
0
0
Hadoop Online Training by Biginfosys We are providing excellent Hadoop Training by real-time

IT industry experts Our training methodology is very unique Our Course Content covers all the in-

depth critical scenarios. We have completed more than 200 Hadoop batches through Online Hadoop

Training program, Our Hadop Classes covers all the real time scenarios, and its completely on Hands-
on for each and every session.

Please call us for the Demo Classes we have regular batches and weekend batches.

Contact Number : India :+91 9849966077,

Email : biginfosyss@gmail.com ,

Web: http://biginfosys.com/hadoop-online-training.html

file delete issues in Windows multi core environment

$
0
0
HI, we are runing PDI 4.2 in a Windows virtual environment (ESX). Everything appears to work fine when the server is configured with a single core, but when we scale up the server to mulitple cores we are running into problems. We have been encountering issues when attempting to delete a file where the system is throwing the following exception:

ERROR 11-10 14:26:26,353 - Is Full Load - org.apache.commons.vfs.FileSystemException: Could notdelete "file:////.../..../...foo.txt".
at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source)
at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source)
at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source)
at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:259)
at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:211)
at org.pentaho.di.job.Job.execute(Job.java:503)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:642)
at org.pentaho.di.job.Job.execute(Job.java:368)
at org.pentaho.di.job.Job.run(Job.java:288)
Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "file:////.../..../...foo.txt".
at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source)
... 16 more

Looking for anyone who has experienced similar issues. The problem exists in multiple PDI jobs. We have looked a the apache doDelete code, and it is not doing anything fancy, so we don't believe this is the root cause. Wondering if there is a compatibility issue with the ESX virtual environment.

Dashboards.fireChange ....etc function related documentation or description

$
0
0
hello all,
Dashboards.fireChange(s,v)

Dashboards.update

Dashboards.getComponent, .getParameters etc....

hey I am a newbie(Java,Pentaho) and having a hard time understanding the functions like these,
does anyone have the list of functions with some desc.. for it so that we can jump start using this function
i have basic knowledge on how to and where to use as one of them, i have tried a lot on getting a drill
down dashboards on same panel, not soo fruit full as i satisfied with popup drills

that would be great boost.....

Understanding the Kitchen Log

$
0
0
Apologies in advance if this is a dumb question, but can someone explain how to understand this log?

Call DB Procedure 3 2 - Finished processing (I=0, O=0, R=5, W=5, U=0, E=0) - What does each letter mean? I am assuming I = input?, O= output? R = read? W = written? No Idea what U or E means. I'm assuming these numbers pertain to rows or records?

Thanks

Inherits folder permissions

$
0
0
Hi,
I have strange situation.. when i create an folder 'folder1' with joe user (that has admin permissions and consumer) and I create a new folder 'folder2', only the admin permission is inherited. I read many posts that folder permissions are inherited, but this is not happening, it would be a bug?

I appreciate the attention.

Can't access report on BI Server With Post, but can with GET

$
0
0
This is pretty weird. I have a form on one page that's working when I have the method set to GET. This is the URL.

http://50.57.92.90:8080/pentaho/cont...sword=password

If I change the method to get it works. But if I use POST it won't work at all. Is this a bug or is passing parameters to reports only capable via get? Seems a bit odd to me.

Here is the html I'm calling from. Dead simple.

<html>
<head>
</head>
<body>
<form id="testform" name="testform" action="http://{@Application.BIServerURL}" method="get" target="new">
<input type="hidden" id="solution" name="solution" value="RDreps" />
<input type="hidden" id="path" name="path" value="" />
<input type="hidden" id="name" name="name" value="ByWritingCompany.prpt" />
<input type="hidden" id="userid" name="userid" value="{@Application.BIServerUserID}" />
<input type="hidden" id="password" name="password" value="{@Application.BIServerPassword}" />
<input type="submit" value="Load" />
</form>

</body>
</html>


Thanks in advance guys.

Walter.

Custom plugin MetaData Injection and step-attributes.xml problem

$
0
0
I wrote a custom step plugin, and would like to wire it for MetaData injection.
I read the wiki
(http://wiki.pentaho.com/display/EAI/...+Injection+API)
and my understanding is that I just need to implement the
getStepInjectionMetadataEntries() and injectStepMetadataEntries() methods in my StepMeta?

Say my new plugin step is called Fred. So I have
FredStep.java, FredStepMeta.java, FredStepData.java, FredStepDialog.java

I added StepMetaInjectionInterface to my FredStepMeta declaration:
FredStepMeta extends BaseStepMeta implements StepMetaInterface, StepMetaInjectionInterface

BaseStepMeta .getStepInjectionMetadataEntries uses attributes, and should have loaded "step-attributes.xml", but that does not seem to
work for my custom step plugin.
I placed the step-attributes.xml file into the plugin directory, and it is getting deployed along with the plugin.xml file, but it is not getting loaded by the
BaseStepMeta.loadStepAttributes().

What do I need to do to add "step-attributes.xml" so it will get read?

thanks

Sort Row step output wrong result

$
0
0
Hello, here is the details:

I use PDI 4.4.0 community binary on Linux

I have a data file in text format, which contain about 50,000,000 rows.

I load the data and send it to a Sort Row step, I keep sort cache remain on 1,000,000

Then I find the result is wrong.

I change the sort cache to 100,000,000, then I got the right result.

I see on Jira some people report a issue relative sort cache, is this similar? http://jira.pentaho.com/browse/PDI-10580

Read Me First

$
0
0
Hi All,
i am unable to install PDI version 4.4 in CentOS 6.4

PDI Version - Kettle - Spoon Stable Release - 4.4.0

OS version CentOS release 6.4 (Final)
Java version - 1.6


Please help out me

how to send and receive file through ftp in kettle while executing job

$
0
0
Hi Everyone,
I want to send and receive file using get ftp and put ftp step but i am not able to achieve the same, so can some body help me how to do the same?

Regards,
Workinghard

How to save log output file, with a field "Step-Name" with the step info.

$
0
0
spoon-help.jpg

Hello Everyone,
I want to save a log file(.xls), with a column/field "Step-name".
The column must display the name of the steps, in which error has occurred.

Like consider the file I've uploaded.
1. For "data-validator" step, in its settings, I've used "${Internal.Step.Name}" variable as a value in "error description".
Such that if there would be an error, then in the log file, the "error-description" field would show the step name, i.e., "Data validator".

2. Similarly, this happens for the unique rows.


3. But for the "database lookup" & "Table-output" steps, its not possible.
Tell me the solution for this, please.

I'm uploading snapshots of the files, to make you understand what I want.
Thank You.


spoon-help.jpg

sample2.xls

Books.xls
Attached Images
Attached Files

image folder-pentaho style (pentaho 5)

$
0
0
Hi
I am using pentaho 5.0...i am having project specific images in a separate folder..In previous version i ll keep under pentaho style folder with new folder..


but i do the same thing here but it doesn't work..whether we need to upload style folder too as like uploading project folder??????


can anyone help me on this.............



Thanks in advance

Parste Apache Tomcat access log with PDI?

$
0
0
Hi,

Has somebody here tried to parse the Apache Tomcat access log with PDI? I am looking for a way to interpret the data like IP, timestamp and accessed ressource and to write it to a database.

Here an excerpt how the lines look like:

Code:

10.61.4.5 - - [12/Nov/2013:00:20:38 +0100] "GET /birt/run?__report=vailable.rptdesign " 200 4320
10.61.4.4 - - [12/Nov/2013:00:20:42 +0100] "GET /birt/run?__report=vailable.rptdesign " 200 4320
10.49.18.10 - - [12/Nov/2013:00:20:42 +0100] "POST /birt/run?__report=\dashboard\db\main.rptdesign&__overwrite=true&__sessionId=20131112_002002_872 HTTP/1.1" 200 492738

What would be the best approach here? Using the RegEx step?
Thanks for any hint!

Bobse

REST API to generate report and send Email

$
0
0
What i am trying to do is to generate a report and send it as an attachment via email. I have configured email_config.xml and have tested it by running the example 'Burst Sales Report'. From the documentation of reportViewer there seems to be a reportViewer parameter called 'destination' and the document states that 'If email settings are configured in the BI Platform, this parameter will allow you to specify a single email address to send the rendered report to.'

However this did not work for me - an example URL i used was
http://localhost:9080/pentaho/content/reporting/reportviewer/report.html?solution=steel-wheels&path=%2Freports&name=Country.prpt&locale=en_US&destination=xyz@gmail.com

However no email was received .

Couple of questions:
1) Can the REST API be used to generate a report and send it as an attachment in an email
2) If there is no such API what the best way to generate and email a report

I am using Pentaho Bi Server CE version 4.8

thx
Vadi



Pentaho does display chart in an web application

$
0
0
I embed the report in my web application. without the chart, the report is displaying properly, but if i put a chart , then error message will occur . I try pie chart and bar chart , got same error. I have include all needed jar file into my application, such as libbase.jar, jfreechart.jar,pentaho-reporting-engine-classic-core.jar,pentaho-reporting-engine-legacy-charts.jar...
the error message like:
----------------------
org.pentaho.reporting.libraries.xmlns.parser.ParseException: Expression 'org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression' is not valid. [Location: Line=22 Column=190]
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.elements.AttributeExpressionReadHandler.startParsing(AttributeExpressionReadHandler.java:96)
---------------------


I open the layout.xml file, the 22th line is :
-------------
<attribute-expression namespace="http://reporting.pentaho.org/namespaces/engine/attributes/core" name="value" class="org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression">
-------------

further, I open the source code of
AttributeExpressionReadHandler.java. the related code is pasted at follow:
-------------
if (expression == null && expressionClassName != null)
{


expression = (Expression) ObjectUtilities.loadAndInstantiate(expressionClassName, getClass(), Expression.class);
if (expression == null)
{
throw new ParseException("Expression '" + expressionClassName +
"' is not valid.", getLocator());
}
}
--------
I suspect that ObjectUtilities.loadAndInstantiate function return a null, but why it reurn null ? the reason I can't find out. Anybody can help me? I am very appreciate for see your response!



Regarding Looping Job Issue: setting of variables for Looping

$
0
0
In the Looping Job which contains two transformations:

1. Obtaining values from flat file and assigning these to the variable
2. Using the variable to insert data into the Production Table.

The first Transformation throws up an error when the flat file contains more than one value in it.

Finally, I intend to run my job depending on the number of values contained in the flat file.

Do let me know at the earliest if there is a workaround.

Thanks and Regards,
Siva

Gradient Color in Bar Chart

$
0
0
Hi,

I'm new on this forum. I would like to know is there anyway to provide Gradient color on chart specially on bar chart. I would like to use some color as mention image below.

Picture2.png

I would like to use only pdf as output for my report.

Pentaho Report designing version: 3.9.1 GA

Thanks & Regards,
Ankit
Attached Images

[PRD] Image on background is ok when run as PDF but not when run as Excel

$
0
0
Hello,

I am facing some troubles learning how PRD works: I want to put some text over one image. On PRD I can see that the label(text) I am using is highlighted alerting me that it is over the image. But that's exactly what I want. If I run the prpt as PDF everythings goes well, the image is on the background (not as a watermark, just as a backgroud image), nevertheless if I choose to run as Excel then I only can see the image.

I've made a little test to ilustrate this:
howThisWorks.prpt

The output on pdf is like:pdf.jpg

but in excel is: excel.png

Is this the expected behaviour on excel or I am doing something wrong?

If this is how PRD/Excel works, is there any way to tell the report to prioritize Text over Images when exporting? I don't mind that the images are not showed as long as the text is... but now the text isn't showing.

Any tips will be highly appreciated.
Regards.
Attached Images
Attached Files

Using lookup databa

$
0
0
I'm trying to insert data into a table, extracting data from one table comparing one field from another field using the lookup DATABASE type. I used the type SELECT VALUES to exclude that one with null values, but it still being used by kettle to insert into the output table. Just one field has the data which is of my interest, but seems to me just with the value null one being accessed.


Please someone could guive some tips how to utilize the select values properly?



Error inserting row into table [dim_service] with values: [White Label], [TIM], [Assinatura], [Acotel MMS], [100], [null]

converting the nvarchar value 'N' when I have no such values

$
0
0
I am running PDI 4.4.0 on CentOS with a source DB of MySQL and a destination DB os SQL Server 2012.

I'm getting the error on my Insert/Update step (writing to SQL Server) which says
Code:

Conversion failed when converting the nvarchar value 'N' to data type smallint
I really don't understand that because all of the source MySQL columns that become a smallint in SQL Server are defined as tinyint(1) in MySQL, and they all have data in them of 1 or 0, no "N" values appear anywhere.

What's going on and how do I work around it?
Viewing all 16689 articles
Browse latest View live


Latest Images