Diyotta job is failing with error ERROR:Load SQL execution failed with exception :: Connection reset.

I am trying to load data from hive table to mssql. I have around million records in the hive table. But every time I run the dataflow the load fails after 250k records. The error I see in the log is

INFO   07/17/2019 13:25:51     TGT_LOAD_COMM_POST     204770              [Load Delimiter : ]

ERROR   07/17/2019 13:27:11     TGT_LOAD_COMM_POST     204770          ERROR:Batch execution terminated with exception :: null

ERROR   07/17/2019 13:27:11     TGT_LOAD_COMM_POST     204770          ERROR:Load SQL execution failed with exception :: Connection reset

INFO   07/17/2019 13:27:11     TGT_LOAD_COMM_POST     204770              All opened resource(s) closed successfully

ERROR   07/17/2019 13:27:11     TGT_LOAD_COMM_POST     204770          Unit Execution completed :[Status:  F ],[ReturnCd:  EFA00017 ],[ReturnMsg:  LoadSQL execution failed:Connection reset ]

Is there any setting change that needs to be done to overcome this?
Beginner Asked on July 24, 2019 in Diyotta Monitor.
Add Comment
1 Answer(s)

As per the snapshot attached, the load type is JDBC for the MSSQL target. Follow the below steps to resolve the issue


1. Can you try to run the Job by reducing the batch size property value to 50000[50k] in the load properties?

Batch Size property

2. In order to reduce the data load latency try running the job using BCP as load type.
3. BCP[ Bulk Copy Program] a native utility of MSSQL will do Bulk inserts rather than row by row inserts.
4. Make sure BCP utility has to be installed on the Agent before running the job.

Expert Answered on July 26, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.