Technoboy- commented on a change in pull request #1844: [Feature] python task
logs print delayed
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/1844#discussion_r367803969
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java
##########
@@ -207,7 +207,14 @@ private void buildProcess(String commandFile) throws
IOException {
// merge error information to standard output stream
processBuilder.redirectErrorStream(true);
// setting up user to run commands
- processBuilder.command("sudo", "-u", tenantCode, commandInterpreter(),
commandFile);
+ List<String> command = new ArrayList<>();
Review comment:
Using LinkedList is preferred
----------------------------------------------------------------
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