Hi Gyula! Thanks for reporting this.
Can you try to simply build Flink without Hadoop and then exporting HADOOP_CLASSPATH to your CloudEra libs? That is the recommended way these days. Best, Stephan On Mon, Aug 12, 2019 at 10:48 AM Gyula Fóra <gyula.f...@gmail.com> wrote: > Thanks Dawid, > > In the meantime I also figured out that I need to build the > https://github.com/apache/flink-shaded project locally with > -Dhadoop.version set to the specific hadoop version if I want something > different. > > Cheers, > Gyula > > On Mon, Aug 12, 2019 at 9:54 AM Dawid Wysakowicz <dwysakow...@apache.org> > wrote: > > > Hi Gyula, > > > > As for the issues with mapr maven repository, you might have a look at > > this message: > > > > > https://lists.apache.org/thread.html/77f4db930216e6da0d6121065149cef43ff3ea33c9ffe9b1a3047210@%3Cdev.flink.apache.org%3E > > > > Try using the "unsafe-mapr-repo" profile. > > > > Best, > > > > Dawid > > > > On 11/08/2019 19:31, Gyula Fóra wrote: > > > Hi again, > > > > > > How do I build the RC locally with the hadoop version specified? Seems > > like > > > no matter what I do I run into dependency problems with the shaded > hadoop > > > dependencies. > > > This seems to have worked in the past. > > > > > > There might be some documentation somewhere that I couldnt find, so I > > would > > > appreciate any pointers :) > > > > > > Thanks! > > > Gyula > > > > > > On Sun, Aug 11, 2019 at 6:57 PM Gyula Fóra <gyula.f...@gmail.com> > wrote: > > > > > >> Hi! > > >> > > >> I am trying to build 1.9.0-rc2 with the -Pvendor-repos profile > enabled. > > I > > >> get the following error: > > >> > > >> mvn clean install -DskipTests -Pvendor-repos -Dhadoop.version=2.6.0 > > >> -Pinclude-hadoop (ignore that the hadoop version is not a vendor > hadoop > > >> version) > > >> > > >> [ERROR] Failed to execute goal on project flink-hadoop-fs: Could not > > >> resolve dependencies for project > > >> org.apache.flink:flink-hadoop-fs:jar:1.9.0: Failed to collect > > dependencies > > >> at org.apache.flink:flink-shaded-hadoop-2:jar:2.6.0-7.0: Failed to > read > > >> artifact descriptor for > > >> org.apache.flink:flink-shaded-hadoop-2:jar:2.6.0-7.0: Could not > transfer > > >> artifact org.apache.flink:flink-shaded-hadoop-2:pom:2.6.0-7.0 from/to > > >> mapr-releases (https://repository.mapr.com/maven/): > > >> sun.security.validator.ValidatorException: PKIX path building failed: > > >> sun.security.provider.certpath.SunCertPathBuilderException: unable to > > find > > >> valid certification path to requested target -> [Help 1] > > >> > > >> This looks like a TLS error. Might not be related to the release but > it > > >> could be good to know. > > >> > > >> Cheers, > > >> Gyula > > >> > > >> On Fri, Aug 9, 2019 at 6:26 PM Tzu-Li (Gordon) Tai < > tzuli...@apache.org > > > > > >> wrote: > > >> > > >>> Please note that the unresolved issues that are still tagged with a > fix > > >>> version "1.9.0", as seen in the JIRA release notes [1], are issues to > > >>> update documents for new features. > > >>> I've left them still associated with 1.9.0 since these should still > be > > >>> updated for 1.9.0 soon along with the official release. > > >>> > > >>> [1] > > >>> > > >>> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315522&version=12344601 > > >>> > > >>> On Fri, Aug 9, 2019 at 6:17 PM Tzu-Li (Gordon) Tai < > > tzuli...@apache.org> > > >>> wrote: > > >>> > > >>>> Hi all, > > >>>> > > >>>> Release candidate #2 for Apache Flink 1.9.0 is now ready for your > > >>> review. > > >>>> This is the first voting candidate for 1.9.0, following the preview > > >>>> candidates RC0 and RC1. > > >>>> > > >>>> Please review and vote on release candidate #2 for version 1.9.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 and binary convenience releases > > to > > >>> be > > >>>> deployed to dist.apache.org [2], which are signed with the key with > > >>>> fingerprint 1C1E2394D3194E1944613488F320986D35C33D6A [3], > > >>>> * all artifacts to be deployed to the Maven Central Repository [4], > > >>>> * source code tag “release-1.9.0-rc2” [5]. > > >>>> > > >>>> Robert is also preparing a pull request for the announcement blog > post > > >>> in > > >>>> the works, and will update this voting thread with a link to the > pull > > >>>> request shortly afterwards. > > >>>> > > >>>> The vote will be open for *at least 72 hours*. > > >>>> Please cast your votes before *Aug. 14th (Wed.) 2019, 17:00 PM > CET*.It > > >>> is > > >>>> adopted by majority approval, with at least 3 PMC affirmative votes. > > >>>> Thanks, > > >>>> Gordon[1] > > >>>> > > >>> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315522&version=12344601 > > >>>> [2] https://dist.apache.org/repos/dist/dev/flink/flink-1.9.0-rc2/ > > >>>> [3] https://dist.apache.org/repos/dist/release/flink/KEYS > > >>>> [4] > > >>> > https://repository.apache.org/content/repositories/orgapacheflink-1234 > > >>>> [5] > > >>>> > > >>> > > > https://gitbox.apache.org/repos/asf?p=flink.git;a=tag;h=refs/tags/release-1.9.0-rc2 > > > > >