[jira] [Created] (FLINK-15039) Remove default close() implementation from ClusterClient

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15039) Remove default close() implementation from ClusterClient

Shang Yuanchun (Jira)
Kostas Kloudas created FLINK-15039:
--------------------------------------

             Summary: Remove default close() implementation from ClusterClient
                 Key: FLINK-15039
                 URL: https://issues.apache.org/jira/browse/FLINK-15039
             Project: Flink
          Issue Type: Improvement
          Components: Client / Job Submission
    Affects Versions: 1.10.0
            Reporter: Kostas Kloudas
            Assignee: Kostas Kloudas


Currently the {{ClusterClient}} interface extends {{AutoCloseable}} but provides a default, empty implementation for the {{close()}} method. This is error-prone as subclass implementations may not think that they need to actually implement a proper {{close()}}.

 

To this end, this issue aims at removing the default implementation and each implementation of the {{ClusterClient}} will have to explicitly provide its own implementation.
 
 
 
 
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)