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

How do I "Preview data" in a sub-transformation?

$
0
0
This seems like it would be an easy thing to do but I don't get how. I've started using sub-transformations for "code reuse" in my transformations. They work fine, but I've got one problem, that I can't preview the data after I've run the transformation in Spoon, the "Preview data"-tab is empty. It shows up fine in the main transformation but not in the sub-ones. I'm using a "Mapping (execute sub-transformation)" step and include the sub-transformation like this: ${Internal.Transformation.Filename.Directory}/../common/param.ktr

I've tried both in Spoon 5.0 and 5.3 but no difference.

missing buttons after copied instance

$
0
0
Hello,

we have a working biserver-ce 5.0.1 install on one machine ("A").

When we copy this installation to another machine ("B"), it does work, but some buttons, i.e. some functionality in some places is missing.
A good example is the "German Langauge Pack installer" (also for the French).
When I select the link, I get the box with the installer info, however the "Install" button is only there on machine A, not on machine B.
To make sure, we copied back the complete biserver-ce from B to A. Still, button is there on A, not on B.

Now, what except the biserver-ce could be different.
- identical java install on both machines
- users have admin rights, obviously. pentaho user names are identical.
- different run users / install owners. Is the unix user cached/saved/written somewhere ?
- database - we did start out with identical databases.
- unix install - are there some libraries required on the unix side ?

pentaho.log shows identical JSON for language pack installer.

We dug into that installer page - the DOM is identical to the buttonInstallObj DIV - but on machine B the DOM nodes does not have a BUTTON child.

Any pointers what could be causing this behaviour is greatly appreciated.

Thanks, Tom.

Kettle and AWS java sdk

$
0
0
I am trying to leverage the user defined java step to write a code that will post to AWS SQS.
I added the sdk jar files under libext folder and modified the launcher.properties to add the same to Library and Classpath

There is one contention : aws sdk requires joda-time-2.2.jar while pentaho ketlle CE 5.2 comes with joda-time-1.6.jar. They are not 100% backward compatible. http://joda-time.sourceforge.net/upgradeto200.html

I tried replacing and it worked. However,

So my questions are
1) Is it safe to replace joda-time-1.6.jar with joda-time-2.2.jar? Will it break anything else for Kettle?
2) Is there a way to add /have multiple copies of launcher.properties - one default for every job and one special for just this job. This will help contain issues that may arise due to conflict if any
3) Is there a better way to do all this without writing custom java code. In other words a native pentaho setup for SQS connectivity.

thanks
N

2015 Rexer Data Miner Survey

Problem with geographic (lat/long) type creation

$
0
0
Hi,

I got a data source with two columns long and lat, and I would like to indicate to pentaho that those two columns are geographic.

However I can't understand how I'm suppose to do that, if I use the data source editor, I can create a level in the hierarcht that has the geographic type lat/long, and map my own long/lat columns to those properties. The problem is that pentaho want me to assign a column to the geogrphaic attribute itself, but I have no column since I already used lat and long.

Since I think my explanation isn't very clear, here is a picture of my problem : the subLocal level of the hierarchy is declared geographic, but I don't know which column assign to it.

problem.jpg

Any idea ?

Thank you
Attached Images

Problem with mdxquery schema workbench

$
0
0
Hello,

I made my schema with this application, schema workbench, but I have a problem. When i execute a consult in mdxquery, this return a number "1" in the cell of data, but dont return the value correct "x".

this is my consult:

Select {[Measures].[Quantity]} ON COLUMNS,
NON EMPTY {[user].[name].Members} ON ROWS
From [Cube]

and return this:

Axis #0:
{}
Axis #1:
{[Measures].[quantity]}
Axis #2:
{[user].[user1]}
{[user].[user2]}
Row #0: 1
Row #1: 1


this cells intersection is correct and i see "1", but the value is other, example 123, 987 ...

I have the last version of schema workbench.

