mauriciosist
(usa Linux Mint)
Enviado em 14/02/2019 - 16:09h
Opa!
Está na mão meu amigo...
Uma parte de um log: (log_carga_dimensoes_gerais.txt)
2019/02/14 04:27:08 - Starting entry [dim_linha_totalbus NEWXX]
2019/02/14 04:27:08 - dim_linha_totalbus NEWXX - Loading transformation from repository [dim_linha_totalbus NEWXX] in directory [/root/vendas/TOTALBUS/Dimensions]
2019/02/14 04:27:11 - dim_linha_totalbus NEWXX - Expedindo in�cio para transforma��o [dim_linha_totalbus NEWXX]
2019/02/14 04:27:11 - Table output.0 - Connected to database [DW_JCA] (commit=1000)
2019/02/14 04:27:12 - ruta.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Erro inesperado
2019/02/14 04:27:12 - ruta.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2019/02/14 04:27:12 - ruta.0 - An error occurred executing SQL:
2019/02/14 04:27:12 - ruta.0 - select r.ruta_id,r.numruta,
2019/02/14 04:27:12 - ruta.0 - cast(cast(substr(r.numruta,2) as integer) as varchar2(5)) as cod_linha_srvp,
2019/02/14 04:27:12 - ruta.0 - cast(substr(r.numruta,2) as integer) as cod_linha_srvp_int,
2019/02/14 04:27:12 - ruta.0 - re.empresa_id,
2019/02/14 04:27:12 - ruta.0 - trunc(r.FECMODIF) as data_modificacao,
2019/02/14 04:27:12 - ruta.0 - oc.descorgao as org_conc,
2019/02/14 04:27:12 - ruta.0 - r.descruta as nome,
2019/02/14 04:27:12 - ruta.0 - cs.cveclase as cod_classe,
2019/02/14 04:27:12 - ruta.0 - cs.descclase as classe
2019/02/14 04:27:12 - ruta.0 - from vtabol.ruta r
2019/02/14 04:27:12 - ruta.0 - left join vtabol.orgao_concedente oc on oc.orgaoconcedente_id = r.orgaoconcedente_id and oc.activo = 1
2019/02/14 04:27:12 - ruta.0 - left join vtabol.clase_servicio cs on r.claseservicio_id = cs.claseservicio_id and cs.activo = 1
2019/02/14 04:27:12 - ruta.0 - join vtabol.ruta_empresa re on re.ruta_id = r.ruta_id and re.activo = 1
2019/02/14 04:27:12 - ruta.0 - -- and re.empresa_id = 5
2019/02/14 04:27:12 - ruta.0 - and r.numruta is not null and r.numruta <> ' ' --
erros de cadastro
2019/02/14 04:27:12 - ruta.0 - -- and length(r.numruta)<=4
2019/02/14 04:27:12 - ruta.0 - -- where r.numruta in ('5267','5270')
2019/02/14 04:27:12 - ruta.0 - -- and r.numruta = '6058'
2019/02/14 04:27:12 - ruta.0 - order by r.ruta_id
2019/02/14 04:27:12 - ruta.0 - ORA-01722: número inválido
2019/02/14 04:27:12 - ruta.0 -
2019/02/14 04:27:12 - ruta.0 -
2019/02/14 04:27:12 - ruta.0 - at org.pentaho.di.core.database.Database.openQuery(Database.java:1687)
2019/02/14 04:27:12 - ruta.0 - at org.pentaho.di.trans.steps.tableinput.TableInput.doQuery(TableInput.java:224)
2019/02/14 04:27:12 - ruta.0 - at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:138)
2019/02/14 04:27:12 - ruta.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2019/02/14 04:27:12 - ruta.0 - at java.lang.Thread.run(Unknown Source)
2019/02/14 04:27:12 - ruta.0 - Caused by: java.sql.SQLException: ORA-01722: número inválido
2019/02/14 04:27:12 - ruta.0 -
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
2019/02/14 04:27:12 - ruta.0 - at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1060)
Aqui localizando vários logs que contenham erro...
/var/pentaho/logs_carga_diaria/log_carga_diaria_cometa_main.txt:7:2019/02/14 08:00:09 - SQL - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An error occurred executing this job entry :
/var/pentaho/logs_carga_diaria/log_carga_diaria_cometa_main.txt:65:2019/02/14 08:00:09 - Kitchen - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Finished with errors
/var/pentaho/logs_carga_diaria/log_carga_diaria_cometa_main.txt:74:2019/02/14 08:00:18 - SQL - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An error occurred executing this job entry :
/var/pentaho/logs_carga_diaria/log_carga_diaria_cometa_main.txt:132:2019/02/14 08:00:18 - Kitchen - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Finished with errors
/var/pentaho/logs_carga_diaria/monitora_dims_scd.log:9:2019/02/14 06:00:15 - KAIOWA.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An
error occurred, processing will be stopped:
/var/pentaho/logs_carga_diaria/monitora_dims_scd.log:38:2019/02/14 06:00:15 - Kitchen - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Finished with errors
/var/pentaho/logs_carga_diaria/log_job_guia_servicos_cometa.txt:115:2019/02/14 06:14:45 - org.pentaho.di.trans.steps.databasejoin.DatabaseJoinMeta@b355bbe - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Ocorreu um erro de banco de dados:
/var/pentaho/logs_carga_diaria/log_diario_avc_20190214_062022:36:2019/02/14 06:20:38 - SQL VTACATAR - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An error occurred executing this job entry :
/var/pentaho/logs_carga_diaria/log_vendas_1001.txt:278:2019/02/14 09:58:19 - SQL - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An error occurred executing this job entry :
/var/pentaho/logs_carga_diaria/log_vendas_1001.txt:1085:2019/02/14 10:32:24 - SQL - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : An error occurred executing this job entry :
/var/pentaho/logs_carga_diaria/log_carga_SF_encomendas.txt:565:2019/02/14 11:35:03 - PRODUCAO_DB01_CE_POSTGRES - There was an error getting information from the version table R_VERSION.
/var/pentaho/logs_carga_diaria/log_carga_SF_encomendas.txt:568:2019/02/14 11:35:03 - PRODUCAO_DB01_CE_POSTGRES - An error occurred executing SQL:
/var/pentaho/logs_carga_diaria/log_carga_dimensoes_gerais.txt:1534:2019/02/14 04:27:12 - ruta.0 - An error occurred executing SQL:
/var/pentaho/logs_carga_diaria/log_carga_dimensoes_gerais.txt:1549:2019/02/14 04:27:12 - ruta.0 - and r.numruta is not null and r.numruta <> ' ' -- erros de cadastro
/var/pentaho/logs_carga_diaria/log_carga_dimensoes_gerais.txt:1598:2019/02/14 04:27:12 - Memory Group by.0 - and r.numruta is not null and r.numruta <> ' ' --
erros de cadastro
/var/pentaho/logs_carga_diaria/log_carga_dimensoes_gerais.txt:1618:2019/02/14 04:27:12 - Memory Group by.0 - and r.numruta is not null and r.numruta <> ' ' --
erros de cadastro
/var/pentaho/logs_carga_diaria/log_carga_dimensoes_gerais.txt:1668:2019/02/14 04:27:12 - Memory Group by.0 - and r.numruta is not null and r.numruta <> ' ' -- erros de cadastro
O arquivo com a lista de erro é bem simples: (lista.txt)
erros de cadastro
erro de banco de dados
SQL - ERROR
error occurred