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

Was not expecting value 'LONG' ?

$
0
0
I am using Mondrian-4.0.0 with Saiku and it worked fine on MySQL, but when i connected to exactly same schema on Vertica, i got error on every MDX request ( trace listed below).


Executing the SQL query in Vertica console works just fine.

Below is the trace of this error... and as i undertsand from http://jira.pentaho.com/browse/MONDRIAN-2249 this is NOT THE BUG
What should be configured to avoid this error?



Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set .....
]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.RolapConnection.executeInternal(RolapConnection.java:535)
at mondrian.rolap.RolapConnection.access$000(RolapConnection.java:45)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:448)
at mondrian.rolap.RolapConnection$1.call(RolapConnection.java:446)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while loading segment; sql=[select..... ]
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.Util.newInternal(Util.java:2543)
at mondrian.olap.Util.newError(Util.java:2559)
at mondrian.rolap.SqlStatement.handle(SqlStatement.java:362)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:243)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:166)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:140)
... 4 more
Caused by: mondrian.olap.MondrianException: Mondrian Error:Internal error: Was not expecting value 'LONG' for enumeration 'mondrian.rolap.SqlStatement$Type' in this context
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:989)
at mondrian.olap.Util.newInternal(Util.java:2536)
at mondrian.olap.Util.unexpected(Util.java:2569)
at mondrian.rolap.agg.Segment.createDataset(Segment.java:354)
at mondrian.rolap.agg.SegmentLoader.createDataSets(SegmentLoader.java:525)
at mondrian.rolap.agg.SegmentLoader.createDataSetsForGroupingSets(SegmentLoader.java:476)
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:221)
... 6 more

Approval process

$
0
0
Hi,

how could this approval process be accomplished with PDI:

1. Start job when a new purchase order was added to the ERP system
2. Calculate purchase total
3. If total is greater than $10,000: send approval html e-mail with link to approval form webpage
4. In approval form: user can accept or reject the purchase order
5. If accepted: set approved = yes in purchase order details

Thanks in advance,

Andreas

Generate start and end based on input

$
0
0
I have number of count values like

Input :
1004
55
10

Output has to be in below format :
count start end
1004 0 100
1004 101 200
1004 201 300
1004 301 400
1004 401 500
1004 501 600
1004 601 700
1004 701 800
1004 801 900
1004 901 1000
1004 1001 1004
55 0 55
10 0 10

How to generate start and end values using PDI. Any suggestions how can we do it.

2 dimensions share same table?

$
0
0
Please help who knows how to correctly define schema for 2 or more dimensions sharing the same dimension table

I tried the following:

1) define alias for the table ( alias='dim_initial_datetime' ) :

<Schema name='Leadada' metamodelVersion='4.0' measuresCaption='Показатели' >

<PhysicalSchema>
<Table name='dim_datetime'>
<Key>
<Column name='dim_datetime_id'/>
</Key>
</Table>
<Table name='dim_datetime' alias='dim_initial_datetime'>
<Key>
<Column name='dim_datetime_id'/>
</Key>
</Table>

2) define 2 dimensions:

<Dimension name='DateTime' caption='Дата и время' table='dim_datetime' type='TIME' key='time id'>

<Dimension name='InitialDateTime' caption='Дата и время исходного события' table='dim_initial_datetime' type='TIME' key='time id'>


3) different foreign keys in cube:
<ForeignKeyLink dimension='DateTime' foreignKeyColumn='dim_datetime_fk'/>
<ForeignKeyLink dimension='InitialDateTime' foreignKeyColumn='dim_initial_datetime_fk'/>


It works for some extent... but when i try to query same attribute from BOTH dimensions, i have ths error:

Caused by: mondrian.olap.MondrianException: Mondrian Error:Tuple contains more than one member of hierarchy '[InitialDateTime].[Daily]'.
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:989)
at mondrian.olap.type.TupleType.checkHierarchies(TupleType.java:199)
at mondrian.olap.fun.CrossJoinFunDef.getResultType(CrossJoinFunDef.java:66)


Caused by: mondrian.olap.MondrianException: Mondrian Error:Failed to parse query 'WITH
SET [~ROWS_Daily] AS
{[InitialDateTime].[Daily].[Date].Members}
SET [~ROWS_Daily] AS
{[DateTime].[Daily].[Date].Members}
SELECT
NON EMPTY {[Measures].[Impressions]} ON COLUMNS,
NON EMPTY NonEmptyCrossJoin([~ROWS_Daily], [~ROWS_Daily]) ON ROWS
FROM [Ad Serving]'
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:992)
at mondrian.olap.ConnectionBase.parseStatement(ConnectionBase.java:100)

