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_r281015058
 
 

 ##########
 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:
   Why not remove this here instead for consistency? I just searched all the 
callers and all except here rely on `processLauncher` and don't call 
`Utils.readAndLogStream`.

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