【flink】flink Class not resolvable through given classloader ClassNotFoundException: FlinkKafkaConsum

【flink】flink Class not resolvable through given classloader ClassNotFoundException: FlinkKafkaConsum

1.概述

某些情况下 flink报错如下

2021-04-16 17:13:52
org.apache.flink.streaming.runtime.tasks.StreamTaskException: Cannot load user class: org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer
ClassLoader info: URL ClassLoader:
    file: '/tmp/blobStore-4a12d9a9-d183-4ef7-9aff-472f4256835f/job_7b5ea83cada0b03c240b3057826bb433/blob_p-eabf998767a61c662fc9d50b63b543e96dae63e5-3a9c6e542ff9dacac8595deaf52a24ab' (valid JAR)
Class not resolvable through given classloader.
  at org.apache.flink.streaming.api.graph.StreamConfig.getStreamOperatorFactory
上一篇:spark面试该准备点啥


下一篇:7.分布式计算平台Spark:Streaming