EricGao888 commented on code in PR #12106:
URL: https://github.com/apache/dolphinscheduler/pull/12106#discussion_r979266781


##########
dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTask.java:
##########
@@ -419,6 +438,58 @@ private String buildShellCommandFile(String 
jobConfigFilePath, Map<String, Prope
         return fileName;
     }
 
+    private String buildYarnShellCommandFile(String jobConfigFilePath, 
Map<String, Property> paramsMap, String dataxHdfsPath, String 
dataxOnYarnDependJar)

Review Comment:
   Since the execution of many DS task plugins is based on 
`ShellCommandExecutor`, would u like to improve it so that those tasks could 
also run shell command in yarn containers? BTW, in this PR, it seems 
`datax-on-yarn-1.0.0.jar` is built from code in an individual repo and this 
might not be a good practice. 
https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ShellCommandExecutor.java



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to