Aitozi commented on a change in pull request #17554:
URL: https://github.com/apache/flink/pull/17554#discussion_r754914762



##########
File path: 
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
##########
@@ -155,19 +156,14 @@ private String getWebMonitorAddress(Configuration 
configuration) throws Exceptio
     @Override
     public ClusterClientProvider<String> deploySessionCluster(
             ClusterSpecification clusterSpecification) throws 
ClusterDeploymentException {
-        final ClusterClientProvider<String> clusterClientProvider =
-                deployClusterInternal(
-                        KubernetesSessionClusterEntrypoint.class.getName(),
-                        clusterSpecification,
-                        false);
-
-        try (ClusterClient<String> clusterClient = 
clusterClientProvider.getClusterClient()) {
-            LOG.info(
-                    "Create flink session cluster {} successfully, JobManager 
Web Interface: {}",
-                    clusterId,
-                    clusterClient.getWebInterfaceURL());
-        }
-        return clusterClientProvider;
+        final SupplierWithException<ClusterClientProvider<String>, Exception> 
supplier =

Review comment:
       removed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to