github-actions[bot] commented on issue #14302: URL: https://github.com/apache/dolphinscheduler/issues/14302#issuecomment-1580387668
### 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 After deployed the dolphhinscheduler by k8s, I wanted to create a tenant, but it happend '创建租户错误'  From then pod,I got the log ```sql [INFO] 2023-06-07 17:55:58.708 +0800 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[91] - REQUEST TRACE_ID:7e600b79-4d4f-4b49-9a1d-f188226fd135, LOGIN_USER:admin, URI:/dolphinscheduler/tenants/verify-code, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.TenantController.verifyTenantCode, ARGS:{tenantCode=ddd} [INFO] 2023-06-07 17:55:59.019 +0800 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[91] - REQUEST TRACE_ID:7e5884fb-bfff-43e1-b68a-3d4a7db708b3, LOGIN_USER:admin, URI:/dolphinscheduler/tenants, METHOD:POST, HANDLER:org.apache.dolphinscheduler.api.controller.TenantController.createTenant, ARGS:{queueId=1, description=, tenantCode=ddd} [ERROR] 2023-06-07 17:55:59.027 +0800 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[53] - 创建租户错误 java.lang.NullPointerException: null at org.apache.dolphinscheduler.service.storage.impl.HadoopUtils.mkdir(HadoopUtils.java:293) at org.apache.dolphinscheduler.service.storage.impl.HadoopUtils.createTenantDirIfNotExists(HadoopUtils.java:268) at org.apache.dolphinscheduler.api.service.impl.TenantServiceImpl.createTenant(TenantServiceImpl.java:160) at org.apache.dolphinscheduler.api.service.impl.TenantServiceImpl$$FastClassBySpringCGLIB$$fcc8d845.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ``` maybe it depended on hadoop, then I read the source code  I changes the common.properties from `resource.storage.type=HDFS` to `resource.storage.type=NONE` ,and then built then image by `COPY common.properties /opt/dolphinscheduler/conf` in dockerfile. but it did'nt work. In then pod ,the file didn't change  I had tried a lot !!! ### What you expected to happen the file common.properties changed and created tenants successfully! ### How to reproduce deploy by k8s ,then create tenant ### Anything else _No response_ ### Version 3.1.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]
