597365581 commented on a change in pull request #4618:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/4618#discussion_r567178818



##########
File path: 
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java
##########
@@ -348,12 +348,14 @@ public void run() {
 
                     long lastFlushTime = System.currentTimeMillis();
 
-                    while ((line = inReader.readLine()) != null) {
+                    while ((line = inReader.readLine()) != null || 
logBuffer.size() > 0) {

Review comment:
       兄弟,空了帮忙再review下,我现在改成了 inReader.readLine() 和logBuffer 处理 放在两个线程中处理了。




----------------------------------------------------------------
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:
[email protected]


Reply via email to