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

Kettle not writing to log file..

$
0
0
Hello there,

I am facing an issue with kettle writing to its default log file.

I know that kettle writes all the log messages to a spoon_[unique-id].log file under tmp directory. But strangely when i open and see these files i cant find any log messages inside them. I can see the messages on Kettle's Logging tab and also in Eclipse console but not in the log file.

Also i have tried and changed the location of the logfile by using -logfile=C:\logs\kettle.log. Kettle picks up this location and displays a message as shown below. But when i actually open this file i dont see any log messages in it which i can see on both kettle and eclipse's console.

"Spoon - Logging goes to file:///C:/logs/kettle.log"

I have the kettle and other dependent jars in my build and class paths.

Could you please suggest if there is something else which needs to be changed in kettle installation ?

Thanks,
Ravi

Google Analytics Plugin versus HTTP Client

$
0
0
Hi,

I am using the Google Analytics step in Kettle (open source license). It works fine, but it has some limitations. I want to extend it using my own custom functionality, but I cannot find the source code. I did find the sourcecode on http://type-exit.org/adventures-with...in-for-kettle/, but that is an older version and not the same as the step that is shipped with PDI 4.4 Stable.

Basically what I am saying is that I am searching for the sources of gdata-analytics-2.3.0.

My guess is that I can find the source somewhere in Pentaho subversion. Is that correct? If so, where? If not, where else should I search?

Another question is about the alternative, how to use the HTTP client to get data from Google Analytics.

Thanks for your reply, I'm kinda new to this so hopefully I stated my question right.

Tom.

Solved - Simple denormilzation step not working

$
0
0
NOTE: I was in the process of writing this question when I solved it. I decided to post it anyway because I had a hard time finding what I needed and figured this post may come up in someone's search for a similar issue.


Hello all! I'm trying to denormalize some data that is in the header of multiple input files (all with the same layout/template). Just by grabbing the files and fields, I am able to get the data which looks something similar to this:
Data Field filename_siteinfo
Site A Site name somefilename.xls
123 Site number somefilename.xls
Site B Site name someotherfile.xls
456 Site number someotherfile.xls



However when I use the step, only the first entry/record is de-normalized, so my output looks like this:
Site name Site number filename_siteinfo
Site A 123 somefilename.xls



But I need it to look like this:
Site name Site number filename_siteinfo
Site A 123 somefilename.xls
Site B 456 someotherfile.xls

Attached is the configuration of the step before and after I fixed this issue.

BeforeIssueFixed.jpgAfterIssueFixed.jpg
Attached Images

API to read from Enterprise Repository

$
0
0
I am looking for API that I can use to read jobs/transformations from the enterprise repository with a given Repo URL. Any suggestions?
Thanks in advance.

Enrolments open for "Data Mining with Weka" (WekaMOOC)

$
0
0
We are now pleased to announce that the full Data Mining with Weka course is open for enrolment.

http://weka.waikato.ac.nz

The course will start on 9th September and extends over 5 weeks. It features:

· Video lectures
· Practical activities and online assessment
· Extracts from Data Mining (3rd Edition): Witten, Frank & Hall (2011)


You can also follow the course via Twitter or the blog:

https://twitter.com/WekaMOOC

http://wekamooc.blogspot.co.nz/


Ian Witten
David Nichols

--
Department of Computer Science
University of Waikato
New Zealand

http://cs.waikato.ac.nz

Looks like a bug in Analyzer reports

$
0
0
I am trying to use the list min,max on a measure in Analyzer report. I right click on the measure and see Subtotals(Sums,Averages,etc.) option and select min,max on the pop up menu, but nothing seems to be happening. Did I miss something?

