lenboo commented on a change in pull request #4108:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/4108#discussion_r530823970
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java
##########
@@ -100,6 +98,12 @@ public void process(Channel channel, Command command) {
logger.error("task execution context is null");
return;
}
+ // check if the OS user exists
+ if
(!OSUtils.getUserList().contains(taskExecutionContext.getTenantCode())) {
+ logger.error("tenantCode:{} does not
exist",taskExecutionContext.getTenantCode());
Review comment:
we can set the task status failed when the tenant code does not exist.
----------------------------------------------------------------
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]