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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to