[jira] [Created] (FLINK-17085) Remove FlinkKubeClient#handleException since it does not do anything

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

[jira] [Created] (FLINK-17085) Remove FlinkKubeClient#handleException since it does not do anything

Shang Yuanchun (Jira)
Yang Wang created FLINK-17085:
---------------------------------

             Summary: Remove FlinkKubeClient#handleException since it does not do anything
                 Key: FLINK-17085
                 URL: https://issues.apache.org/jira/browse/FLINK-17085
             Project: Flink
          Issue Type: Task
          Components: Deployment / Kubernetes
            Reporter: Yang Wang


Follow up the discussion in this PR[1].

Currently, {{FlinkKubeClient#handleException}} just log the exception and do not have any substantial operations. Since all the exception has already been handled, for example, {{KubernetesClusterDescriptor#createClusterClientProvider #killCluster}}, then it should be removed.
 Moreover, the {{handleException}} will cause the exception duplication in CLI. 

 

[1]. [https://github.com/apache/flink/pull/11427#discussion_r404221581]



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