You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by 李鹏 <98...@qq.com.INVALID> on 2022/02/10 00:41:57 UTC
sudo.enable=false Is invalid
Hello, I don't want to use 「sudo-u」 scheduling tasks
so change 「conf/common.properties」 this configuration:
# use sudo or not, if set true, executing user is tenant user and deploy user needs sudo permissions; if set false, executing user is the deploy user and doesn't need sudo permissions
sudo.enable=false
but is invalid
shell task still use 「sudu -u」.
log info:
…..
[INFO] 2022-02-10 08:34:18.661 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[285] - task run command: sudo -u hadoop sh /home/hadoop/dolphinscheduler/temp/exec/process/4462120816128/4465215383552_1/13/15/13_15.command
[INFO] 2022-02-10 08:34:18.664 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[176] - process start, process id is: 92386
[INFO] 2022-02-10 08:34:18.671 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[200] - process has exited, execute path:/home/hadoop/dolphinscheduler/temp/exec/process/4462120816128/4465215383552_1/13/15, processId:92386 ,exitStatusCode:1 ,processWaitForStatus:true ,processExitValue:1
[INFO] 2022-02-10 08:34:19.664 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> welcome to use bigdata scheduling system...
hadoop 不在 sudoers 文件中。此事将被报告。
…...
Re: sudo.enable=false Is invalid
Posted by Lidong Dai <li...@apache.org>.
if this configuration item doesn't work , you can submit an bug issue on
github, and please detailly describe the problem then we will check
Best Regards
---------------
Apache DolphinScheduler PMC Chair & Apache SeaTunnel PPMC
Lidong Dai
lidongdai@apache.org
Linkedin: https://www.linkedin.com/in/dailidong
Twitter: @WorkflowEasy <https://twitter.com/WorkflowEasy>
---------------
On Thu, Feb 10, 2022 at 8:42 AM 李鹏 <98...@qq.com.invalid> wrote:
> Hello, I don't want to use 「sudo-u」 scheduling tasks
>
> so change 「conf/common.properties」 this configuration:
>
> # use sudo or not, if set true, executing user is tenant user and deploy
> user needs sudo permissions; if set false, executing user is the deploy
> user and doesn't need sudo permissions
> sudo.enable=false
>
> but is invalid
>
> shell task still use 「sudu -u」.
>
> log info:
> …..
> [INFO] 2022-02-10 08:34:18.661 TaskLogLogger-class
> org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[285] - task run
> command: sudo -u hadoop sh
> /home/hadoop/dolphinscheduler/temp/exec/process/4462120816128/4465215383552_1/13/15/13_15.command
> [INFO] 2022-02-10 08:34:18.664 TaskLogLogger-class
> org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[176] - process
> start, process id is: 92386
> [INFO] 2022-02-10 08:34:18.671 TaskLogLogger-class
> org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[200] - process has
> exited, execute
> path:/home/hadoop/dolphinscheduler/temp/exec/process/4462120816128/4465215383552_1/13/15,
> processId:92386 ,exitStatusCode:1 ,processWaitForStatus:true
> ,processExitValue:1
> [INFO] 2022-02-10 08:34:19.664 TaskLogLogger-class
> org.apache.dolphinscheduler.plugin.task.shell.ShellTask:[66] - -> welcome
> to use bigdata scheduling system...
> hadoop 不在 sudoers 文件中。此事将被报告。
> …...
>
>