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

Random Problem - Error determining value metadata from SQL resultset metadata

$
0
0
Hi Guys,

I need help with a problem that has been happening since I upgraded to 5.01A

I use mysql to store my repository (Native JDBC).

Every night I run a bunch of jobs that are started automatically using the crontab.

Every few days, I have one job that doesn't start and return the following error, I can't reproduce on demand and it can happen on any of the job randomly...

Could anyone suggest a possible cause for the problem? here's the error I get:

2014/05/29 04:00:02 - Kitchen - Start of run.
2014/05/29 04:00:02 - RepositoriesMeta - Reading repositories XML file: /data/pentaho/data-integration5/repositories.xml
Processing stopped because of an error:
An error occured loading the directory tree from the repository

Error loading a repository directory

ERROR executing query

Error determining value metadata from SQL resultset metadata
at org.pentaho.di.kitchen.Kitchen.main (Kitchen.java:283)
at org.pentaho.di.repository.kdr.KettleDatabaseRepository.loadRepositoryDirectoryTree (KettleDatabaseRepository.java:510)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectoryTree (KettleDatabaseRepositoryDirectoryDelegate.java:100)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.loadRepositoryDirectory (KettleDatabaseRepositoryDirectoryDelegate.java:119)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDirectoryDelegate.getDirectory (KettleDatabaseRepositoryDirectoryDelegate.java:48)
at org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryConnectionDelegate.getOneRow (KettleDatabaseRepositoryConnectionDelegate.java:1507)
at org.pentaho.di.core.database.Database.openQuery (Database.java:1694)
at org.pentaho.di.core.database.Database.getRowInfo (Database.java:2137)
at org.pentaho.di.core.database.Database.getValueFromSQLType (Database.java:2191)
at org.pentaho.di.core.row.value.ValueMetaBase.getValueFromSQLType (ValueMetaBase.java:4454)
at org.pentaho.di.core.row.value.ValueMetaFactory.createValueMeta (ValueMetaFactory.java:34)
at org.pentaho.di.core.row.value.ValueMetaFactory.createValueMeta (ValueMetaFactory.java:23)
at org.pentaho.di.core.plugins.PluginRegistry.getPlugin (PluginRegistry.java:255)
at org.pentaho.di.core.plugins.PluginRegistry.getPlugins (PluginRegistry.java:226)
at java.util.HashMap$KeyIterator.next (HashMap.java:845)
at java.util.HashMap$Ha****erator.nextEntry (HashMap.java:810)




ERROR: Kitchen can't continue because the job couldn't be loaded.

Here's my repository information:
<?xml version="1.0" encoding="UTF-8"?>
<repositories>
<connection>
<name>*********</name>
<server>*******</server>
<type>MYSQL</type>
<access>Native</access>
<database>***</database>
<port>***</port>
<username>*****</username>
<password>*****</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
<attributes>
<attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
<attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
<attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute>
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
<attribute><code>STREAM_RESULTS</code><attribute>N</attribute></attribute>
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
</attributes>
</connection>
<repository> <id>KettleDatabaseRepository</id>
<name>****</name>
<description>****</description>
<connection>****</connection>
</repository>
</repositories>



Any help would really be appreciated!

Viewing all articles
Browse latest Browse all 16689

Trending Articles