内容纲要
概要描述
Datamart异常,日志报错:fail to drop and create database datamart to set up
-
异常的pod的 /var/log/datamart1/feature.log 日志没有异常, 重启也没有打印日志。
-
查看/var/log/datamart1/datamart.log发现日志中报错:
io.transwarp.datamarket.common.exception.DatamarketException: fail to drop and create database datamart to set up
详细说明
问题原因
Datamart依赖于inceptor,启动的时候需要做连接inceptor这个操作,由于连接inceptor的账号密码不对而连不上inceptor,导致了Datamart启动异常。
有可能是依赖的inceptor之前没有开安全,inceptor开了安全并且将认证方式改成LDAP以后,重启datamart失败。
解决方案
- 将Datamart 的
inceptor.ldap.username
和inceptor.ldap.password
参数的值改成能连接inceptor的用户名和密码。 - datamart服务页面右上角>更多操作>配置服务
- 重启Datamart。