HeartSaVioR commented on a change in pull request #3005: [STORM-3385] Avoid two 
threads reading from the same input stream of a process
URL: https://github.com/apache/storm/pull/3005#discussion_r281412657
 
 

 ##########
 File path: 
storm-client/src/jvm/org/apache/storm/daemon/supervisor/ClientSupervisorUtils.java
 ##########
 @@ -64,7 +64,7 @@ public static int processLauncherAndWait(Map<String, Object> 
conf, String user,
                                              final Map<String, String> 
environment, final String logPreFix)
         throws IOException {
         int ret = 0;
-        Process process = processLauncher(conf, user, null, args, environment, 
logPreFix, null, null);
+        Process process = processLauncher(conf, user, null, args, environment, 
null, null, null);
         if (StringUtils.isNotBlank(logPreFix)) {
 
 Review comment:
   I meant do we really need to handle `Utils.readAndLogStream` here instead of 
deferring in `processLauncher`? If not we can just remove the if statement 
instead.

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


With regards,
Apache Git Services

Reply via email to