Shutting down your JobServer gracefully - 8.0

Talend Installation Guide for Linux

Version
8.0
Language
English
EnrichDitaval
Linux
EnrichSubscriptionType
Subscription
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
You can shut down Talend JobServer in a graceful manner without human interaction to wait for possibly running Jobs to stop.

Procedure

To gracefully shut down your Talend JobServer, use the stop_rs.sh command with the -w <numberOfSeconds> argument.
Behavior of the stop script:
Command Behavior
stop_rs.sh Terminates the JobServer if no Jobs are running. If any Jobs are running, lists the Jobs and allows the user to press any key to refresh the list or Y or y to terminate all the running Jobs.
stop_rs.sh -f Makes the JobServer terminate running Jobs and itself immediately.
stop_rs.sh -w <numberOfSeconds> Terminates the JobServer as soon as no Jobs are running anymore. If there are still Jobs running after the specified number of seconds the script will terminate with the return code 2.
stop_rs.sh -f -w <numberOfSeconds> Gives running Jobs the specified number of seconds to finish. If they do not, then makes the JobServer to terminate the running Jobs and itself.