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

Sql Error is not Capturing in Pentaho 5.1.0 version log file ( after upgrade from 5.)

$
0
0
Hi All,

We have recently upgraded from 5.0 to 5.1.0 version. we are having ans issue. Oracle (SQL) erros are not caturing in job log file.
I have created a test job with an explicitly induced an error; then I ran the job in 5.0 and 5.1.0 versions and I could see error messages are populating in the log file only in the 5.0 version job. So the issue is with 5.1.0 version.


Exmaple: in 5.0 version log( there is no issue)
INFO 02-12 11:32:41,209 - test - Transformation has allocated 2 threads and 1 rowsets.
INFO 02-12 11:32:41,209 - Table input - SQL query : select 1 as val dual
INFO 02-12 11:32:41,210 - Text file output - Starting to run...
ERROR 02-12 11:32:41,262 - Table input - Unexpected error
ERROR 02-12 11:32:41,262 - Table input - org.pentaho.di.core.exception.KettleDatabaseException:
An error occurred executing SQL:
select 1 as val dual
ORA-00923: FROM keyword not found where expected
at org.pentaho.di.core.database.Database.openQuery(Database.java:1896)

Exmaple: in 5.1.0 version log( Error are not capture as above)

2014/12/02 11:41:06 - Text file output.0 - Starting to run...
2014/12/02 11:41:06 - Table input.0 - SQL query : select 1 as val dual
child index = 1, logging object : org.pentaho.di.core.logging.LoggingObject@ff5784f parent=483528ca-a870-42b3-be4b-6e369629df40
2014/12/02 11:41:06 - OCS DB - Statement canceled!
2014/12/02 11:41:06 - OCS DB - Statement canceled!
2014/12/02 11:41:06 - Table input.0 - Finished reading query, closing connection.


If any one come acroos this situiation can you please tell me the solution.
NOTE: we cant go back to old version as it has( Jons) other enhancemnets so this is not a option we are looking.

Please help me.

Viewing all articles
Browse latest Browse all 16689


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