dik111 edited a comment on issue #5401:
URL:
https://github.com/apache/dolphinscheduler/issues/5401#issuecomment-840936266
我在1.3.6版本中(standalone)遇到相同的问题,查找源码后发现是有这么一个判断
`if (!OSUtils.getUserList().contains(taskExecutionContext.getTenantCode())) {
String errorLog = String.format("tenantCode: %s does not
exist", taskExecutionContext.getTenantCode());`
然后我添加了租户对应的os用户,任务可以执行。
----
I encountered the same problem in version 1.3.6 (standalone). After
searching the source code, I found that there was such a judgment
`if (!OSUtils.getUserList().contains(taskExecutionContext.getTenantCode())) {
String errorLog = String.format("tenantCode: %s does not
exist", taskExecutionContext.getTenantCode());`
Then I added the os user corresponding to the tenant, and the task can be
executed.
--
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]