You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "penguin." <bx...@126.com> on 2021/01/12 13:54:43 UTC

Compiling flink-runtime module of Flink

Hi,


Does anyone know how to compile the Flink runtime module separately ?
Is it possible to replace the directory(org.apache.flink.runtime) in the flink-dist.jar with the changed part I changed?
It's too slow to compile all at once.


thank you!


penguin

Re: Compiling flink-runtime module of Flink

Posted by Chesnay Schepler <ch...@apache.org>.
The fastest way to replace the bits of flink-runtime within flink-dist 
is to build everything once (via mvn install), and then for each 
modification in flink-runtime, run mvn install -pl 
flink-runtime,flink-dist.This will recompile flink-runtime, and 
repackage flink-dist, but it will use the previously compiled versions 
of other modules.

On 1/12/2021 2:54 PM, penguin. wrote:
> Hi,
>
>
> Does anyone know how to compile the Flink runtime module separately ?
> Is it possible to replace the directory(org.apache.flink.runtime) in the flink-dist.jar with the changed part I changed?
> It's too slow to compile all at once.
>
>
> thank you!
>
>
> penguin