kylin :

时间:2025-04-03 09:43:32

运行kylin,kafka任务报错:

Failure task Diagnostics:
Error: :
        at (:381)
        at (:424)
        at $(:349)
        at (:357)
        at (:107)
        at $NewTrackingRecordReader.<init>(:521)
        at (:764)
        at (:341)
        at $(:164)
        at (Native Method)
        at (:422)
        at (:1920)
        at (:158)


        at (:173)
        at (:167)
        ... 6 more
 

解决办法设置

在/etc/profile中设置:
export KAFKA_HOME=/opt/kylin/kafka_2.12-2.1.0

 

环境变量生效,然后重启kylin

source /etc/profile