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

Problem displayng BTable on dash

$
0
0
Hi all,
I have problem displaying BTable on my new empty dash.
I setted
JNDI,catalog,cube,dimensions and measures. (i chose only one and one of them for testing)
When i try to open the dasboard , a loader is shown but it will never load..
Thanks for the help

Logging Transformations

$
0
0
Hey Experts,

Just one query here...I am using Spoon for small conversions and replacing texts, etc.
My transformations dont get connected to any DB, rather all inputs are Excel files.
Is there a way to get the log files in a notepad or excel files?
Thanks in advance...

Transformation stops if encountered errors

$
0
0
Hi Everyone,

I am using Spoon (Kettle 4.4 CE stable)

Now I have 23 Excel files and need to convert all of them into .csv with | (pipe) delimited.
I was able achieve this in one single transformation, however I had to do the steps 23 times (1 step for each file conversion).

1. Is there a way to reduce this effort into a single step?

Also the second scenario is that:

The whole transformation stops if there is any error in file.

2. I would like the transformation to continue and just log errors for those files where it encounters errors
3. Secondly skip step & log if the file was missing.


Hope the above scenarios and questions are clear.

Thanks in advance...

Checking informations on repository

$
0
0
Hi,
We need to check wich transformation uses options like "Make the transformation databse transactional" on our repository.
So insteed of opening each transformation to check if the option is used, I'd like to use query on our repository to get a list but i don't find the information.
I thought it was on tables R_transformation or R_trans_attribute but i don't find the correct data.
Does someone can help me?
Currently we use version 4.4.0 of Kettle.
Thanks for your help.

Report Designer - MS SQL Server Native connection failuer with JDBC

$
0
0
Get this message : pentaho Error connecting to database: (using class com.microsoft.sqlserver.jdbc.SQLServerDriver) The connection string contains a badly formed name or value.

ODBC works, but there is a report designer bug whereby the connection type does not persist....it goes back to JDBC !!
This is awful..can't really test effectively.

Make transformation database transactional or not?

$
0
0
Hi,

I have a transformation which loads 100k records to different table output steps.
I would like to know whether the transformation should be made database transactional or not?
If YES, the commit size will get ignored and all the records will be committed to different tables after the final step which can affect performance.
If NO, there might be scenario where records can get committed in one table output while no records in other tables due to some error. Also in this case, if the commit size is 100,database lookup to a table will return 0 records until 100 records is inserted in the previous step to the same table.

Please suggest

Trouble Updating Custom Component to Require JS

$
0
0
Hi,

I am trying to update the Ivy DC jQVectorMapsComponent to RequireJS. I have done most of the work I think but have probably made a couple of mistakes in where i upload the files and am not sure where to reference the actual map files...

So what have I done so far?...

I downloaded the new jqmaps js file that is AMD ready, and the accompanying CSS.
I have updated the component XML to include the new implementation properties (i decided to make it require JS only and not support legacy)
I have created a JQVectorMapsComponent.js file that is a requireJS file that should load the dependencies.
(I wasnt sure where to reference the actual map files??)
Lastly I uploaded the folder to the pentaho-cdf-dd/resources/custom/amd-components and pentaho-cdf-dd/resources/custom/amd-components-compressed folders

However when I load a page with my new component (which does appear in CDE components list). It attempts to get the file from location:
/pentaho/plugin/pentaho-cdf-dd/api/resources/resources/custom/amd-components/JQVectorMapsComponent.js

Whereas it is actually located in /pentaho/plugin/pentaho-cdf-dd/api/resources/resources/custom/amd-components/JQVectorMapsComponent/JQVectorMapsComponent.js

I cant see any difference from what i have done to all of the other custom components.

What am I missing? If you can help me with this i will try to create many components for everybody :) I am just lost right now as to how to do this properly.

Here is a zip folder of where i have got to... jQVectorMapsComponent.zip
Attached Files

Conditionally perform input inside of transformation

$
0
0
I have two inputs ("Fake Students", and "Real Students"). I want to only include the fake students when my environment variable (stage) is not set to production. How would I do this using PDI? Thanks!


series2 data getting SUM up if series one is blank

$
0
0
Hi Forum,

I have one small issue with the Line chart. I have 4 columns which is mentioned below with data.

Date 1 Val 1 Date 2 Val 2
2015-02-28 12 2015-03-28 45
null null 2015-03-29 40
null null 2015-03-30 20
null null 2015-03-31 40

Now what is happening if I plot the line chart with this data what I am getting is only two rows in my line charts which is completing wrong.
Date 1 Val 1 Date 2 val 2
2015-02-28 12 2015-03-28 45
- - 2015-03-29 100


Could you please suggest me some way how can I plots this data on line chart without summing up last days of March months.

Thanks


Note : Please help me out in this I have some deadlines.

ALL Condition with Multiselect dropdown ,replacing ALL in query

$
0
0
Hi Forum,

