I found we should also add the `slf4j-api` as a `provided` dependency for
`flink-shaded-hadoop-2`.

@Nico, Thanks for your check, and the https://issues.apache.org/jira/browse/
FLINK-12598 is not the blocker.

@Chesnay, I remember where we already discussed this issue, the problems
caused by `provided` scope, and now, It seems nice to have added the
changes for the RC3!

What do you think? @Chesnay Schepler <ches...@apache.org>

The PR can be found here: https://github.com/apache/flink-shaded/pull/64

Best,
Jincheng

Chesnay Schepler <ches...@apache.org> 于2019年5月23日周四 下午5:29写道:

> I found another issue:
>
>  1. jackson is bundled twice in the uber jar.
>  2. javax annotations are included in the slim&uber jar
>
>
> As for 1), I messed up and modified the shading patterns only for
> hadoop-uber, resulting in 2 different shading patterns for jackson.
> (jackson is pulled into both jars separately; once explicitly in
> shaded-hadoop, and another time in shaded-hadoop-uber as a transitive
> dependency of avro)
>
> I've already fixed this on master.
>
> 2) happened because we didn't mark findbugs as provided like in the main
> project. I'm not quite sure why we aren't doing that, but I'm not too
> bothered by this being bundled. This kind of setups where we rely on
> Flink to provide certain dependencies are a bit brittle in general.
>
>
> On 23/05/2019 10:26, Chesnay Schepler wrote:
> > Worked for me; could you try again without parallel builds?
> >
> > Which maven version are you using?
> >
> > On 23/05/2019 09:24, Nico Kruber wrote:
> >> Thanks Jincheng,
> >> unfortunately, I think, I found a blocker:
> >>
> >> -1 (non-binding)
> >>
> >> # not working:
> >> - https://issues.apache.org/jira/browse/FLINK-12598
> >>
> >> # ok:
> >> - checked release notes
> >> - verified signatures (sha512, asc)
> >> - verified "mvn clean package -Pinclude-netty-tcnative-static"
> >>
> >> On 22/05/2019 07:32, Hequn Cheng wrote:
> >>> Thank you Jincheng for the release!
> >>>
> >>> +1 (non-binding)
> >>>
> >>> - Release notes are correct.
> >>> - Built from source archive successfully.
> >>> - Signatures and hash are correct.
> >>> - All artifacts(11 artifacts including flink-shaded) have been
> >>> deployed to
> >>> the maven central repository.
> >>>
> >>> One minor comment for the website pull request but I think it is not a
> >>> blocker.
> >>>
> >>> Best, Hequn
> >>>
> >>>
> >>> On Mon, May 20, 2019 at 9:20 AM jincheng sun <sunjincheng...@gmail.com
> >
> >>> wrote:
> >>>
> >>>> Hi everyone,
> >>>>
> >>>> Please review and vote on the release candidate #2 for the version
> >>>> 7.0, as
> >>>> follows:
> >>>>
> >>>> [ ] +1, Approve the release
> >>>> [ ] -1, Do not approve the release (please provide specific comments)
> >>>>
> >>>> The complete staging area is available for your review, which
> >>>> includes:
> >>>> * JIRA release notes [1],
> >>>> * the official Apache source release to be deployed to
> dist.apache.org
> >>>> [2],
> >>>> which are signed with the key with fingerprint
> >>>> 8FEA1EE9D0048C0CCC70B7573211B0703B79EA0E [3],
> >>>> * all artifacts to be deployed to the Maven Central Repository [4],
> >>>> * source code tag "release-7.0-rc2" [5],
> >>>> * website pull request listing the new release [6].
> >>>>
> >>>> The vote will be open for at least 72 hours. It is adopted by majority
> >>>> approval, with at least 3 PMC affirmative votes.
> >>>>
> >>>> Thanks,
> >>>> Jincheng
> >>>>
> >>>> [1]
> >>>>
> >>>>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12345226&styleName=Html&projectId=12315522&Create=Create&atl_token=A5KQ-2QAV-T4JA-FDED%7C8ba061049bec0c5a72dc0191c47bb53a73b82cb4%7Clin
> >>>>
> >>>> [2]
> https://dist.apache.org/repos/dist/dev/flink/flink-shaded-7.0-rc2/
> >>>> [3] https://dist.apache.org/repos/dist/release/flink/KEYS
> >>>> [4]
> >>>>
> https://repository.apache.org/content/repositories/orgapacheflink-1218
> >>>> [5] https://github.com/apache/flink-shaded/tree/release-7.0-rc2
> >>>> [6] https://github.com/apache/flink-web/pull/209
> >>>>
> >
> >
>
>

Reply via email to