github-actions[bot] commented on issue #17588:
URL: 
https://github.com/apache/dolphinscheduler/issues/17588#issuecomment-3424883213

   ### 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
   
   I followed the official configuration for DolphinScheduler 3.2.0 to 
integrate with the local file system:
   resource.storage.type=LOCAL
   resource.storage.upload.base.path=/dolphinscheduler
   The /dolphinscheduler directory also has read/write permissions for the 
DolphinScheduler installation user. How should I resolve this issue? Is there a 
standard configuration? Or should I update to a newer version?
   
   [INFO] 2025-10-21 13:19:59.856 +0800 
org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[107] - REQUEST 
TRACE_ID:19403980781440, LOGIN_USER:admin, 
URI:/dolphinscheduler/resources/directory, METHOD:POST, 
HANDLER:org.apache.dolphinscheduler.api.controller.ResourcesController.createDirectory,
 ARGS:{currentDir=/, alias=test, pid=-1, type=FILE}
   [WARN] 2025-10-21 13:19:59.879 +0800 
org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl:[179] - 
Resource exists, can not create again, 
fullName:file:///dolphinscheduler/default/resources/test.
   java.lang.NullPointerException: Cannot invoke 
"org.apache.hadoop.fs.FileSystem.exists(org.apache.hadoop.fs.Path)" because 
"this.fs" is null
   
   [ERROR] 2025-10-21 13:19:59.888 +0800 
org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[40] - 
ServiceException: 
   org.apache.dolphinscheduler.api.exceptions.ServiceException: 服务端异常: resource 
already exists, can't recreate
        at 
org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.createDirectory(ResourcesServiceImpl.java:180)
        at 
org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl$$FastClassBySpringCGLIB$$d2d5d7f6.invoke(<generated>)
   
   
   ### What you expected to happen
   
   resolve it
   
   ### How to reproduce
   
   resource.storage.type=LOCAL
   resource.storage.upload.base.path=/dolphinscheduler
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [x] 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: [email protected]

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

Reply via email to