gaojun2048 edited a comment on issue #3416:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/3416#issuecomment-698840702


   > > **Resource files are no longer stored on tenants, but are stored by 
project**
   > > Tenants is necessary . because every user run task, upload files to hdfs 
must use a hadoop user to do this. we know every file in hdfs must ower by a 
hadoop user(tenants). If one user can can multiple tenants, when he upload 
resource file to hdfs, which hadoop user(tenants) is the file ower? Do we need 
to select tenants when saving resource files?
   > 
   > I'm talking about weakening tenants, not deleting them
   > 
   > Now the files are stored in HDFS, which is divided by tenant
   > 
   > In fact, if divided by project, it can also meet the needs
   > 
   > Now the implementation of the middle platform system, resources storage by 
project is more in line with the needs of tenants
   > 
   > The tenant is only responsible for the execution rights of tasks, not for 
storage
   
   If users and tenants are one-to-one, resource files can be organized by 
tenants and by projects. Of course, it is best to organize by projects.
   If the user and the tenant are not one-to-one, the user must choose which 
tenant to upload when uploading files to hdfs.
   
   So I think user and the tenant are one-to-one is necessary. Based on this 
premise, the organization of resource files by project is the best.


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


Reply via email to