Schedulis
Schedulis copied to clipboard
schedulis 执行工作流失败
1.版本: schedulis_0.5.0
- 现象: 上传zip包到schedulis后执行工作流失败 ==>job 文件内容 type=command command=echo ${greet} ==>properties 文件内容 greet=HELLO schedulis!
3.exec节点报错日志如下:
./azkaban-common/src/main/java/azkaban/jobExecutor/ProcessJob.java 可能与 assignUserFileOwnership 方法写死了用root 执行有关: final int result = executeAsUser.execute("root", changeOwnershipCommand);
This place is fixed as root user because it is more convenient to control the rights of business users in the production environment
This place is fixed as root user because it is more convenient to control the rights of business users in the production environment
I deployed schedulis by user of 'dss' , which user I had give the sudo permission, but it still can't work, just as the photo show. Do I have to deploy the schedulis by root user ?
The sudo command which I added to /etc/sudoers is : dss ALL=(ALL) NOPASSWD: NOPASSWD: ALL
可能是exec-server的lib下execute-as-user文件权限有问题。通过以下命令更新权限 sudo chown root execute-as-user sudo chmod 6050 execute-as-user
可能是exec-server的lib下execute-as-user文件权限有问题。通过以下命令更新权限 sudo chown root execute-as-user sudo chmod 6050 execute-as-user
你好。不好意思,由于太久远, 我现在已经没有环境了。如果你有环境可以测试一下,若已无问题,可关闭此issue.
哈哈我刚部署遇到了相同的问题,是因为execute-as-user权限,我改了下,就能执行成功了。我回复下,主要是为了给以后别人部署的看看
------------------ 原始邮件 ------------------ 发件人: "WeBankFinTech/Schedulis" @.>; 发送时间: 2021年10月14日(星期四) 下午5:14 @.>; @.@.>; 主题: Re: [WeBankFinTech/Schedulis] schedulis 执行工作流失败 (#11)
可能是exec-server的lib下execute-as-user文件权限有问题。通过以下命令更新权限 sudo chown root execute-as-user sudo chmod 6050 execute-as-user
你好。不好意思,由于太久远, 我现在已经没有环境了。如果你有环境可以测试一下,若已无问题,可关闭此issue.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
哈哈我刚部署遇到了相同的问题,是因为execute-as-user权限,我改了下,就能执行成功了。我回复下,主要是为了给以后别人部署的看看 … ------------------ 原始邮件 ------------------ 发件人: "WeBankFinTech/Schedulis" @.>; 发送时间: 2021年10月14日(星期四) 下午5:14 @.>; @.@.>; 主题: Re: [WeBankFinTech/Schedulis] schedulis 执行工作流失败 (#11) 可能是exec-server的lib下execute-as-user文件权限有问题。通过以下命令更新权限 sudo chown root execute-as-user sudo chmod 6050 execute-as-user 你好。不好意思,由于太久远, 我现在已经没有环境了。如果你有环境可以测试一下,若已无问题,可关闭此issue. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
好的 , 👍