Kettle啟動轉換任務的時候報錯:No suitable driver found for jdbc:hive2://hadoop102:10000/kettle


報錯信息:

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM