加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

Kettle启动转换任务的时候报错:No suitable driver found for j

发布时间:2020-12-15 07:31:46 所属栏目:Java 来源:网络整理
导读:报错信息: log4j:ERROR No output stream or file set for the appender named [pdi-execution-appender]. 九月 29,2019 4:16:05 下午 org.apache.cxf.endpoint.ServerImpl initDestination 信息: Setting the server‘s publish address to be /i18n 2019/

报错信息:

log4j:ERROR No output stream or file set for the appender named [pdi-execution-appender].
九月 29,2019 4:16:05 下午 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server‘s publish address to be /i18n
2019/09/29 16:16:05 - dept.0 - ERROR (version 8.2.0.0-342,build 8.2.0.0-342 from 2018-11-14 10.30.55 by buildguy) : An error occurred,processing will be stopped:
2019/09/29 16:16:05 - dept.0 - Error occurred while trying to connect to the database
2019/09/29 16:16:05 - dept.0 -
2019/09/29 16:16:05 - dept.0 - Error connecting to database: (using class org.apache.hive.jdbc.HiveDriver)
2019/09/29 16:16:05 - dept.0 - No suitable driver found for jdbc:hive2://hadoop102:10000/kettle

详情如下图:

?

解决方案:

1:

  清理缓存(rm -rf /home/user/data-integration/./system/karaf/caches)

  然后再运行转换任务 (缺陷是每次都需要清理缓存...)

2:修改启动脚本(pan.sh/kitchen.sh)

在脚本中添加如下内容:rm -rf $BASEDIR/./system/karaf/caches

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读