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



##########
File path: 
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java
##########
@@ -336,32 +338,50 @@ private void clear() {
      */
     private void parseProcessOutput(Process process) {
         String threadLoggerInfoName = 
String.format(LoggerUtils.TASK_LOGGER_THREAD_NAME + "-%s", 
taskExecutionContext.getTaskAppId());
-        ExecutorService parseProcessOutputExecutorService = 
ThreadUtils.newDaemonSingleThreadExecutor(threadLoggerInfoName);
-        parseProcessOutputExecutorService.submit(new Runnable() {
+        ExecutorService getOutputLogService = 
ThreadUtils.newDaemonSingleThreadExecutor(threadLoggerInfoName + "-" + 
"getOutputLogService");
+        getOutputLogService.submit(new Runnable() {
             @Override
             public void run() {
                 BufferedReader inReader = null;
 
                 try {
                     inReader = new BufferedReader(new 
InputStreamReader(process.getInputStream()));

Review comment:
       I found DS code  has set processBuilder.redirectErrorStream(true);  
before.




----------------------------------------------------------------
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