I have created one multiselect drop down with ALL as one of the value in that drop down .
I have taken two variable for this one for getting the numeric array values from multiple select drop down and one variable with is string but will return same values which we select in dropdown.

Query is something like this

Code:

Select * from table where
id= 23
and (case when ${var1} = 'ALL' then s.res in (select .......)            else
                s.res in (${var2})
            end)

Here var1 is string, var2 is numericarray


Now what my concern here is how do I get the value of var1 within single quotes so that I can match the condition of ALL if user selects that.

I have written some code in pre execution of the chart component so that whenever user select any values in drop down it should replace both the variable but originially var2 is associate with drop down.

Code:

// var res_param = Dashboards.getParameterValue("var2");
    // var all_param = res_param;
    // var res ="'"+all_param+"'";
    // Dashboards.fireChange("var1",res);

but whenever I am selecting ALL from drop down it is not replacing the var1 with appropriate values.

Please can you please look into this . I am stuck into this point.

Thanks

Pentaho 6.0 CE Preview

$
0
0
Hey there!

This blog post won't have all the impact that I wanted initially; Reason is that I'm on parental leave till end of this month (september). However, since I just can't let go, it's obviously not possible at all to let this huge milestone pass by.

The Pentaho build team just posted a preview for Pentaho CE 6.0. Download the builds from here.





As usual, please report any issues you find. Plugin owners, please take some time testing your plugins in 6.0. And how to give feedback?




There's a lot of new stuff here. And I promise that when I have some time to breath again and can get just a couple of working brain cells, I'll do another post with all the new cool stuff available. For now, just a couple of links that - to be very honest - don't really give a good view over what's on the release but it was the maximum I could get done while I was trying to change a few diapers:





Bring on the feedback!


-pedro


More...

Weka 3.6.13 and 3.7.13 releases

$
0
0
Hi everyone!

New versions of Weka are available for download from the Weka homepage:

* Weka 3.6.13 - stable book 3rd edition version. It is available as ZIP, with Win32 installer, Win32 installer incl. JRE 1.7.0_80, Win64 installer, Win64 installer incl. 64 bit JRE 1.7.0_80 and Mac OS X application (both Oracle and Apple JVM versions).

* Weka 3.7.13 - development version. It is available as ZIP, with Win32 installer, Win32 installer incl. JRE 1.7.0_80, Win64 installer, Win64 installer incl. 64 bit JRE 1.7.0_80 and Mac OS X application (both Oracle and Apple JVM versions).

Both versions contain a significant number of bug fixes, it is recommended to upgrade to the new versions. Stable Weka 3.6 receives bug fixes only. The development version receives bug fixes and new features.

Weka homepage:
http://www.cs.waikato.ac.nz/~ml/weka/

Pentaho data mining community documentation:
http://wiki.pentaho.com/display/Pent...+Documentation

Packages for Weka>=3.7.2 can be browsed online at:
http://weka.sourceforge.net/packageMetaData/

Note: It might take a while before Sourceforge.net has propagated all the files to its mirrors.


What's new in 3.7.13?

Some highlights
---------------

In core weka:

* Numerically stable implementation of variance calculation in core Weka classes - thanks to Benjamin Weber
* Unified expression parsing framework (with compiled expressions) is now employed by filters and tools that use mathematical/logical expressions - thanks to Benjamin Weber
* Developers can now specify GUI and command-line options for their Weka schemes via a new unified annotation-based mechanism
* ClassConditionalProbabilities filter - replaces the value of a nominal attribute in a given instance with its probability given each of the possible class values
* GUI package manager's available list now shows both packages that are not currently installed, and those installed packages for which there is a more recent version available that is compatible with the base version of Weka being used
* ReplaceWithMissingValue filter - allows values to be randomly (with a user-specified probability) replaced with missing values. Useful for experimenting with methods for imputing missing values
* WrapperSubsetEval can now use plugin evaluation metrics

In packages:

* alternatingModelTrees package - alternating trees for regression
* timeSeriesFilters package, contributed by Benjamin Weber
* distributedWekaSpark package - wrapper for distributed Weka on Spark
* wekaPython package - execution of CPython scripts and wrapper classifier/clusterer for Scikit Learn schemes
* MLRClassifier in RPlugin now provides access to almost all classification and regression learners in MLR 2.4

As usual, for a complete list of changes refer to the changelogs.

Cheers,
The Weka Team

Error handling in sub transformation

$
0
0
Hi,

I have a parent transformation and a sub transformation. The parent transformation is linked with sub transformation through a single threader step with batch size =1. The sub transformation takes one row from parent transformation and moves to one insert/update step.

No error handling is defined in sub transformation. But error handling is defined for Single Threader step.

I want that in case of any error in sub transformation, the data should roll back and error path in single threader should be followed

But in case of any error in insert/update step, the error handling path is not followed for single threader.

