SbloodyS commented on code in PR #14569:
URL:
https://github.com/apache/dolphinscheduler/pull/14569#discussion_r1357675148
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java:
##########
@@ -2248,4 +2269,118 @@ private void mergeTaskInstanceVarPool(TaskInstance
taskInstance) {
workflowInstance.setVarPool(JSONUtils.toJsonString(processVarPool));
}
+
+ /**
+ * determines whether the process is running
+ *
+ * @param pid process_id
+ * @return boolean
+ */
+ public boolean isProcessRunning(String pid) throws Exception {
Review Comment:
> There may be sth wrong to update pid, ref [#13206
(comment)](https://github.com/apache/dolphinscheduler/pull/13206#discussion_r1335352297),
however, this process runs on Worker, I don't get why you do so when PID
equals 0.
Looks like it's a bug....
--
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]