You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "NCUZK (via GitHub)" <gi...@apache.org> on 2024/03/18 10:52:52 UTC

[I] [Bug] [Woker] org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist [dolphinscheduler]

NCUZK opened a new issue, #15734:
URL: https://github.com/apache/dolphinscheduler/issues/15734

   ### 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
   
   ***********************************************************************************************
   [INFO] 2024-03-18 18:18:50.817 +0800 - *********************************  Load task instance plugin  *********************************
   [INFO] 2024-03-18 18:18:50.817 +0800 - ***********************************************************************************************
   [INFO] 2024-03-18 18:18:50.879 +0800 - Send task status RUNNING_EXECUTION master: dolphinscheduler-worker-2.dolphinscheduler-worker-headless:1234
   [ERROR] 2024-03-18 18:18:50.886 +0800 - Task execute failed, due to meet an exception
   org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist
   	at org.apache.dolphinscheduler.server.worker.utils.TaskExecutionContextUtils.getOrCreateTenant(TaskExecutionContextUtils.java:74)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.beforeExecute(WorkerTaskExecutor.java:215)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.run(WorkerTaskExecutor.java:167)
   	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] 2024-03-18 18:18:50.886 +0800 - Cancel the task successfully
   [INFO] 2024-03-18 18:18:50.891 +0800 - Get a exception when execute the task, will send the task status: FAILURE to master: dolphinscheduler-worker-2.dolphinscheduler-worker-headless:1234
   [INFO] 2024-03-18 18:18:50.894 +0800 - FINALIZE_SESSION
   
   
   ### What you expected to happen
   
   可以正常运行工作流实例
   
   ### How to reproduce
   
   3.2.1 版本运行工作流实例
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.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


Re: [I] [Bug] [Woker] org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #15734: [Bug] [Woker] org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist
URL: https://github.com/apache/dolphinscheduler/issues/15734


-- 
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


Re: [I] [Bug] [Woker] org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #15734:
URL: https://github.com/apache/dolphinscheduler/issues/15734#issuecomment-2003591720

   ### 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
   
   ***********************************************************************************************
   [INFO] 2024-03-18 18:18:50.817 +0800 - *********************************  Load task instance plugin  *********************************
   [INFO] 2024-03-18 18:18:50.817 +0800 - ***********************************************************************************************
   [INFO] 2024-03-18 18:18:50.879 +0800 - Send task status RUNNING_EXECUTION master: dolphinscheduler-worker-2.dolphinscheduler-worker-headless:1234
   [ERROR] 2024-03-18 18:18:50.886 +0800 - Task execute failed, due to meet an exception
   org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist
   	at org.apache.dolphinscheduler.server.worker.utils.TaskExecutionContextUtils.getOrCreateTenant(TaskExecutionContextUtils.java:74)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.beforeExecute(WorkerTaskExecutor.java:215)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.run(WorkerTaskExecutor.java:167)
   	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] 2024-03-18 18:18:50.886 +0800 - Cancel the task successfully
   [INFO] 2024-03-18 18:18:50.891 +0800 - Get a exception when execute the task, will send the task status: FAILURE to master: dolphinscheduler-worker-2.dolphinscheduler-worker-headless:1234
   [INFO] 2024-03-18 18:18:50.894 +0800 - FINALIZE_SESSION
   
   
   ### What you expected to happen
   
   可以正常运行工作流实例
   
   ### How to reproduce
   
   3.2.1 版本运行工作流实例
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.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


Re: [I] [Bug] [Woker] org.apache.dolphinscheduler.plugin.task.api.TaskException: TenantCode: default doesn't exist [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on issue #15734:
URL: https://github.com/apache/dolphinscheduler/issues/15734#issuecomment-2003712993

   Duplicated with #15637.


-- 
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