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

A report using two different Schemas?

$
0
0
Hello,

Is it possible to create a report that uses two different database schemas?

What I need is a report with perhaps a dropdown box that allows you to switch between two schemas on the same report query. I've attached an image below if this is a bit unclear.

I have access to the Pentaho files if they need editing.

pentaho schema.jpg

Thanks for reading!

Kind regards
Attached Images

De-duplication with Kettle

$
0
0
Hi everybody,
I'm trying to sort out data from my company's CRM system. My assistants kept changing and as I was not clever enough to look after them they messed up the database. The biggest issue I face right now is that customers are often referenced under several different accounts. Therefore, the first step that I need to do is to deduplicate the database. My intention is to do so with Kettle.

What I would like to do is to use Fuzzy Match to identify account names that are "close" to each other. Is there any way how to tell Kettle to give out results with score in this interval <7.5-1.0)? Please keep in mind that 1.0 should not be encluded.

Thanks for your help!
Petr

PacService.ERROR_0025 - Connection attempt failed...

$
0
0
Hi,

I am trying to setup an installation of biserver-ce.4.8.0 and I just can't seem to add a database connection in the administration console. No matter what I try I keep getting this:

Code:

PacService.ERROR_0025 - Connection attempt failed: No suitable driver found for jdbc:mysqldb:mysql:localhost3306/[databasename]
whats wrong with the driver in /administration-console/jdbc?

Any ideas?

multiples layouts input

$
0
0
Good day.


I'm trying to create a new transformation but do not know if it is possible.


I have an input file, this file is a sequential layout, but I have a record at the beginning of the file that will tell you what that line is and what layout is that line. So within a file I have several layouts input and this will depend on a character at the beginning of the line.


I would like to import this into a table? Being that I have several layouts in data entry.


thank you

Auto-Complete Box Component does not work if I set listener and parameter

$
0
0
I have 2 Auto-Complete boxes, and one needs to respond to the selections of the other. Both boxes work fine on their own, but when I add a listener and parameter to the second box, it stops working (the first box does work still).

Is this a bug?


Thanks

java.lang.IllegalArgumentException: Comparison method violates its general contract!

$
0
0
Hi,

Details:
I've installed weka 3.6.9 (downloaded in http://www.cs.waikato.ac.nz/ml/weka/downloading.html) for an Ubuntu 12.04, added the $CLASSPATH to the weka.jar, changed to +x and setting it to be oppened with OpenJDK Java 7 Runtime so that I can have a Weka icon on my Desktop (probably there are better ways, in that case, please, let me know how to do it).

When I want to run this command below (inside a bash script)
java weka.classifiers.meta.FilteredClassifier -t /home/criera/Documentos/batchAllGenes/$1/output/$1.arff -x 3 -s ${i} -p 1 -distribution -F "weka.filters.MultiFilter -F "weka.filters.unsupervised.attribute.RemoveType -T string\" -F \"weka.filters.supervised.instance.SMOTE -C 0 -K 5 -P $2 -S 1\"" -W weka.classifiers.functions.MultilayerPerceptron -- -L 0.3 -M 0.2 -N 500 -V 0 -S 0 -E 20 -H 0 > $MYPATH/results/$1.${i}.rbf

it prompts:

java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeLo(TimSort.java:747)
at java.util.TimSort.mergeAt(TimSort.java:483)
at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
at java.util.TimSort.sort(TimSort.java:223)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at weka.filters.supervised.instance.SMOTE.doSMOTE(SMOTE.java:637)
at weka.filters.supervised.instance.SMOTE.batchFinished(SMOTE.java:489)
at weka.filters.Filter.useFilter(Filter.java:663)
at weka.filters.MultiFilter.process(MultiFilter.java:378)
at weka.filters.SimpleStreamFilter.batchFinished(SimpleStreamFilter.java:289)
at weka.filters.MultiFilter.batchFinished(MultiFilter.java:396)
at weka.filters.Filter.useFilter(Filter.java:663)
at weka.classifiers.meta.FilteredClassifier.buildClassifier(FilteredClassifier.java:390)
at weka.classifiers.Evaluation.crossValidateModel(Evaluation.java:477)
at weka.classifiers.Evaluation.evaluateModel(Evaluation.java:1269)
at weka.classifiers.Classifier.runClassifier(Classifier.java:312)
at weka.classifiers.meta.FilteredClassifier.main(FilteredClassifier.java:478)


Removing the SMOTE filter, works fine.

