You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/11/14 01:16:28 UTC

[GitHub] [incubator-dolphinscheduler] Yeleights commented on issue #1212: [QUESTION] 1.1.0版本中怎么实现对shell的执行

Yeleights commented on issue #1212: [QUESTION] 1.1.0版本中怎么实现对shell的执行
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1212#issuecomment-553678810
 
 
   1 task is run by the tenant through "sudo -u ${tenant}", tenant is a linux user
   2 specify one worker to run the task, you can create worker group in Security Center, when the task can be send to the  particular worker
   3 if the task dependent on resource center files, worker use "hdfs dfs -get" to get the resource files in HDFS, then run the task in /tmp/escheduler/exec/process, this path can be user define when installtion dolphinscheduler
   1 执行任务的时候,调度器会采用sudo -u 租户的方式去执行
   2 要指定在某个worker上去执行,可以在worker分组中配置,固定IP,这样就可以把路径写死
   3 hdfs作为资源中心,在执行的时候,调度器会把依赖的jar包,文件等资源拉到worker的执行目录上,我这边是/tmp/escheduler/exec/process,该配置可以在install.sh中进行指定

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services