which could be the problem?

thank very much

Can I buy the pentaho BI EE in China?

multitenancy in Pentaho

$
0
0
Good afternoon.
Prompt please, whether exists in Pentaho multi tenancy?
Problem in the following: There is a report. It is necessary what each user who opens the report, I saw in it only the data (Data which to it allowed to see). Whether there is a way, for each user, to define data which he will see in the report?
Many thanks for the answer!

Mondrian Head Documentation Incomplete

Problem frame report (little white frame on IE without compatibility view)

$
0
0
Hello,
I have a problem when I view a report on IE 10 and IE 11.

System doesn't view correctly report. It view only a little white frame on center page. if I select"Output type" PDF or EXCEL, report is visible. If I select HTML (Paginated) or HTML (Single Page), I see a little center white frame.

Can you help me?
Attached Images

Advanced section of Database Connection not being saved

$
0
0
I'm trying to use the Advanced options of a Database Connection without success. My edits aren't saved, the next time I open the transformation my changes have disappeared and the transformations doesn't work. Can somebody tell me the correct way to save my changes? Are there any hoops to jump through?

Thanks!

Spoon 5.2.0.0 on Windows 2012
MySQL repository

http://ibin.co/1uM7dBu2GA0U
Attached Images

Change the maxvalue of the Ivy Gauge Component using Javascript

$
0
0
Hi everyone

I want to change the max and min values of the gauge component via javascript, i havent found a good tutorial on how to use javascript in the CDE
any ideas?
Thanks

PostgreSQL Bulk Loader strange behaviour

$
0
0
Hi,

I've been trying to make the PostgreSQL bulk loader run for a few hours and there is no way to make it work :(

After reading several posts I have corrected things I was doing wrong but still no luck, could anyone help me please?

The problem is that the transformation starts and it runs forever without writing anything or showing any error

As you can see in the image below, the transformation is simple: read from a text file and bulk load

bulk.png

Bulk load configuration:

bulk_conf.jpg

Step Metrics:

metrics.jpg

Log:

Code:

2015/03/10 16:58:51 - Spoon - Transformation opened.2015/03/10 16:58:51 - Spoon - Launching transformation [391_bulk_test]...
2015/03/10 16:58:51 - Spoon - Started the transformation execution.
2015/03/10 16:58:51 - 391_bulk_test- Dispatching started for transformation [391_bulk_test]
2015/03/10 16:58:51 - input file.0 - Opening file: file:///D:/etl/input/spirit_20150309.txt
2015/03/10 16:58:52 - PostgreSQL Bulk Loader.0 - Executing command: C:\PROGRA~1\POSTGR~1\9.3\bin\psql.exe -U postgres -h localhost -p 5432 -v ON_ERROR_STOP=1 my_db_name
2015/03/10 16:58:52 - PostgreSQL Bulk Loader.0 - Launching command: COPY my_schema.ds_spirit ( field_a, field_b, field_c, ... )  FROM STDIN WITH CSV DELIMITER AS '|' QUOTE AS '"';
2015/03/10 17:27:33 - Spoon - Processing of transformation stopped.
2015/03/10 17:27:33 - input file.0 - Finished processing (I=10036, O=0, R=0, W=10035, U=0, E=0)

part of the rowlevel log:

Code:

2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - convert line to row
[many times the same]
2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - convert line to row
2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - Found data row: [value_1], [value_2], [value_3]
2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - Putting row: [value_1], [value_2], [value_3]
2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - convert line to row
[many times the same]
2015/03/10 16:35:41 - Entrada Fichero de Texto.0 - convert line to row
[...]

Attached Images

Logging step table problem

$
0
0
Hi,
I notice a strange behaviour on the step log table.
Some transformation are logged but most are not logged without any error or warning....

I'm using the other two log tables for transformation and performance without any problem.

I'm using an Oracle DB.

Do you have an idea?

Thanks

Nico