(This MDX was generated by Saiku)

What is wrong here - schema or MDX or both?

The target file also have some data when the transformation failed

$
0
0
The target file also have some data when the transformation failed , does anyone know the reason?

Merge Join VS Stream Lookup

$
0
0
Hi There,

There have two steps Merge Join and Stream Lookup. Anyone knows what is the using case of this two steps?
which step have a good performance?

Firefox exception in loading the data on CDE Dashboard (from Query params)

$
0
0
Hi, we have created a CDE dashboard. It works fine in chrome. We have used the query parameters, chart components on the dashboard. It works fine in chrome - shows all charts and data. However in firefox it doesn't render the data to be fetched from query paramaters. Here is the console log of firefox.

Code:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ cdf-bootstrap-script-includes.js:647:0"          [Lifecycle >Start] Init[0] (Running: 1)" cdf-bootstrap-script-includes.js:4398:0
"          [Lifecycle >Start] render_sessionBuckets [cccBarChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 13)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_regoTrend [cccBarChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 14)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_geoRego [cccBarChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 15)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_pieExamRego [cccPieChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 16)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_pieGradeRego [cccPieChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 17)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_pieUsageDevice [cccPieChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 18)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_pieSessionsDevice [cccPieChart] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 19)" cdf-bootstrap-script-includes.js:4352:0
"          [Lifecycle >Start] render_avgSessionDurationLW [Query] (P: 5 ): preExecution Timing: 0ms since start, 0ms since last event (Running: 20)" cdf-bootstrap-script-includes.js:4352:0
Use of XMLHttpRequest's withCredentials attribute is no longer supported in the synchronous mode in window context. cdf-bootstrap-script-includes.js:648:0
"CDF: Error updating render_avgSessionDurationLW:" cdf-bootstrap-script-includes.js:4342:852
"CDF: ReferenceError: avgSessionDurationLWVar is not defined"

We are using the latest version of Ctools - 14.12.10

Thanks

Execute ktr file without install pentaho

$
0
0
Do we have a method to invoke ktr file without install pentaho application?

how to handle null data

$
0
0
I want to get two rows one row with null and another rows with specified parse values. My sample data looks like which is attached below..
Attached Files

CDE layout improvements - Duplicate and reordering

$
0
0
We've been doing tons of investments in the Ctools. I had the chance of demoing 2 amazing ones in the always amazing #PCM14:

  • Layout duplication
  • Layout element reordering



Moreover - There was one here where Thomas Morgner did a PCM presentation in PRD; There was, I believe, a presentation done by Matt Casters using PDI. This time, I did my presentation using CDE! The source code of the (of course) Sparkl plugin is here:

git@github.com:pmalves/pcm14preso.git
Clone directly into system, do an "ant resolve", start the server, and done. You'll have access to a demo that shows what's new in Pentaho 5.2

Duplicate element

Since ever, we could duplicate components and datasource. Now we can duplicate layout elements as well, and that will take into account ids and the children elements. Extremely handy

Reordering of layout nodes


Hand in hand with the duplication of the layout comes the need for reordering the nodes. Now we can simply drag and drop a layout element and specify where it should live. It will also drag the children nodes (obviously) and not so obvious but insanely useful, we can drop it in other subnodes, not only on siblings.




Keeping the important stuff visible

A CDE layout (or components...) can get big. To avoid endless scrolling up and down to access the toolbars we added scrollbars to the components and properties panel. Simple and effective

Showing it all together

Take a look at the following video to see how all fits together!







More...

Sub Table Bug

$
0
0
I'm having problems duplicating this though all my embedded tables are doing the same thing.

When I open a row (with another embedded table), leave it open, then sort the main table such that the opened row
moves out of the current page (pagination enabled) and then click a new row the table hangs.

Anyone experience this and find a solution?

Dynamic XML Soruce with Pentaho SDK

$
0
0
Hi Pentaho Community,

I'm using Pentaho do enable my users to design their own Reports.
Now while they design them they can of course selected a XML Source file within the Designer,
but if I later export my data into a xml and its in a different place, it wont work of course.

Now I have been using the Sample1 out of the Reporting SDK Documentation to generate the Reports.
I know by my xmlfile where the source XML is placed, my question is now, how to tell the Generator
to take the Source from a different Place then specified in the prpt? Is this even possible?

Count conditional hidden Rows in Report - Designer

$
0
0
First of all, i'm new here, so i will say "Hello World (or, in this case Forum)!"
I'm from Germany, and i work since 1 Week with the Report-desinger, i'm also a 'greenhorn' on designing Reports... and sorry about my english, too!

So, now my question:

