报错信息:

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

posted on 2019-09-29 16:26  lykan2lykan  阅读(6233)  评论(0)    收藏  举报