Hi, Sergey.

Thanks for the quick reply.

I try to package it in other pc with jdk8 and it succeeds. Please ignore
it. It seems like some errors in my environment.

Best,
Hang

Sergey Nuyanzin <snuyan...@gmail.com> 于2024年1月11日周四 14:31写道:

> Hi Hang
>
> thanks for checking
> yes, it could be packaged with jdk8, moreover jdk8 is checked in ci
> for instance here ci for the commit tagged with v3.0.0-rc1 [1]
>
> the strange thing in the output that you've provided is
> >org.apache.flink:flink-connector-hive_2.12:jar:3.0.0: Could not find
> > artifact jdk.tools:jdk.tools:jar:1.8 at specified path /Library/Internet
> > Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar
>
> there are no such dependencies in poms,
> could it happen that there is some specific configuration on the machine
> you used for that?
> Can you please check it on another setup?
>
>
> [1] https://github.com/apache/flink-connector-hive/actions/runs/7479158667
>
>
> On Thu, Jan 11, 2024 at 4:44 AM Hang Ruan <ruanhang1...@gmail.com> wrote:
>
> > Hi, Sergey Nuyanzin.
> >
> > Thanks for driving this.
> >
> > I try to package the source with jdk8 and it will cause an error as
> > follows.
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  4.621 s
> > [INFO] Finished at: 2024-01-11T11:34:30+08:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal on project flink-connector-hive_2.12:
> Could
> > not resolve dependencies for project
> > org.apache.flink:flink-connector-hive_2.12:jar:3.0.0: Could not find
> > artifact jdk.tools:jdk.tools:jar:1.8 at specified path /Library/Internet
> > Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/../lib/tools.jar -> [Help
> 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> >
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <args> -rf :flink-connector-hive_2.12
> >
> > I see that the 'Building the Apache Flink Hive Connector from Source'
> part
> > in README requires the Java 11. I am not sure whether this could be
> treated
> > as an error.
> > Does the flink-connector-hive support to be packaged with jdk8 now?
> >
> > Best,
> > Hang
> >
> > Jiabao Sun <jiabao....@xtransfer.cn.invalid> 于2024年1月11日周四 11:35写道:
> >
> > > +1 (non-binding)
> > >
> > > - Validated checksum hash
> > > - Verified signature
> > > - Verified web PR
> > > - Verified tags
> > >
> > > Best,
> > > Jiabao
> > >
> > >
> > > > 2024年1月11日 11:25,Hang Ruan <ruanhang1...@gmail.com> 写道:
> > > >
> > > > Sorry that I make a mistake. I build the source with Maven and jdk11.
> > > >
> > > > Best,
> > > > Hang
> > > >
> > > > Hang Ruan <ruanhang1...@gmail.com> 于2024年1月11日周四 11:13写道:
> > > >
> > > >> +1 (non-binding)
> > > >>
> > > >> - Validated checksum hash
> > > >> - Verified signature
> > > >> - Verified that no binaries exist in the source archive
> > > >> - Build the source with Maven and jdk8
> > > >> - Verified web PR
> > > >> - Verified that the flink-connector-base is not packaged in hive
> > > connector
> > > >>
> > > >> Best,
> > > >> Hang
> > > >>
> > > >> Sergey Nuyanzin <snuyan...@gmail.com> 于2024年1月11日周四 06:19写道:
> > > >>
> > > >>> Hi everyone,
> > > >>> Please review and vote on the release candidate #1 for the version
> > > 3.0.0,
> > > >>> as follows:
> > > >>> [ ] +1, Approve the release
> > > >>> [ ] -1, Do not approve the release (please provide specific
> comments)
> > > >>>
> > > >>> This version is compatible with Flink 1.18.x
> > > >>>
> > > >>> 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 F752 9FAE 2481 1A5C
> > 0DF3
> > > >>> CA74 1596 BBF0 7268 35D8 [3],
> > > >>> * all artifacts to be deployed to the Maven Central Repository [4],
> > > >>> * source code tag v3.0.0-rc1 [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,
> > > >>> Release Manager
> > > >>>
> > > >>> [1]
> https://issues.apache.org/jira/projects/FLINK/versions/12352591
> > > >>> [2]
> > > >>>
> > > >>>
> > >
> >
> https://dist.apache.org/repos/dist/dev/flink/flink-connector-hive-3.0.0-rc1
> > > >>> [3] https://dist.apache.org/repos/dist/release/flink/KEYS
> > > >>> [4]
> > > >>>
> > >
> https://repository.apache.org/content/repositories/orgapacheflink-1694/
> > > >>> [5]
> > > >>>
> > https://github.com/apache/flink-connector-hive/releases/tag/v3.0.0-rc1
> > > >>> [6] https://github.com/apache/flink-web/pull/709
> > > >>>
> > > >>
> > >
> > >
> >
>
>
> --
> Best regards,
> Sergey
>

Reply via email to