+1

Best Regards

--
DolphinScheduler(Incubator) Contributor
Shiwen Cheng 程世文
Mobile: (+86)15201523580
Email: [email protected]



------------------------------------------------------------------
发件人:程世文 <[email protected]>
发送时间:2021年3月9日(星期二) 10:24
收件人:dev <[email protected]>
主 题:[Discussion][Feature][Worker] Add a configuration item to set whether the 
tenant is automatically created on Worker

Hi, everyone

I want to discuss the following feature, thank you all!

In short words, you can reply:

+1: Agree
-1: Please give a reasonable explanation to retort the following two scenario 
descriptions
No reply: Prefer to agree

**Describe the feature**

In the dev branch, the tenant executing a task will not be automatically 
created in worker. This will cause issue 
[#4995](https://github.com/apache/incubator-dolphinscheduler/issues/4995)

In the following two scenarios, it will cause inconvenience to users

- Product or operation people want to automatically create users instead of 
manually creating tenants
- In the docker container environment, the tenants cannot be created in 
advance. Once the container is pulled up again, all tenants will disappear

**Which version of Dolphin Scheduler:**

- [dev]

**Is your feature request related to a problem? Please describe.**

In the docker container environment, it's a very painful thing to create new 
tenants on every worker every time.

**Describe the solution you'd like**

Add a configuration item to set whether the tenant is automatically created on 
Worker

The default value of this configuration item is `false`, but it needs to be set 
to `true` in the container

The name of this configuration item is `worker.tenant.auto.create`

**Additional context**

Previous dev email discussion: 
https://lists.apache.org/thread.html/ra44b2e69759fcc980e4ed04c1811037bf0e743e47827fc2dcd1049d6%40%3Cdev.dolphinscheduler.apache.org%3E

Related issue:
https://github.com/apache/incubator-dolphinscheduler/issues/5006
https://github.com/apache/incubator-dolphinscheduler/issues/4995


Best Regards

--
DolphinScheduler(Incubator) Contributor
Shiwen Cheng 程世文
Mobile: (+86)15201523580
Email: [email protected]

Reply via email to