[
https://issues.apache.org/jira/browse/FLINK-10209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610288#comment-16610288
]
ASF GitHub Bot commented on FLINK-10209:
----------------------------------------
StephanEwen commented on issue #6663: [FLINK-10209][build] Exclude jdk.tools
dependency from hadoop
URL: https://github.com/apache/flink/pull/6663#issuecomment-420195374
Thanks for the fix!
I assume that it does not work to always exclude the dependency from Hadoop,
in Java 8 as well?
What error do we get in that case?
Slightly off topic:
Would it make sense to start moving `flink-hadoop-shaded` to the
`flink-shaded` project? We could have simply the latest bugfix of each minor
version. That would also allow us to properly analyze dependencies, shade them,
get the dependency convergence in Flink under control, etc.
In the long run, we want to encourage exporting the HADOOP_CLASSPATH
anyways, rather than adding Hadoop to Flink. The shaded artifacts would be
mainly a convenience thing, and we don't have to match all vendor-specific
versions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Exclude jdk.tools dependency from hadoop when running with java 9
> -----------------------------------------------------------------
>
> Key: FLINK-10209
> URL: https://issues.apache.org/jira/browse/FLINK-10209
> Project: Flink
> Issue Type: Sub-task
> Components: Build System
> Affects Versions: 1.7.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
>
> {{hadoop-common}} has a {{jdk.tools}} dependency which cannot be resolved on
> java 9. At least for compiling we have to exclude this dependency.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)