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/13 08:40:17 UTC

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

xiaot502 edited a comment on issue #1212: [QUESTION] 1.1.0版本中怎么实现对shell的执行
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1212#issuecomment-553295113
 
 
   首先非常感谢你的耐心解答,其实我想了解shell怎么被执行,有三个必要条件首先我要知道被执行的Server在哪个IP下面,我以哪个用户来执行,被执行文件的路径。经过我的测试,执行地址实际在工作分组这个参数来配置,用户是通过租户这个参数来引用。执行路径直接在script框里面直接写入服务器上的绝对调用路径即可比如 sh  /opt/tst.sh
   ################################################################
   
   First of all, thank you very much for your patient answer. In fact, I want to know how the shell is executed. There are three necessary conditions.In my tests, the execution address is actually configured in the working group parameter, and the user is referenced by the tenant parameter.The execution path can be written directly to the absolute call path on the server in the script box such as sh /opt/tst.sh
   
   
   
   
   
   ---原始邮件---
   发件人: "老佛爷"<notifications@github.com&gt;
   发送时间: 2019年11月12日(星期二) 晚上6:30
   收件人: "apache/incubator-dolphinscheduler"<incubator-dolphinscheduler@noreply.github.com&gt;;
   抄送: "xiaot502"<302983717@qq.com&gt;;"Author"<author@noreply.github.com&gt;;
   主题: Re: [apache/incubator-dolphinscheduler] [QUESTION] 1.1.0版本中怎么实现对shell的执行 (#1212)
   
   
    
   Which server is determined by scheduling and has randomness
    2, the server shell file, involving permissions issues, it is not recommended to do so. It is recommended that you use the storage function of the resource center, and then use the resource reference in the shell editor. The system will help you download the script to the execution directory. 
    
   1、服务器由调度决定的,具有随机性
    2、服务器上某个路径下的shell文件,涉及到权限问题,不建议这么做。建议你可以使用资源中心的存储功能,然后在shell编辑器里面使用资源引用就可以,系统会帮助你把脚本下载到执行目录下。
    
   —
   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:
users@infra.apache.org


With regards,
Apache Git Services