Cannot save a report

$
0
0
I am a new user of Pentaho. I played around with the tool for a couple of weeks and am now ready to create reports.

The tool will not let me save. I press save and it doesn't do anything (any type of report doesn't save.) What can I look into?

Thanks.

Fill Missing Values with Existing values from column

$
0
0
I am trying to use Kettle to clean up a datasets and then transform them to a template.

The first data set I am working with has a column of strings but there are a lot of rows with missing values.

I think the best way to do this is to query to see if the value is null. If it is not null, copy the value. If it is null, paste the last copied value.

I used this post as a reference 'http://stackoverflow.com/questions/26040054/filling-data-gaps-in-a-stream-in-pentaho-data-integration-is-it-possible'.


That being said. I can't figure out how to do it. Any help would be appreciated. Thanks.
Sample data:
#085429
1 leads to 2
10 cent ring
1000 miles

Oracle bulk loader --connection failure jndi

$
0
0
I am using oracle bulk loader to load data. In the connections if i use a connection that is specified in JNDI I get the following error. But if i create a new connection with the same info using jdbc it is working fine. How do i make it work with the JNDI connection?


2015/03/10 15:44:53 - Oracle Bulk Loader.0 - OUTPUT>Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
2015/03/10 15:44:53 - Oracle Bulk Loader.0 - OUTPUT>
2015/03/10 15:44:54 - Oracle Bulk Loader.0 - ERROR>SQL*Loader-128: unable to begin a session
2015/03/10 15:44:54 - Oracle Bulk Loader.0 - ERROR>ORA-01017: invalid username/password; logon denied
2015/03/10 15:44:54 - Oracle Bulk Loader.0 - ERROR (version 4.3.0-GA, build 16753 from 2012-04-18 21.39.30 by buildguy) : Error in step, asking everyone to stop because of:
2015/03/10 15:44:54 - Oracle Bulk Loader.0 - ERROR (version 4.3.0-GA, build 16753 from 2012-04-18 21.39.30 by buildguy) : IO exception occured: The pipe has been ended
2015/03/10 15:44:54 - Oracle Bulk Loader.0 - ERROR (version 4.3.0-GA, build 16753 from 2012-04-18 21.39.30 by buildguy) : The pipe has been ended
2015/03/10 15:44:54 - ETL_SE_STG - Statement canceled!

Unable to 'Get Fields' when using Salesforce Input in Kettle

$
0
0
Hi Guys,

I'm new to Kettle and new in this forum, I've been trying to get the fields for the Salesforce input, I can successfully login by testing the connection, but when I click the 'Get Fields' button I get this exception:

Code:

org.pentaho.di.core.exception.KettleException: Error getting module [null] fields list!
; nested exception is:
    org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.ChildRelationship - restrictedDelete

Any help is much appreciated.

Thanks and regards!

Mondrian on Sybase: cannot discover dimensions due to brackets

$
0
0
I'm running Mondrian on top of Sybase IQ and use Rex as an OLAP client. I connect with no problems, but when I attempt to explore/discover dimensions I get the error below. Sybase correctly says that the select statement is invalid, I tried to run the statement on an SQL client IDE and get the following error: illegal character "]". Is there a way to disable/change these brackets?

This is my Time dimension definition:

