You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/12/06 09:46:25 UTC
[GitHub] [dolphinscheduler] cleverpig opened a new issue, #13116: [Bug] worker-server/conf/olphinscheduler_env.sh读取权限问题
cleverpig opened a new issue, #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
dolphinscheduler在每次重启后都会做一些属性重置:
1、worker-server/conf目录属性为drwx------.
2、worker-server/conf/dolphinscheduler_env.sh属性为rwx------.
这样当使用hadoop或其他用户运行flinksql-shell脚本时,海豚会先执行worker-server/conf/dolphinscheduler_env.sh,此时发生权限拒绝的错误。
临时解决方法:将flink目录的权限设置为dolphinscheduler:root,然后使用dolphinscheduler用户来执行flinksql-shell脚本任务,避免执行dolphinscheduler_env.sh时出错。
### What you expected to happen
在每次重启后dolphinscheduler保持现有worker-server的conf目录和dolphinscheduler_env.sh的读取属性。.
### How to reproduce
使用其他非root系统用户执行一个flinksql脚本即可。
例如:sql-client.sh -f /app/software/flink-1.16.0/test-all.sql
### Anything else
_No response_
### Version
3.1.x
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1381145058
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1339047757
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
Dolphinscheduler does some property resets after every restart:
1. The attribute of the worker-server/conf directory is drwx------.
2. The attribute of worker-server/conf/dolphinscheduler_env.sh is rwx------.
In this way, when using hadoop or other users to run the flinksql-shell script, Dolphin will first execute worker-server/conf/dolphinscheduler_env.sh, and a permission denied error occurs at this time.
Temporary solution: Set the permission of the flink directory to dolphinscheduler:root, and then use the dolphinscheduler user to execute the flinksql-shell script task to avoid errors when executing dolphinscheduler_env.sh.
### What you expected to happen
Dolphinscheduler keeps existing worker-server's conf directory and dolphinscheduler_env.sh read properties after each restart. .
### How to reproduce
Use other non-root system users to execute a flinksql script.
For example: sql-client.sh -f /app/software/flink-1.16.0/test-all.sql
### Anything else
_No response_
### Version
3.1.x
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] cleverpig commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
cleverpig commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1348036584
> as i know, DS has remove the `chmod -R 700`
what's i did is changing the top level env.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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1339048003
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] closed issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
URL: https://github.com/apache/dolphinscheduler/issues/13116
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] FinallyFinancialFreedom commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by "FinallyFinancialFreedom (via GitHub)" <gi...@apache.org>.
FinallyFinancialFreedom commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1449972597
as i know , `chmod -R 700 ` is removed in 3.1.4, I don't know why there is such a odd command.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1397775806
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] DarkAssassinator commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by GitBox <gi...@apache.org>.
DarkAssassinator commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1342722380
as i know, DS has remove the `chmod -R 700`
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] FinallyFinancialFreedom commented on issue #13116: [Bug] worker-server/conf/olphinscheduler_env.sh read permission problem
Posted by "FinallyFinancialFreedom (via GitHub)" <gi...@apache.org>.
FinallyFinancialFreedom commented on issue #13116:
URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1449940867
> as i know, DS has remove the `chmod -R 700`
on which version ? i use 3.0.2 and the problem is not fixed
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org