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

Sylwester Lachiewicz commented on HIVE-26226:
---------------------------------------------

thx for output - now I can also reproduce output with Maven 3.8.1 and Java 8. 

So, only hbase-annotations 1.1.1 have a direct dependency on jdk.tools 1.7. All 
others have dependency defined in the profile for Java 7 or 8. 

Because we compile with Java 11 dependency isn't required. 

It's safe to exclude one from hive-metastore (2.3.3) because here, inside 
upgrade-acid we also have 2nd instance that comes from hadoop-common (2.7.2) - 
hadoop-annotations and then jdk.tools with 2 profiles (7,8)

> Remove outdated dependency to jdk.tools:jdk.tools:jar:1.7 (upgrade-acid)
> ------------------------------------------------------------------------
>
>                 Key: HIVE-26226
>                 URL: https://issues.apache.org/jira/browse/HIVE-26226
>             Project: Hive
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 3.1.3, 4.0.0-alpha-2
>            Reporter: Sylwester Lachiewicz
>            Priority: Minor
>         Attachments: jdktools_deps_master.txt
>
>
> The hive-metastore 2.3.3 used in upgrade-acid tests includes unnecessary 
> dependency - that blocks the possibility to compile with newer java versions 
> > 8



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to