dolphinscheduler 出现 “tenant not exists” 租户不存在的相关问题解决
问题描述:
在使用dolphinscheduler创建文件夹、上传文件时,出现“租户不存在” ,日志输出:
[INFO] 2021-04-27 14:35:38.513 org.apache.dolphinscheduler.api.controller.ResourcesController:[177] - query resource list, login user:admin, resource type:FILE
[INFO] 2021-04-27 14:35:38.557 org.apache.dolphinscheduler.api.controller.ResourcesController:[293] - query resource list, login user:admin, resource type:, program type:{}
问题排查
单从日志中看不出什么问题,查看配置文件。
# resource.storage.type=HDFS
resource.storage.type=HDFS
# resource store on HDFS/S3 path, resource file will store to this hadoop hdfs path, self configuration, please make sure the directory exists on hdfs and have read write permissions。"/dolphinscheduler" is re
commended
resource.upload.path=/data/dolphinscheduler
# user data local directory path, please make sure the directory exists and have read write permissions
#data.basedir.path=/tmp/dolphinscheduler
# whether kerberos starts
hadoop.security.authentication.startup.state=false
# java.security.krb5.conf.path=/opt/module/dolphinscheduler//conf/k

本文讲述了在使用DolphinScheduler时遇到的'租户不存在'错误,通过深入分析配置、源码和数据库,发现用户和租户ID对应错误。解决方案是更新数据库,确保用户和正确的租户ID关联,从而顺利进行文件操作。
最低0.47元/天 解锁文章
547

被折叠的 条评论
为什么被折叠?



