xiaot502 commented on issue #1212: [QUESTION] 1.1.0版本中怎么实现对shell的执行
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/1212#issuecomment-553750348
 
 
   非常感谢解答,令我茅塞顿开。
   
   
   
   
   Thank you very much for the answer.
   
   
   
   
   
   
   
   ------------------ 原始邮件 ------------------
   发件人:&nbsp;"Yelli"<[email protected]&gt;;
   发送时间:&nbsp;2019年11月14日(星期四) 上午9:16
   
收件人:&nbsp;"apache/incubator-dolphinscheduler"<[email protected]&gt;;
   抄送:&nbsp;"涛"<[email protected]&gt;;"Author"<[email protected]&gt;;
   主题:&nbsp;Re: [apache/incubator-dolphinscheduler] [QUESTION] 
1.1.0版本中怎么实现对shell的执行 (#1212)
   
   
   
   
   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中进行指定
    
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.

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