<Dimension name="Time" type="TimeDimension">
<Hierarchy hasAll="false" primaryKey="sk">
<Table name="dim_dates" />
<Level name="Year" column="year" type="Integer" uniqueMembers="true"
levelType="TimeYears" />
<Level name="Quarter" column="quarter" uniqueMembers="false"
levelType="TimeQuarters" />
<Level name="Month" column="month" uniqueMembers="false" type="Integer"
levelType="TimeMonths" />
<Level name="Day" column="day" uniqueMembers="false" type="Integer"
levelType="TimeDays" />
</Hierarchy>
</Dimension>



Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: while counting members of level '[Time].[Day]; sql=[select "dim_dates"."day" as "c0", convert(varchar, ["dim_dates"."day"]) as "c1", convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])]) as "c2", convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"]), convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])])]) as "c3" from "dim_dates" "dim_dates" order by CASE WHEN "dim_dates"."day" IS NULL THEN 1 ELSE 0 END, "dim_dates"."day" ASC, CASE WHEN convert(varchar, ["dim_dates"."day"]) IS NULL THEN 1 ELSE 0 END, convert(varchar, ["dim_dates"."day"]) ASC, CASE WHEN convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])]) IS NULL THEN 1 ELSE 0 END, convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])]) ASC, CASE WHEN convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"]), convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])])]) IS NULL THEN 1 ELSE 0 END, convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"]), convert(varchar, ["dim_dates"."day", convert(varchar, ["dim_dates"."day"])])]) ASC]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:977) [mondrian-3.9.0.0-213.jar:]
at mondrian.olap.Util.newInternal(Util.java:2404) [mondrian-3.9.0.0-213.jar:3.9.0.0-213]
at mondrian.olap.Util.newError(Util.java:2420) [mondrian-3.9.0.0-213.jar:3.9.0.0-213]
at mondrian.rolap.SqlStatement.handle(SqlStatement.java:352) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.SqlStatement.execute(SqlStatement.java:252) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.RolapUtil.executeQuery(RolapUtil.java:350) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.RolapUtil.executeQuery(RolapUtil.java:303) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.SqlMemberSource.getMemberCount(SqlMemberSource.java:143) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.SqlMemberSource.getLevelMemberCount(SqlMemberSource.java:137) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.SmartMemberReader.getLevelMemberCount(SmartMemberReader.java:158) [mondrian-3.9.0.0-213.jar:]
at mondrian.rolap.RolapSchemaReader.getLevelCardinality(RolapSchemaReader.java:319) [mondrian-3.9.0.0-213.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_71]
at mondrian.rolap.RolapUtil$2.invoke(RolapUtil.java:111) [mondrian-3.9.0.0-213.jar:]
at com.sun.proxy.$Proxy12.getLevelCardinality(Unknown Source)
at mondrian.olap4j.MondrianOlap4jExtra.getLevelCardinality(MondrianOlap4jExtra.java:74) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.RowsetDefinition$MdschemaDimensionsRowset.populateDimension(RowsetDefinition.java:3970) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.RowsetDefinition$MdschemaDimensionsRowset.populateCube(RowsetDefinition.java:3915) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.RowsetDefinition$MdschemaDimensionsRowset.populateCatalog(RowsetDefinition.java:3897) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.RowsetDefinition$MdschemaDimensionsRowset.populateImpl(RowsetDefinition.java:3885) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.Rowset.populate(Rowset.java:222) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.Rowset.unparse(Rowset.java:194) [mondrian-3.9.0.0-213.jar:]
at mondrian.xmla.XmlaHandler.discover(XmlaHandler.java:2867) [mondrian-3.9.0.0-213.jar:]
... 19 more
Caused by: java.sql.SQLException: SQL Anywhere Error -131: Syntax error near '"dim_dates"."day"' on line 1
at com.sybase.jdbc4.jdbc.SybConnection.getAllExceptions(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.handleSQLE(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.nextResult(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.nextResult(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.queryLoop(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(Unknown Source) [jconn4.jar:]
at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(Unknown Source) [jconn4.jar:]
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:205) [commons-dbcp-1.2.1.jar:1.2.1]
at mondrian.rolap.SqlStatement.execute(SqlStatement.java:199) [mondrian-3.9.0.0-213.jar:]
... 39 more

Custom cache for schemas and dim items

$
0
0
There is any way to store schema cache (calculate measures and dimensions items) in custom cache, some thing like mondrian.rolap.SegmentCache property?
Viewing all 16689 articles
Browse latest View live


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