When Insert/Update Step is replaced by Table Output step, data is rolled back for that row in sub transformation and error handling path is followed for single threader.
Attached Files

Kettle and Palo

$
0
0
Hi,

I use Kettle version 5.4.0.1-130 for data integration. I try to import data from excel file into cube in Palo database. Dimensions are good, Kettl can inport them, but problem is with measures, I get errors, for instance like this:

2015/09/11 10:00:25 - Palo Cell Output Kol.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Unexpected error
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - Failed to add Cell Row:
2015/09/11 10:00:25 - Palo Cell Output Kol.0 -
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - at org.pentaho.di.trans.steps.palo.celloutput.PaloCellOutput.processRow(PaloCellOutput.java:100)
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - at java.lang.Thread.run(Thread.java:745)
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - Caused by: java.lang.ArrayIndexOutOfBoundsException
2015/09/11 10:00:25 - Palo Cell Output Kol.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)

What should I do, is there some plagin for Palo integration?

to create the sum of

$
0
0
hello forum

pls, i have a question.

Please find enclosed the Output-Excel-Data from the transformation. Is it possible to generate the sum of the column "Price" ?
Which step do i have to use for generate the column ?

best regards,

Bernett22
Attached Images

Duplicate Job

$
0
0
Hi all,

How can I create a copy of an entire Spoon Job including all sub jobs and transformations?

Thanks

Problem Launching spoon.sh Pentaho Community 5.4 Data Integration

$
0
0
Hi everyone,

I'm having problem launching spoon.sh from my Oracle Linux Server 6.6. I believe there something to do with path, but I'm having a deadlock to resolve the latest error. Any help would be greatly appreciated.

First, org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]. To resolve it, I replaced LIBPATH=$CURRENTDIR/../libswt/linux/x86_64/ to LIBPATH=/opt/pentaho/design-tools/data-integration/libswt/linux/x86_64/ in spoon.sh.

However, after the first error resolved, second error appear, Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite. Therefore, I replaced libraries=../test:../lib:../libswt to libraries=/opt/pentaho/design-tools/data-integration/lib:/opt/pentaho/design-tools/data-integration/libswt/linux/x86_64 in launcher.properties.

Then, after the second error resolved, third error appear, Exception in thread "main" java.lang.ClassNotFoundException: org.pentaho.di.ui.spoon.Spoon. So, I copied lib and ui folder into launcher folder, since application directory is /opt/pentaho/design-tools/data-integration/launcher. However, it didn't resolve the error.

I believe that org.pentaho.di.ui.spoon.Spoon is referring main class for kettle-ui-swt.jar. But anyhow I can't figure out how to resolve it.


Thanks in advance,
Ema

Pentaho BI Data Source with MSSQL

$
0
0
Hello, I am a newbie in pentaho BI. My pentaho environment for testing is like this.

Pentaho BI CE version - 4.8 stable
Platform - window server 2008 R2
Repository database - MYSQL 5.X

My data are currently stored in MSSQL database. I found there are different way (JDNI/JDBC) to make a connection but I don't have a clear idea what it is.
Can anyone provide some suggestion on this topic ? Thanks in advance

Problem with the parameter selectors in published report

$
0
0
Hi all,

i try to generate a simple report and publish it on BI server.
I have a query like this:
SELECT YEAR,MONTH_NAME,VALUE FROM TABLE WHERE YEAR=${YEAR} AND MONTH=${MONTH_VALUE}

I define the two parameter which values coming from query like this:

Name: YEAR
Label: Year
Value Type: Integer
Default value formula: =YEAR(TODAY())

Mandatory

Display type: Drop Down
Query: Get_years (that is something like: select distinct(year) from dim_date)
value: year
display name: year

Y something very similar for parameter month

When I try the preview, the program ask me the parameters and everything work ok

When I publish the report on BI Server, the html page working and show me the result with default parameter value.
The problem is that if I try to change the value using the drop down control, the page reload and it "forget" the value that I choose, so I can't change the parameters.

I try to change the default value leaving blank, and change every option in parameter form (Validate values, reset to default..., Use first value...) but nothing change.
I try to create a new report but still the same.

I try to read the logs file but there aren't something strange, only, when I load the page, I have this in bi-server log (pentaho.log on tomcat)
ERROR [org.pentaho.platform.web.servlet.GenericServlet] GenericServlet.ERROR_0004 - Resource /pentaho-cdf/js/jquery.tooltip.css not found in plugin pentaho-cdf

I think that a not found css file is not the problem.

Any idea?

Thank you very much for help

How To pass the From Date and Todate in Saiku ad-hoc Reporting with pentaho 5.4 CE

$
0
0
Hello All,
i am using Pentaho CE 5.4 with saiku Saiku 3.1 CE
How to pass the parameter in Saiku ad-hoc Reporting. From Date and To date?. Please let me any one. its urgent basis .



Thanks
Manoj Kumar
Viewing all 16689 articles
Browse latest View live