chengshiwen commented on a change in pull request #4618:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/4618#discussion_r566558345
##########
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:
Do you have tested it? And could you give why it can take effect?
----------------------------------------------------------------
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]