开发者社区 > 大数据与机器学习 > 正文

请问一下,我执行 savepoint 命令 ./bin/flink savepoint 79f3

请问一下,我执行 savepoint 命令
./bin/flink savepoint 79f3fb6d9a6f10e671451b98bcffea80 /flink-savepoints ---------执行1分钟后报错 Caused by: java.util.concurrent.TimeoutException 系统也只生成了一个空文件夹 \wsl.localhost\Ubuntu\flink-savepoints\savepoint-79f3fb-ea003493cd85 ---------上面提示超时,下面加上一个10分钟的超时时间 ./bin/flink savepoint -t 600000 79f3fb6d9a6f10e671451b98bcffea80 /flink-savepoints ---------报错 The program finished with the following exception: java.lang.IllegalStateException: No ClusterClientFactory found. If you were targeting a Yarn cluster, please make sure to export the HADOOP_CLASSPATH environment variable or have hadoop in your classpath. For more information refer to the "Deployment" section of the official Apache Flink documentation. --提示 Flink 没有找到 ClusterClientFactory 这是什么问题呢

展开
收起
cuicuicuic 2023-04-25 17:56:53 194 0
1 条回答
写回答
取消 提交回答
  • 要加个flink-shaded-hadoop包到flink lib目录,此回答整理自钉群“Flink CDC 社区”

    2023-04-27 14:47:31
    赞同 展开评论 打赏

大数据领域前沿技术分享与交流,这里不止有技术干货、学习心得、企业实践、社区活动,还有未来。

相关产品

  • 实时计算 Flink版
  • 相关电子书

    更多
    Flink CDC Meetup PPT - 龚中强 立即下载
    Flink CDC Meetup PPT - 王赫 立即下载
    Flink CDC Meetup PPT - 覃立辉 立即下载