Clearing lock of taskexecutionhistory table - 8.0

Talend Big Data Installation Guide for Linux

Version
8.0
Language
English (United States)
EnrichDitaval
Big Data for Linux
Product
Talend Big Data
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio
Content
Installation and Upgrade

About this task

If you encounter lock issue of the taskexecutionhistory table in the database, follow these steps to resolve it.

Procedure

  1. Open the configuration.properties file to edit it.
  2. Set lockTimeout for connection pool by URL, for example:
     jdbc:sqlserver://localhost:1433/tac801;lockTimeout=1800
    In cluster mode, change this connection URL on all instances of Talend Administration Center.
    It is also recommended to enable the READ_COMMITTED_SNAPSHOT option:
    ALTER DATABASE <database name>
     SET READ_COMMITTED_SNAPSHOT ON
     WITH ROLLBACK IMMEDIATE;
  3. Save your changes and close the file.