Clicking on weka.jar opens the GUI chooser and when I try Explorer, it works fine (I can apply SMOTE, although when I apply it repeatedly (i know there's no point in applying smote several times, I was just trying) it also prompts the error "comparison method violates...")

I've seen in another forum that someone suggested the following:

We have had a similar problem recently. We solved it (at least now it does not throw the exception) changing the following fragment (line 637 of the version available in the >package manager)



// sort the neighbors according to distance
Collections.sort(**distanceToInstance, new Comparator() {
public int compare(Object o1, Object o2) {
double distance1 = (Double) ((Object[]) o1)[0];
double distance2 = (Double) ((Object[]) o2)[0];
return (int) Math.ceil(distance1 - distance2);
}

});
> The return statement was changed to
return Double.compare(distance1, distance2);

But I don't know what are they doing here neither where to find this package manager. In Gui chooser > Tools I just have "arffviewer", "sqlviewer" and "bayes net editor".

Any suggestion of how to fix this problem?
If any additional info is needed, let me know.

Thanks a lot

How to make use of the jQuery Plugin option for Multi-select component?

$
0
0
I am using a Multiple Select Component, and see that there's a jQuery Plugin option. I tried to do some research, and found only this reference to it:

"Added erichynds Multiselect JQuery Plugin Files" from release documentation found at http://pedroalves-bi.blogspot.com/20...s-of-them.html

How do I make use of it?

Thank you

Hi I need help creating a working dataset

$
0
0
The dataset is based on this.

http://archive.ics.uci.edu/ml/datase...8Diagnostic%29

So this is what I done so far.

@RELATION Breastcancer


@ATTRIBUTE ID NUMERIC
@ATTRIBUTE Radius NUMERIC
@ATTRIBUTE Texture NUMERIC
@ATTRIBUTE Perimeter NUMERIC
@ATTRIBUTE Area NUMERIC
@ATTRIBUTE Smoothness NUMERIC
@ATTRIBUTE Compactness NUMERIC
@ATTRIBUTE Concavity NUMERIC
@ATTRIBUTE Concave NUMERIC
@ATTRIBUTE Symmetry NUMERIC
@ATTRIBUTE ClassTypeBelign2Malignant4 {Belign, Malignant}
@DATA


1000025,5,1,1,1,2,1,3,1,Belign
1002945,5,4,4,5,7,10,3,2,Belign
1015425,3,1,1,1,2,2,3,1,Belign
1016277,6,8,8,1,3,4,3,7,Belign
1017023,4,1,1,3,2,1,3,1,Belign
1017122,8,10,10,8,7,10,9,7,1,Malignant
1018099,1,1,1,1,2,10,3,1,Belign
1018561,2,1,2,1,2,1,3,1,Belign
1033078,2,1,1,1,2,1,1,1,5Belign
1033078,4,2,1,1,2,1,2,1,Belign
1035283,1,1,1,1,1,1,3,1,Belign
1036172,2,1,1,1,2,1,2,1,Belign
1041801,5,3,3,3,2,3,4,4,1,Malignant
1043999,1,1,1,1,2,3,3,1,Belign

Of course I get an error saying (number expected read token (Belign) line 25)

It stills expects my last attributes to be numberic even though i defined them as belign and so on?

DataFlux vs. Pentaho - I need Documentation

$
0
0
Hi,

I am on a data migration project. My client has so many pain points with DataFlux. I believe that Pentaho Data Integration can successfully replace DataFlux. I need documentation to this effect.

DataFlux pain points - Performance issues, datatypes issues, error logging, etc.

I need something that I can use as a starting point for a business case

Changing output encode?

$
0
0
So... after that last denorm challenge (thanks again marabu and gutlez!), I've come to a new one:
when I output the data to PostgreSQL, which has it's encode set to SQL_ASCII, I get this ugly thing:
"(-) EFEITO DIVERSIFICAÇÃO"

where it should be...
"(-) EFEITO DIVERSIFICAÇÃO"

Any tips? Only thing I could find was the "Change file encoding" step, but since I'm not working on a file...

GOT Error when execution job in AIX system

$
0
0
HI, guys

I got below error when executing job using kitchen.sh shell in aix 5.3,how can I to avoid this error?


[root:xpadDevSrv/appl/kettle/pdi-ce-4.4.0-stable/data-integration]sh kitchen.sh -file=/appl/kettle/develope-kettle/TEST.kjb -level=Minimal
ERROR 10-05 20:14:57,156 - Unable to register native library path ""
ERROR 10-05 20:14:57,294 - Unable to register native library path ""
ERROR 10-05 20:14:57,362 - Unable to register native library path ""

WARN 10-05 20:14:57,395 - Unable to load Hadoop Configuration from "file:///appl/kettle/pdi-ce-4.4.0-stable/data-integration/plugins/pentaho-big-data
-plugin/hadoop-configurations/mapr". For more information enable debug logging.
INFO 10-05 20:14:57,407 - Kitchen - Logging is at level : Minimal logging
INFO 10-05 20:14:57,408 - Kitchen - Start of run.
INFO 10-05 20:14:57,780 - JOB_DEPENDENCY1 - Start of job execution
INFO 10-05 20:15:07,095 - JOB_DEPENDENCY1 - Job execution finished
INFO 10-05 20:15:07,095 - Kitchen - Finished!
INFO 10-05 20:15:07,096 - Kitchen - Start=2013/05/10 20:14:57.409, Stop=2013/05/10 20:15:07.096
INFO 10-05 20:15:07,096 - Kitchen - Processing ended after 9 seconds.

logarithm calculations

$
0
0
How to calculate logarithms in pentaho data integration?

Job XML file should have transformation file

$
0
0
Hi,

I am converting the job which has 2 transformations into xml file for various purposes. how can I get the xml tags of transformations also embedded into job xml file while retrieving ?

Duda sobre integracion de datos

$
0
0
Hola, tengo 2 tablas de la misma base de datos con datos diferentes , y los quiero unir para sacarlos en una sola tabla con los datos unidos , como se puede realizar esto?

A problem with 2 tables

$
0
0
Hi there , I want to join 2 tables in the same DB with different data into a new empty table , how can I do that?

cde component with float properties

$
0
0
I'm trying to develop a cde custom component .
I would like to define a property of type float .
In the definition of the component for that properties i have put this :

....
<Property type="number">myPorperty</Property>
...
...
....
<InputType>Float</InputType>
<OutputType>Number</OutputType>
...
...

if I enter an integer it works .
if I enter a float ( i have tried 87.5 and 87,5 for example ) i get the error "Argument 87,5 must be numeric" or "Argument 87.5 must be numeric" .
i'm doing something wrong or this type of input is not expected?

thanks for any help

CDA error

$
0
0
I installed CDA in pentaho 4.8 and when I start the server the next error is showed:

| Session ID: scheduler.xaction
| Instance Id: 50eb3eb6-b951-11e2-92f6-a7b7cfd9c474
| Action Sequence: scheduler.xaction
| Execution Stack:
EXECUTING ACTION: Scheduler (org.pentaho.platform.engine.services.solution.PojoComponent)
| Action Class: org.pentaho.platform.engine.services.solution.PojoComponent
| Action Desc: Scheduler
| Loop Index (1-based): 0
Stack Trace:org.pentaho.platform.api.engine.ActionExecutionException: RuntimeContext.ERROR_0017 - [es_18] Activity failed to execute
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1325)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1262)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1161)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1105)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:987)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:897)
at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:399)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:317)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:193)
at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159)
at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:198)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Query regarding: Mondrain interaction via MS ADOMD Provider - XML/A