TIA
:(

How to Switching to LDAP with Apache Directory Studio

$
0
0
Hi,

I have google and find this
http://infocenter.pentaho.com/help/index.jsp?topic=%2Fsecurity_guide%2Ftask_ldap_dao.html


What is the "working directory server" refer? Pentaho Enterprise Console?
"You must have a working directory server with an established configuration before continuing."

I have installed the Apache Directory Studio.
Can I start by:
1.Switching to LDAP (http://infocenter.pentaho.com/help/i..._ldap_dao.html)
2.Changing to the LDAP Security DAO (http://wiki.pentaho.com/display/Serv...P+Security+DAO)

The LDAP short demo (http://www.pentahoevalcenter.com/adm...figuring-ldap/) show how to change the password.
Still cannot have the "picture" how the Pentaho work with Apache Directory Studio.

Please advice. Thanks in advance.

refresh Reporting MetaData on puc

$
0
0
Hi All,

For Some reasons , i have removed Menu bar option from my PUC .
Now i have created a new xaction and published in BI server , but cannot find New xaction on PUC .
I think i missed "Tools -> Refresh -> Reporting MetaData" option as i missed menu bar . can some help me to know can i create a new icon which does the same (Reporting MetaData)for me in my puc .


Any help/suggestion/idea is appreciated ,


Thanks,
Surya

some beginner's questions

$
0
0
Hi

I have downloaded WEKA 3.7.10 and successfully used the Explorer to input my data set and use half a dozen different classifiers.
All OK.

Question 1] Can one setup a 'batch' system within WEKA whereby several classifiers are run, one after the other, on different subsets of my input data set?

Question 2] If one wishes to create a multi-agent modelling system where each agent utilizes WEKA data mining techniques would anyone care to suggest any suitable open source software that I should consider
I would require the ability for the agents to communicate between themselves and also have the ability to set various rules

Many thanks

Bob M

Extending Analyzer with custom logic written in Java

$
0
0
Hi all
Need some help to get in the right direction.

What I would like to achieve:
To add a button and execute some custom logic when drilled down in an Analyzer result. The custom logic should (of course) have access to read the data.

I have tried to find documentation for doing this but so far got lost in the myriad of documentation.

If someone could point me in the right direction to documentation or an example I would happy.

Ps. I am a Java developer and not afraid of details but new to the entire Pentaho universe.

Repository cache refresh failed

$
0
0
Hi all,


Cannot refresh my PUC, Repository cache refresh failed error on mypuc .
I understood it was hiberate data session issue , how i can sort out it error with our restart of my server .
I faced this problem after renaming there differnt files with same names , Below are my catalina.out logs , i didnt find any duplicate enry in pro_files table .

any advice/ suggestion/help/comment is appreciated


02:14:48,084 ERROR [JDBCExceptionReporter] Duplicate entry '/pentaho-solutions/reports.x' for key 'fullPath'
02:14:48,084 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1562)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.BatchUpdateException: Duplicate entry '/pentaho-solutions/reports.x' for key 'fullPath'
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 79 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '/pentaho-solutions/reports.x' for key 'fullPath'
at sun.reflect.GeneratedConstructorAccessor373.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1976)
... 83 more


Thanks,

how to use image-field using report template

$
0
0
Hello everyone! I am a new guy in Action Sequence. I want to create xaction file call to report template defined in xml file, i want to use image-field to put image to report header. Following is my report header in xml file:

<!-- REPORT HEADER -->

<reportheader height="144" fontname="SansSerif" fontstyle="bold" fontsize="18" ownpage="true">
<label x="0" y="0" width="100%" height="20" alignment="center">Sample Report</label>
<image-field x="0" y="20" width="150" fieldname="GraphImage" height="120"/>

</reportheader>
My problem is that i did not know how to define GraphImage and where to pass link to image-field. Can anyone help me?

hiding userid and password in url pointing to a published report on BI Server

$
0
0
We can access any static report(.prpt) published on BI Server using the URL from other application.
e.g.
http://localhost:8081/pentaho/conten...sword=password

But the url contains user id and password, which is not safe. Is there any way to access report from other application using URL but hiding the user id and password. (Any option other than SSO)

