You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/01 13:33:03 UTC

[jira] [Commented] (FLINK-10209) Exclude jdk.tools dependency from hadoop when running with java 9

    [ https://issues.apache.org/jira/browse/FLINK-10209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634013#comment-16634013 ] 

ASF GitHub Bot commented on FLINK-10209:
----------------------------------------

zentol commented on issue #6663:  [FLINK-10209][build] Exclude jdk.tools dependency from hadoop 
URL: https://github.com/apache/flink/pull/6663#issuecomment-425908812
 
 
   The build files wouldn't be really be simpler; we will still need a jdk9 profile regardless.
   I've found too many threads on google where users had issues which could be resolved by adding the `jdk.tools` dependency to consider this a 100% safe change.
   
   Since the degree of simplification is questionable and there are otherwise no benefits to generally excluding the dependency the risks far exceed the rewards. If even a single person is inconvenienced by this it already wasn't worth it.
   
   I will merge the PR as is.
   
   Let's move the discussion for moving hadoop to `flink-shaded` into a dedicated JIRA since it will just get lost here.

----------------------------------------------------------------
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:
users@infra.apache.org


> 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)