Re: flink-dist shading

Posted by Tzu-Li (Gordon) Tai on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Re-flink-dist-shading-tp10221p10223.html

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,
Gordon

On November 19, 2016 at 8:48:32 AM, Foster, Craig ([hidden email]) 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.

 

Thanks!

Craig