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 2021/05/14 01:34:37 UTC

[GitHub] [dolphinscheduler] dik111 commented on issue #5401: when I run a task using Standalone, Its looger server reports tenantCode: xxx does not exist.

dik111 commented 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:
users@infra.apache.org