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

Extreme Newbie - Did I configure installation wrong? Unable to run sakila demo

$
0
0
Hi, I am just beginning to learn Pentaho via the Wiley publication "Pentaho Kettle Solutions". I am a statistician by training and I know R, Python, Fortran, a little Pascal, a little SQL and C...so I am not afraid of programming languages. But, I am not BI solutions experienced, by any means. That being said, I imagine this request for help will not include all the information you need to possibly help me. I will respond quickly with any new information you request.


OK, so I installed MySQL on my desktop from installer 1.4 (MySQL 5.6, I believe). Then I *thought* I installed Pentaho 5.2.0.0 as instructed in the book. Following in Chapter 4 I loaded (connected?) the sakila_dwh data with Spoon and then the load_dim_date.ktr transformation. When I ran the transformation, it failed with the errors below.

I might be misunderstanding but it looks like it's having trouble speaking to the output table via MySQL, is that right? Specifically with some batch function? Other errors may cascade from there, but I have no idea. Can anyone help me get started with this? Did I configure something wrong?

Code:

2015/02/04 10:07:37 - Version checker - OK
2015/02/04 10:08:02 - Spoon - Transformation opened.
2015/02/04 10:08:02 - Spoon - Launching transformation [load_dim_date]...
2015/02/04 10:08:02 - Spoon - Started the transformation execution.
2015/02/04 10:08:03 - load_dim_date - Dispatching started for transformation [load_dim_date]
2015/02/04 10:08:03 - Load dim_date.0 - Connected to database [sakila_dwh] (commit=10000)
2015/02/04 10:08:03 - Generate 10 years.0 - Finished processing (I=0, O=0, R=0, W=3660, U=0, E=0)
2015/02/04 10:08:03 - Calculate Dimension Attributes.0 - Optimization level not specified.  Using default of 9.
2015/02/04 10:08:03 - Calculate Dimension Attributes.1 - Optimization level not specified.  Using default of 9.
2015/02/04 10:08:03 - Calculate Dimension Attributes.2 - Optimization level not specified.  Using default of 9.
2015/02/04 10:08:03 - Calculate Dimension Attributes.3 - Optimization level not specified.  Using default of 9.
2015/02/04 10:08:03 - Day Sequence.0 - Finished processing (I=0, O=0, R=3660, W=3660, U=0, E=0)
2015/02/04 10:08:06 - Calculate Dimension Attributes.0 - Finished processing (I=0, O=0, R=915, W=915, U=0, E=0)
2015/02/04 10:08:06 - Calculate Dimension Attributes.3 - Finished processing (I=0, O=0, R=915, W=915, U=0, E=0)
2015/02/04 10:08:06 - Calculate Dimension Attributes.2 - Finished processing (I=0, O=0, R=915, W=915, U=0, E=0)
2015/02/04 10:08:06 - Calculate Dimension Attributes.1 - Finished processing (I=0, O=0, R=915, W=915, U=0, E=0)
2015/02/04 10:08:08 - Load dim_date.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected batch update error committing the database connection.
2015/02/04 10:08:08 - Load dim_date.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseBatchException:
2015/02/04 10:08:08 - Load dim_date.0 - Error updating batch
2015/02/04 10:08:08 - Load dim_date.0 - Unknown column 'date_value' in 'field list'
2015/02/04 10:08:08 - Load dim_date.0 -
2015/02/04 10:08:08 - Load dim_date.0 -              at org.pentaho.di.core.database.Database.createKettleDatabaseBatchException(Database.java:1377)
2015/02/04 10:08:08 - Load dim_date.0 -              at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1366)
2015/02/04 10:08:08 - Load dim_date.0 -              at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:571)
2015/02/04 10:08:08 - Load dim_date.0 -              at org.pentaho.di.trans.step.RunThread.run(RunThread.java:96)
2015/02/04 10:08:08 - Load dim_date.0 -              at java.lang.Thread.run(Unknown Source)
2015/02/04 10:08:08 - Load dim_date.0 - Caused by: java.sql.BatchUpdateException: Unknown column 'date_value' in 'field list'
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1815)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1277)
2015/02/04 10:08:08 - Load dim_date.0 -              at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1353)
2015/02/04 10:08:08 - Load dim_date.0 -              ... 3 more
2015/02/04 10:08:08 - Load dim_date.0 - Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'date_value' in 'field list'
2015/02/04 10:08:08 - Load dim_date.0 -              at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source)
2015/02/04 10:08:08 - Load dim_date.0 -              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2015/02/04 10:08:08 - Load dim_date.0 -              at java.lang.reflect.Constructor.newInstance(Unknown Source)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.Util.getInstance(Util.java:360)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2141)
2015/02/04 10:08:08 - Load dim_date.0 -              at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1773)
2015/02/04 10:08:08 - Load dim_date.0 -              ... 5 more

2015/02/04 10:08:08 - Load dim_date.0 - Finished processing (I=0, O=0, R=3660, W=0, U=0, E=1)
2015/02/04 10:08:08 - load_dim_date - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!
2015/02/04 10:08:08 - Spoon - The transformation has finished!!
2015/02/04 10:08:08 - load_dim_date - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!
2015/02/04 10:08:08 - load_dim_date - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Errors detected!

2015/02/04 10:08:08 - load_dim_date - Transformation detected one or more steps with errors.
2015/02/04 10:08:08 - load_dim_date - Transformation is killing the other steps!


Viewing all articles
Browse latest Browse all 16689

Trending Articles



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