[ https://issues.apache.org/jira/browse/FLINK-6083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16683912#comment-16683912 ]
Barisa commented on FLINK-6083: ------------------------------- Hi Andrej. Are you able to expose information on the task manager, if it is connected to the jobmanager? So far, our implementation was, to ask the jobmanager if the specific task manager is connected to the job manager. Though it would be nicer if the taskmanager itself would expose metric, as you described `jobManagerConnection` > [TaskManager] Support readiness/liveness probes > ----------------------------------------------- > > Key: FLINK-6083 > URL: https://issues.apache.org/jira/browse/FLINK-6083 > Project: Flink > Issue Type: New Feature > Components: Distributed Coordination > Affects Versions: 1.2.0, 1.3.0 > Reporter: Andrey > Priority: Major > > Currently there is no way to tell if TaskManager is operating or not. > Operating means "its connected to JobManager and ready to process requests". > TaskManager should provide metric "jobManagerConnection": > * 0 - disconnected > * 1 - connected > Or any other API which could expose connection status. > Expected usage: > * run task manager in managed environment > * configure readiness and liveness probes (periodically poll jmx or REST) > * restart task manager if liveness probe returns 0 (disconnected) -- This message was sent by Atlassian JIRA (v7.6.3#76005)