[ 
https://issues.apache.org/jira/browse/OMID-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth resolved OMID-211.
------------------------------
    Fix Version/s: 1.0.3
       Resolution: Fixed

Committed.
Thanks for the patch [~greyfairer]

> HBase Shims leak testing dependencies as compile dependencies.
> --------------------------------------------------------------
>
>                 Key: OMID-211
>                 URL: https://issues.apache.org/jira/browse/OMID-211
>             Project: Phoenix Omid
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Geert Pante
>            Assignee: Geert Pante
>            Priority: Major
>             Fix For: 1.0.3
>
>
> In omid-hbase-shims-hbase2.x, hbase-testing-util is added as a compile 
> dependency, so all users depending on one of the shims will have it on it's 
> classpath, unless they exclude it.
> We found this when using Phoenix 5.1 in Cloudera CDP 7.1 in a web application 
> using JAX-RS 2. The hbase-testing-util dependencies drags in dependencies on 
> 10-year old JAX-RS 1 api's.
> Dependency tree:
> {noformat}
> [INFO] |  |  +- org.apache.phoenix:phoenix-core:jar:5.1.0.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.phoenix.thirdparty:phoenix-shaded-guava:jar:1.0.0.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.phoenix:phoenix-hbase-compat-2.4.0:jar:5.1.0.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.hadoop:hadoop-yarn-api:jar:3.1.1.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.hadoop:hadoop-hdfs-client:jar:3.1.1.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.omid:omid-hbase-client-hbase2.x:jar:1.0.2.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.omid:omid-hbase-coprocessor-hbase2.x:jar:1.0.2.7.1.6.0-297:compile
> [INFO] |  |  |  +- 
> org.apache.omid:omid-hbase-shims-hbase2.x:jar:1.0.2.7.1.6.0-297:compile
> [INFO] |  |  |  |  +- 
> org.apache.hbase:hbase-endpoint:jar:2.2.3.7.1.6.0-297:compile
> [INFO] |  |  |  |  \- 
> org.apache.hbase:hbase-testing-util:jar:2.2.3.7.1.6.0-297:compile
> [INFO] |  |  |  |     +- 
> org.apache.hbase:hbase-server:test-jar:tests:2.2.3.7.1.6.0-297:compile
> [INFO] |  |  |  |     |  +- 
> org.apache.hbase:hbase-http:jar:2.2.3.7.1.6.0-297:compile
> [INFO] |  |  |  |     |  +- 
> org.glassfish.web:javax.servlet.jsp:jar:2.3.2:compile
> [INFO] |  |  |  |     |  |  \- org.glassfish:javax.el:jar:3.0.1-b11:compile
> [INFO] |  |  |  |     |  +- 
> javax.servlet.jsp:javax.servlet.jsp-api:jar:2.3.1:compile
> [INFO] |  |  |  |     +- 
> org.apache.hadoop:hadoop-hdfs:test-jar:tests:3.1.1.7.1.6.0-297:compile
> [INFO] |  |  |  |     \- 
> org.apache.hadoop:hadoop-minicluster:jar:3.1.1.7.1.6.0-297:compile
> [INFO] |  |  |  |        +- 
> org.apache.hadoop:hadoop-common:test-jar:tests:3.1.1.7.1.6.0-297:compile
> [INFO] |  |  |  |        |  +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
> [INFO] |  |  |  |        |  +- com.sun.jersey:jersey-core:jar:1.19:compile
> [INFO] |  |  |  |        |  |  \- javax.ws.rs:jsr311-api:jar:1.1.1:compile
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to