首页 新闻 会员 周边 捐助

dolphinscheduler创建租户错误

0
悬赏园豆:10 [已解决问题] 解决于 2025-04-18 08:37

[INFO] 2025-04-16 11:32:20.838 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:dd3c3ab3-f282-4d06-a827-535cd7c37742, LOGIN_USER:admin, URI:/dolphinscheduler/tenants, METHOD:POST, HANDLER:org.apache.dolphinscheduler.api.controller.TenantController.createTenant, ARGS:{queueId=1, description=, tenantCode=lisi}
[ERROR] 2025-04-16 11:32:20.886 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[46] - 创建租户错误
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.common.utils.HadoopUtils.mkdir(HadoopUtils.java:277)
at org.apache.dolphinscheduler.api.service.impl.BaseServiceImpl.createTenantDirIfNotExists(BaseServiceImpl.java:135)
at org.apache.dolphinscheduler.api.service.impl.TenantServiceImpl.createTenant(TenantServiceImpl.java:116)
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:783)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
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)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698)
at org.apache.dolphinscheduler.api.service.impl.TenantServiceImpl$$EnhancerBySpringCGLIB$$e5611701.createTenant(<generated>)
at org.apache.dolphinscheduler.api.controller.TenantController.createTenant(TenantController.java:91)
at org.apache.dolphinscheduler.api.controller.TenantController$$FastClassBySpringCGLIB$$24aaa089.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

dudud的主页 dudud | 初学一级 | 园豆:110
提问于:2025-04-16 14:29
< >
分享
最佳答案
0

看起来是hadoop与海豚调度的问题,先看一下海豚调度配置的namenode是否正确,测试是否能正常连接HDFS,能连接查看是否有足够的权限,顺便检查hadoop的配置文件。

收获园豆:10
adai123 | 菜鸟二级 |园豆:212 | 2025-04-17 14:30
其他回答(1)
0

This seems to be an error related to creating a directory for a tenant in the system, specifically a NullPointerException when calling the mkdir method. This error may be caused by not finding or not being able to create the directory required for the new tenant. To fix this, you can agar.io check your system configuration, make sure that the directory permissions and related directories are set correctly. Also, check if the destination directory exists before performing the new creation operation.

rosebl | 园豆:202 (菜鸟二级) | 2025-05-16 16:42
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册