apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.85k stars 992 forks source link

[Bug] java.util.concurrent.TimeoutException: null #1667

Open vincent183 opened 1 year ago

vincent183 commented 1 year ago

Search before asking

What happened

我在使用Flink-SQL任务添加Pom依赖时, 使用阿里云仓库和中央仓库都没有获取到依赖插件. 在这之前, 我使用这个配置构建了官方自带的项目, 并且成功运行了 系统自带的 Flink SQL Demo. When I added Pom dependencies using the Flink-SQL task, I did not get dependency plug-ins using either the Ali Cloud Repository or the central repository. Before that, I used this configuration to build the official project and successfully run the Flink SQL Demo that came with the system.

依赖配置: Configuration Code

maven配置如下: Maven configuration is as follows:

StreamPark Version

1.2.3

Java Version

jdk-1.8

Flink Version

1.14.4

Scala Version of Flink

2.12

Error Exception

java.util.concurrent.TimeoutException: null

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

vincent183 commented 1 year ago

询问前先搜索

  • [x] 我在问题中搜索过,没有发现类似的问题。

发生了什么

我在使用 Flink-SQL 任务添加 Pom 依赖时,使用阿里云仓库和中央仓库都没有获取依赖。在这之前,我使用这个配置制造了官方自带的项目,成功运行了系统自带的 Flink SQL Demo。 当我使用 Flink-SQL 任务添加 Pom 依赖项时,我没有使用阿里云存储库或中央存储库获取依赖项插件。在此之前,我使用这个配置搭建了官方项目,并成功运行了系统自带的 Flink SQL Demo。

配置: 配置代码依赖

  • <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-connector-kafka_2.12</artifactId> <version>1.14.4</version> </dependency>

报错如下: 报错如下:

  • java.util.concurrent.TimeoutException: null

maven配置如下: maven配置如下:

aliyunmaven 阿里云公共仓库 https://maven.aliyun.com/repository/public aliyunmaven 阿里云谷歌仓库 https://maven.aliyun.com/repository/google aliyunmaven 阿里云Apache 仓库 https://maven.aliyun .com/repository/apache-snapshots aliyunmaven 阿里云Spring仓库 https://maven.aliyun.com/repository/spring aliyunmaven *阿里云Spring插件仓库 https://maven.aliyun.com/repository/spring-plugin `

流公园版

1.2.3

Java版

JDK-1.8

Flink 版本

1.14.4

Scala 版本的 Flink

2.12

错误异常

java.util.concurrent.TimeoutException: null

截图

没有反应

你愿意提交PR吗?

  • [x] 是的,我愿意提交 PR!

行为守则

下面是原地址: https://developer.aliyun.com/mvn/guide

这是我正在使用的地址, PR里面的中央仓库地址有误:

image