1.修改下载依赖
将下载的文件
chown -R root:root flink-1.15.3
1.1修改pom.xml
添加下载源:
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository>
<repository>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</repository>
适配集群的版本:修改hive的版本
<hive.version>2.1.1-cdh6.0.0</hive.version>
修改
vim flink-connectors/flink-sql-connector-hive-2.2.0/pom.xml
<artifactId>hive-exec</artifactId>
<version>2.1.1-cdh6.0.0</version>
1.2 修改
flink-runtime-web/pom.xml # 防止在编译时npm下载失败