Compiling flink-runtime module of Flink

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling flink-runtime module of Flink

penguin.
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
Reply | Threaded
Open this post in threaded view
|

Re: Compiling flink-runtime module of Flink

Chesnay Schepler-3
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