caishunfeng commented on issue #12367:
URL: 
https://github.com/apache/dolphinscheduler/issues/12367#issuecomment-1283527607

   > One more :-) @zhongjiajie ...
   > 
   > When I try to execute a DAG the following error log occurs. I believe 
there is a miss configuration, can you guide me?
   > 
   > [LOG-PATH]: /opt/dolphinscheduler/logs/20221018/7222558634432_2-6-9.log, 
[HOST]: Host{address='[172.20.0.5:1234](http://172.20.0.5:1234/)', 
ip='172.20.0.5', port=1234} [INFO] 2022-10-18 14:12:40.511 +0000 - Begin to 
pulling task [INFO] 2022-10-18 14:12:40.525 +0000 - Begin to initialize task 
[INFO] 2022-10-18 14:12:40.525 +0000 - Set task startTime: Tue Oct 18 14:12:40 
UTC 2022 [INFO] 2022-10-18 14:12:40.525 +0000 - Set task envFile: 
/opt/dolphinscheduler/conf/dolphinscheduler_env.sh [INFO] 2022-10-18 
14:12:40.526 +0000 - Set task appId: 6_9 [INFO] 2022-10-18 14:12:40.526 +0000 - 
End initialize task [INFO] 2022-10-18 14:12:40.527 +0000 - Set task status to 
TaskExecutionStatus{code=1, desc='running'} [ERROR] 2022-10-18 14:12:40.601 
+0000 - Task execute failed, due to meet an exception 
org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: 
Inquilino #2 doesn't exist at 
org.apache.dolphinscheduler.server.worker.utils.TaskExecutionCheckerUtils.checkTenantExist(TaskEx
 ecutionCheckerUtils.java:62) at 
org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.beforeExecute(WorkerTaskExecuteRunnable.java:186)
 at 
org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:149)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at 
com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
 at 
com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
 at 
com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at java.lang.Thread.run(Thread.java:750) [INFO] 2022-10-18 14:12:40.603 +0000 - 
Get a exception when execute the task, will send the task 
 execute result to master, the current task execute result is 
TaskExecutionStatus{code=6, desc='failure'}
   > 
   > Note: When I access "workflow definition" and I try to execute the DAG the 
following error message appear "master does not exist", but all process are up 
and running.
   
   
![image](https://user-images.githubusercontent.com/11962619/196618092-8c817f94-81c2-40d6-beb1-bc15379cbb6a.png)
   
   Hi @Arturo-Penas-Rial I try at local and it can create a new tenant by 
default config. I think you can try to execute cmd ` sudo useradd -g user-group 
new-user` in the worker node.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to