How to build a simple GUI for some basic transformation tasks (instead usage of spoon

$
0
0
Hello,

my name is Andrej Krywcun, a developer from Germany with preference in Javascript and PL/SQL.
I am currently evaluating KETTLE (so I am quite a bloody rookie, so apologies in advance for some may stupid question in the eye of an experienced KETTLE pro ^^) and one task I have to cover is the following:

I just want to to quite simple transformations, so from CSV to a table and from table to CSV with some evaluation in between.
For that I want to create a simple entry form, where you just have a list of source and target fields and click the connection between them.
The execution of the transformation shall be done - of course - by KETTLE.

I have created a DB repository and had a look on the tables, sounds quite self explaining and probably I would be able to insert/update above entered data.
But doing it wiithout API calls you may be f*cked up whenever there is a new release which brings changes in the repository.

So my question is:

Did anybody made up his mind on a similar task? Is there a maybe a tool where you can create an alternativ GUI for simple tasks like described?

Or maybe the API offers calls to write and read specific data which gives the possiblity to build up a own GUI ?!

THX alot in advance for you help,

Best regards,

Andrej

Interval Measures

$
0
0
Hey guys,

Is supporting interval measures on the radar yet for Mondrian?

Here's one of probably several Jiras that exist for it:

http://jira.pentaho.com/browse/MONDRIAN-520

Pretty basic stuff really - Users commonly want to sum up a time difference, often recorded in seconds in the db and display it as hh:mm:ss. Obviously if your db supports it then it could well be stored as an interval in the db too.

Dan

Translation table component

$
0
0
Translation exists for the buttons of the object table component? or what is the file that I can change. (First, Last, Next, ...)

Error Occurred While getting Resultset

$
0
0
I set up a BI server 4.8 on Linux. Every thing works great except this "Error Occurred While getting Resultset" An error occurred while rendering Pivot.jsp. Please see the log for details.

Typically I got this error if I didn't use it for a while. At beginning, I thought this may related to "MySQL connection death after 8 hours". So I used c3p0, but the issue remained.

I downloaded and copied two file under:
/opt/pentaho/biserver-ce/tomcat/webapps/pentaho/WEB-INF/lib/c3p0-0.9.2.1.jar
/opt/pentaho/biserver-ce/tomcat/webapps/pentaho/WEB-INF/lib/mchange-commons-java-0.2.3.4.jar

I edited /opt/pentaho/biserver-ce/pentaho-solutions/system/hibernate/mysql5.hibernate.cfg.xml
<!-- hibernate c3p0 settings -->
<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
<property name="hibernate.c3p0.acquire_increment">3</property>
<property name="hibernate.c3p0.idle_test_period">10</property>
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">75</property>
<property name="hibernate.c3p0.max_statements">0</property>
<property name="hibernate.c3p0.timeout">25200</property>
<property name="hibernate.c3p0.preferredTestQuery">select 1</property>
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
<!-- end hibernate c3p0 settings -->

Also this only happened when I accessed my database connection. No problem if I use SampleData connection. Also it only happened once. If I tried it again, it worked as expected. And It occurred again next day. Also this seems related to Mondrian data analysis.

I really appreciate if anyone can give me some clue, since I have been struggling on this for long time.

The related log is attached.

Thanks.


09:22:34,388 WARN [ExplicitRules] The Cube 'LargeAccount' relation is not a MondrianDef.Table but rather 'mondrian.olap.MondrianDef$View'.
09:22:34,391 WARN [TemplateUtil] not found: [Measures].[cnt]
09:22:34,421 WARN [ExplicitRules] The Cube 'LargeAccount' relation is not a MondrianDef.Table but rather 'mondrian.olap.MondrianDef$View'.
Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
com.tonbeller.jpivot.olap.model.OlapException: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [select NON EMPTY {[Measures].[cnt]} ON COLUMNS,
NON EMPTY {([CLC].[All CLCs], [cnt].[All cnts], [MRC_group].[All MRC_groups], [year_month_number].[All year_month_numbers])} ON ROWS
from [LargeAccount]
]
at com.tonbeller.jpivot.mondrian.MondrianModel.getResult(MondrianModel.java:307)
at com.tonbeller.jpivot.olap.model.OlapModelDecorator.getResult(OlapModelDecorator.java:54)
at com.tonbeller.jpivot.olap.model.CachingOlapModel.getResult(CachingOlapModel.java:48)
...........................
at mondrian.rolap.agg.SegmentLoader.loadImpl(SegmentLoader.java:190)
at mondrian.rolap.agg.SegmentLoader.access$000(SegmentLoader.java:49)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:158)
at mondrian.rolap.agg.SegmentLoader$SegmentLoadCommand.call(SegmentLoader.java:132)
... 5 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 71,258,137 milliseconds ago. The last packet sent successfully to the server was 71,258,720 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
.......................

CDE Popup Example throws Uncaught TypeError: Object # has no method 'popup'

$
0
0
While playing with CDE plugin-samples / CDE / CDE Reference / Popup component from the Pentaho Solution Browse, I realize there is nothing popup when I interact with Popup component example.
ex, click on the popup button, nothing happened.
Then I enabled the Developer Tool Console and realized the following error was thrown:


Has anyone else seen this before? Any idea about why this is happening?

This is the fresh install of Pentaho Community Edition plus CDE.

In addition, I also noticed that every dashboard I opened, even an empty dashboard, will thrown the following exceptions:
Uncaught SyntaxError: Unexpected token < CDF.js:623[/COLOR]
Uncaught SyntaxError: Unexpected token ILLEGAL

Documento XML para gerar banco de dados

Viewing Pentaho system tables R_STEP etc

$
0
0
Is there documentation on the underlying tables for Pentaho so one could search the columns holding SQL statements, column names of tables being updated etc so one can search for what jobs might be affected by a column change or data in a column.

Need an ERD diagram something explaining each tables purpose and comments on what is in each column of a table that pentaho uses

Thanks
Viewing all 16689 articles
Browse latest View live


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