Till Rohrmann created FLINK-1580: ------------------------------------ Summary: Cleanup TaskManager initialization logic Key: FLINK-1580 URL: https://issues.apache.org/jira/browse/FLINK-1580 Project: Flink Issue Type: Bug Reporter: Till Rohrmann
Currently, the TaskManager initializes many heavy load objects upon registration at the JobManager. If an exception occurs during the initialization it takes quite long until the {{JobManager}} detects the {{TaskManager}} failure. Therefore, it would be better if we could rearrange the initialization logic so that the {{TaskManager}} only registers at the {{JobManager}} if the all objects could be initialized successfully. Moreover, it would be worthwhile to move some of the initialization work out of the {{TaskManager}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)