TisonKun commented on a change in pull request #9575: [FLINK-13912][client] Remove ClusterClient#getClusterConnectionInfo URL: https://github.com/apache/flink/pull/9575#discussion_r319574670
########## File path: flink-scala-shell/src/main/scala/org/apache/flink/api/scala/FlinkShell.scala ########## @@ -277,8 +277,9 @@ object FlinkShell { val cluster = clusterDescriptor.deploySessionCluster(clusterSpecification) - val inetSocketAddress = AkkaUtils.getInetSocketAddressFromAkkaURL( - cluster.getClusterConnectionInfo.getAddress) Review comment: I don't know whether there is any user connect YARN cluster by Scala Shell. Theoretically in standalone ha(a.k.a. non ha) it is no difference with WebMonitor. But with ZooKeeper enabled it will retrieve `Dispatcher` address and later it should failed to send REST request to `Dispatcher`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services