dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] When a user has a resource directory tree, update the user's tenant to report an error

Open xingchun-chen opened this issue 6 years ago • 3 comments

image image

Which version of Dolphin Scheduler: -[dev_1.3.0]

Additional context Add any other context about the problem here.

**Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

xingchun-chen avatar Jun 01 '20 08:06 xingchun-chen

because user's tenant has a resource directory tree ,so java preject package org.apache.dolphinscheduler.api.service 's UsersService.java code updateUser method 's code:HadoopUtils.getInstance().copy(oldResourcePath + "/" + resource.getName(), newResourcePath, false, true); will cause this Exception(resource.getName() is get a directory).

597365581 avatar Jun 02 '20 06:06 597365581

I will start to fix it

597365581 avatar Jun 02 '20 07:06 597365581

@597365581 Hi,I have finished it and tesing now,Could you please choose other issues?Thanks.

lgcareer avatar Jun 02 '20 08:06 lgcareer