[
https://issues.apache.org/jira/browse/HDDS-1390?focusedWorklogId=223500&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223500
]
ASF GitHub Bot logged work on HDDS-1390:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/19 08:55
Start Date: 05/Apr/19 08:55
Worklog Time Spent: 10m
Work Description: elek commented on issue #698: HDDS-1390 - Remove hk2
dependency exclusions from ozone s3gateway mod…
URL: https://github.com/apache/hadoop/pull/698#issuecomment-480200730
Thank you very much the patch @avijayanhwx. Unfortunately it's not enough:
Maven dependency plugin (which is used in the hadoop-ozone/dist) resolves
the dependencies of the project but during the maven dependency resolution only
the newest artifact is used.
In this specific case different version is used from 'guice-bridge' in
ozone-recon and s3g. As we have a classpath description based classpath
assembly it shouldn't be a problem. At runtime it's possible to use different
jars, but at package time we should copy manually the older jar files in this
case.
But as you are free to choose any version of the guice binding, I would
propose to use exactly the same version in s3g and recon.
Can you please change the version in ozone-recon?
```
--- a/hadoop-ozone/ozone-recon/pom.xml
+++ b/hadoop-ozone/ozone-recon/pom.xml
@@ -161,7 +161,7 @@
<dependency>
<groupId>org.glassfish.hk2</groupId>
<artifactId>guice-bridge</artifactId>
- <version>2.5.0</version>
+ <version>2.5.0-b42</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 223500)
Time Spent: 50m (was: 40m)
> Remove hk2 dependency exclusions from ozone s3gateway module.
> -------------------------------------------------------------
>
> Key: HDDS-1390
> URL: https://issues.apache.org/jira/browse/HDDS-1390
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Aravindan Vijayan
> Assignee: Aravindan Vijayan
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Attachments: HDDS-1390-000.patch
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Some hk2 transitive dependencies were mistakenly excluded in HDDS-1358 to
> solve maven enforcer plugin issues. This jira cleans that up.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]