You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2016/10/31 13:59:58 UTC

[jira] [Created] (FLINK-4972) CoordinatorShutdownTestrelies on race for success

Chesnay Schepler created FLINK-4972:
---------------------------------------

             Summary: CoordinatorShutdownTestrelies on race for success
                 Key: FLINK-4972
                 URL: https://issues.apache.org/jira/browse/FLINK-4972
             Project: Flink
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 1.2.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.2.0


The CoordinatorShutdownTest verifies that the CheckpointCoordinator is properly shutdown when a job has succeeded/failed. For this purpose a job is submitted to a cluster without TaskManagers, resulting in immediate failure. The ExecutionGraph is then retrieved, from which the CheckpointCoordinator can be accessed.

This test relies on being able to access the ExecutionGraph for a finished job even though it is only accessible for a short amount of time: until it was archived and removed from the currentJobs map in the JM. From that point on you can only retrieve an ArchivedExecutionGraph, which doesn't contain the CheckpointCoordinator anymore.

The tests should be changed to block the job execution, retrieve the ExecutionGraph, resume the job and then verify the test conditions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)