flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject Re: some questions about flink packaging
Date Wed, 10 Jul 2019 08:27:55 GMT
For your specific problem try to look at
https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/building.html#dependency-shading
.
Which version of maven are you using?

On Wed, Jul 10, 2019 at 10:25 AM Flavio Pompermaier <pompermaier@okkam.it>
wrote:

> From some version of Flink many libraries (included jackson) are shaded
> into org.apache.flink.shaded in order to avoid conflicts during class
> loading.
> See https://github.com/apache/flink-shaded
>
> Best,
> Flavio
>
> On Wed, Jul 10, 2019 at 10:21 AM Marvin777 <xymaqingxiang777@gmail.com>
> wrote:
>
>> hi, all:
>>
>> The flink-dist package downloaded from the flink community does not have
>> the dependencies of Jackson and protobuf, like figure 1.
>> But when I pull the code from github and compile and package it using the
>> mvn clean package command, flink-dist has dependencies on Jackson and
>> protobuf, like figure 2.
>>
>> Am I forgetting something? Who knows why.
>>
>> Thanks.
>>
>> figure 1
>> [image: image.png]
>>
>> figure 2
>> [image: image.png]
>>
>>
>>
>

Mime
View raw message