$
0
0
Hi Support,

We are trying to connect the FoodMart cube hosted in
flexmonster.com (via XML/A and Mondrian) using Microsoft ADOMD provider. When we try to execute the MDX query using Microsoft ADOMD provider, we are getting exception "The server sent an unrecognizable response."

Please find the sample (MondrianSample.zip) under the below link.
http://www.fileconvoy.com/dfl.php?id...48fd61222ac1e4

Kindly let us know the complete details on this error and solution if any.

Thanks in advance.

Query regarding: Mondrain interaction via MS ADOMD Provider - XML/A

$
0
0
Hi Support,

We are trying to connect the FoodMart cube hosted in
flexmonster.com (via XML/A and Mondrian) using Microsoft ADOMD provider. When we try to execute the MDX query using Microsoft ADOMD provider, we are getting exception "The server sent an unrecognizable response."

Please find the sample (MondrianSample.zip) under the below link.
http://www.fileconvoy.com/dfl.php?id...48fd61222ac1e4

Kindly let us know the complete details on this error and solution if any.

Thanks in advance.

Query regarding: Mondrain interaction via MS ADOMD Provider - XML/A Service

$
0
0
Hi Support,


We are trying to connect the FoodMart cube hosted in flexmonster.com (via XML/A and Mondrian) using Microsoft ADOMD provider. When we try to execute the MDX query using Microsoft ADOMD provider, we are getting exception "The server sent an unrecognizable response."


Please find the sample (MondrianSample.zip) under the below link. http://www.fileconvoy.com/dfl.php?id...48fd61222ac1e4


Kindly let us know the complete details on this error and solution if any.


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