You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/11/28 02:20:42 UTC

[GitHub] [incubator-streampark] wolfboys commented on a diff in pull request #2100: [Bug] flink cluster management bug fixed

wolfboys commented on code in PR #2100:
URL: https://github.com/apache/incubator-streampark/pull/2100#discussion_r1033068455


##########
streampark-console/streampark-console-service/src/main/resources/mapper/core/ApplicationMapper.xml:
##########
@@ -98,6 +99,14 @@
         limit 1
     </select>
 
+    <select id="existsRunningJobByClusterId" resultType="java.lang.Boolean" parameterType="java.lang.Long">
+        select count(1)
+        from t_flink_app
+        where flink_cluster_id = #{clusterId}

Review Comment:
   > I didn't understand, what is the difference between `cluster_id` and `flink_cluster_id`
   
   cluster_id: Such as the applicationId of the yarn-session and the k8s cluster Id
   flink_cluster_id: Clusters managed by streampark, from t_flink_cluster id field
   



-- 
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: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org