flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tzu-Li (Gordon) Tai" <tzuli...@apache.org>
Subject Re: flink-dist shading
Date Sat, 19 Nov 2016 03:23:29 GMT
Hi Craig,

I think the email wasn't sent to the ‘dev’ list, somehow.

Have you tried this:

mvn clean install -DskipTests
# In Maven 3.3 the shading of flink-dist doesn't work properly in one run, so we need to run
mvn for flink-dist again.
cd flink-dist
mvn clean install -DskipTests
I agree that it’ll affect downstream users who need to build Flink themselves, and would
be best if it can be resolved.
The above is still more or less a “workaround”, but since I don’t really know the reason
for why the newer Maven versions
won’t properly shade, we’ll probably need to wait for others more knowledgable on the
build infrastructure to chime in and
see if there’s a good long-term solution.

Best Regards,
On November 19, 2016 at 8:48:32 AM, Foster, Craig (foscraig@amazon.com) wrote:

I’m not even sure this was delivered to the ‘dev’ list but I’ll go ahead and forward
the same email to the ‘user’ list since I haven’t seen a response.



I’m following up on the issue in FLINK-5013 about flink-dist specifically requiring Maven
3.0.5 through to <3.3. This affects people who build Flink with BigTop (not only EMR),
so I’m wondering about the context and how we can properly shade the Apache HTTP libraries
so that flink-dist can be built with a current version of Maven. Any insight into this would
be helpful.




View raw message