Hey all - am having issues with a particular InfoMart job running out of Config Man for GIM_ETL75 on V7.2. Basically, Job_LoadRecent continually fails although all other jobs run without issue. When I look in the GIM logs, I see the following:
11:13:14.211 Std 24301 Job_LoadRecent - error loading from table ‘STG_SKILL’ with data-source ‘dbo@GIM_STAGING@melgim01’ to table ‘SKILL’ with data-source ‘dbo@GIM@melgim01’. Exception: org.hibernate.exception.LockAcquisitionException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:82)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.genesyslab.gim.etl.jobs.JobLoad$LoadGIMTable.doLoadTable(JobLoad.java:1865)
at com.genesyslab.gim.etl.jobs.JobLoad$LoadGIMTable.run(JobLoad.java:1694)
Caused by: java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 74) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeBatch(Unknown Source)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
… 9 more
11:13:15.508 Dbg 35102 Dap=GIM_Staging75DAP. SQL= ‘update dbo.STG_WORKFLOW_STATUS set STATUS=‘FAILED’ where LAST_STATUS_UPDATE_UTC < 1222823295 AND (STATUS=‘RUNNING’ or STATUS=‘WAITING’)’
11:13:16.680 Std 24301 Job_LoadRecent - error loading from table ‘STG_CAMPAIGN’ with data-source ‘dbo@GIM_STAGING@melgim01’ to table ‘CAMPAIGN’ with data-source ‘dbo@GIM@melgim01’. Exception: org.hibernate.exception.LockAcquisitionException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:82)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.genesyslab.gim.etl.jobs.JobLoad$LoadGIMTable.doLoadTable(JobLoad.java:1865)
at com.genesyslab.gim.etl.jobs.JobLoad$LoadGIMTable.run(JobLoad.java:1694)
Caused by: java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 70) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeBatch(Unknown Source)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
Does anyone have any ideas what I could do to sort the issue out and allow this job to run?