i get a full SQL-Request in ower database, and at creating the Report i hide some Rows dependend on some mandatory Parameters with a Formluar in the "Style" Tab, Field "Visible" like "=if([GroupSummary]<20;FALSE();TRUE())" (The 20 is the Mandatory field "SummaryFilter").

My Problem is, i have to count only the visible Rows of the inner Group. (I have create three Groups for summary, the hidden rows only in the inner Group, that also Detail-Rows).
I create band for every Row in the inner Group. And every Band is denpending on the Conditional Formluar.
I can Count the hole Rows of the innergroup by using using the Function "Group Count" and reset the Counter on the parent Group. That works fine, but i have to subtract the hidden rows.
How can i resovle the Problem? Someone

-> To Implement the Mandatory Field in the SQl-Statement is possible, but in this case the Data request runs a long time, exactly to long. So, it is a good Idea to get first all data an then filter on Mandatory-Field in the Report

Thanks for helping
Katja

Error showing while trying to execute saiku query

$
0
0
Hi Forum,

We have Pentaho bi-server 5.0.1 installed on Ubuntu Linux (Amazon Cloud).
I recently downloaded Saiku plugin from market place.

Here we are able to open already developed cubes (through pentaho data source wizard)
but when we are trying to execute the same we are getting following error.

Please advice to resolve this issue.....

Thanks
Ashwin


2014-12-11 05:49:46,110 ERROR [org.saiku.web.rest.resources.Query2Resource] Error creating new query
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "sortOrder" (Class org.saiku.olap.query2.ThinAxis), not marked as ignorable
at [Source: java.io.StringReader@39e88753; line: 1, column: 120] (through reference chain: org.saiku.olap.query2.ThinQuery["queryModel"]->org.saiku.olap.query2.ThinQueryModel["axes"]->org.saiku.olap.query2.ThinAxis["sortOrder"])
at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649)
at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635)
at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319)
at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)
at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2725)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1856)
at org.saiku.web.rest.resources.Query2Resource.createQuery(Query2Resource.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth

Unable to execute the saiku query on pentaho 5.01

$
0
0
Hi Forum,

When I am trying to run a saiku query on Pentaho 5.0.1 installed on ubuntu , i am getting following error.
Please advice to fix this.


110 ERROR [org.saiku.web.rest.resources.Query2Resource] Error creating new query
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "sortOrder" (Class org.saiku.olap.query2.ThinAxis), not marked as ignorable
at [Source: java.io.StringReader@39e88753; line: 1, column: 120] (through reference chain: org.saiku.olap.query2.ThinQuery["queryModel"]->org.saiku.olap.query2.ThinQueryModel["axes"]->org.saiku.olap.query2.ThinAxis["sortOrder"])
at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649)
at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635)
at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319)
at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)
at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2725)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1856)
at org.saiku.web.rest.resources.Query2Resource.createQuery(Query2Resource.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invok


Thanks
ashwin

Pentaho 5.2.0.0 CE que modulos instalar?

$
0
0
Hola !

Querría saber si alguien ha instalado ya la versión 5.2 CE para saber que tal le ha ido.

Iniciamente el módulo que me instalo es el BI server y también el data integration i el report designer.

¿Hay algun modulo mas que sea recomendable instalar?


Saludos
Frank

can i install pentaho on web hosting?otherwise any free cloud server?

$
0
0
Hi All, am researcher and want to make pantaho as my tool to make my thesis on the effect of cloud computing on Data analysis
and how it easy to access and low cost


anyway
I want to install pentaho on a web hosting can it??

otherwise is there any free cloud server I can use for my Research experiment?

CDF Changes 10DEC2014

$
0
0
Just an FYI: There are bigger underlying changes on this patch than you might think. I'm having some jquery fail strangely and very odd behavior in post execution (can't find a dom object immediately when that function is called which it formerly could find). So iow: some of my dashboards are now broken and you may want to reconsider before moving into a production environment.

can i install pentaho on web hosting?otherwise any free cloud server?

$
0
0
Hi ALl


I want to conduct research on Cloud computing and was wondering if I can install pentaho on Webhosting?? not a server??
if so would anyone tell me how?

if not, does any one know a site offer free cloud server so I can test pentaho?

HDFS error load

$
0
0
Hi,

I'm trying to load a file with PDI (5.2) to a Cloudera Cluster (5.1) and I'm getting this error:

File /user/pdi/weblogs/in/weblogs_parse.txt could only be replicated to 0 nodes instead of minReplication (=1).

Does anybody knows how to fix this? I've formated the data node but it's stil not working.

Thanks!
Viewing all 16689 articles
Browse latest View live


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