What is the method of compiling and building Flink source code
This article mainly explains "what is the method of compiling and building Flink source code". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the method of compiling and building Flink source code".
1. Command to build flink from source code
Mvn clean install-DskipTests-Drat.skip=true-Denforcer.fail=false
Second, construct the release-1.9 branch
(1) modify flink\ flink-end-to-end-tests\ flink-confluent-schema-registry\ pom.xml
① flink-avro excludes avro
Org.apache.avro avro
② increase
Org.apache.avro avro 1.10.0
(2) modify flink\ flink-formats\ flink-parquet\ pom.xml
① parquet-avro excludes avro (ibid.)
② increase
Org.apache.avro avro 1.10.0
(3) you need to manually install kafka-schema-registry-client to the local maven repository.
Thank you for reading, the above is the content of "what is the method of compiling and building Flink source code". After the study of this article, I believe you have a deeper understanding of what the method of compiling and building Flink source code is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!