You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/01/06 12:03:43 UTC
[GitHub] [ozone] adoroszlai opened a new pull request #1761: HDDS-4647. Avoid hadoop-ozone-filesystem-shaded as transitive dependency
adoroszlai opened a new pull request #1761:
URL: https://github.com/apache/ozone/pull/1761
## What changes were proposed in this pull request?
If `hadoop-ozone-filesystem-hadoop2` or `hadoop-ozone-filesystem-hadoop3` is added as dependency in some project, `hadoop-ozone-filesystem-shaded` is included as a transitive dependency. But it should not be required for such downstream projects, as both Hadoop version-specific modules already repackage most of it. This change marks the dependency as optional ([doc](http://maven.apache.org/pom.html#Dependencies)) so that such projects do not need to add `exclusion` for this module.
https://issues.apache.org/jira/browse/HDDS-4647
## How was this patch tested?
Checked dependency tree of downstream project no longer includes `hadoop-ozone-filesystem-shaded`:
```
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ tez ---
[INFO] ...
[INFO] +- jdk.tools:jdk.tools:jar:1.8:system
[INFO] \- org.apache.hadoop:hadoop-ozone-filesystem-hadoop3:jar:1.1.0-SNAPSHOT:runtime
[INFO] ------------------------------------------------------------------------
```
Regular CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/465890389
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai merged pull request #1761: HDDS-4647. Avoid hadoop-ozone-filesystem-shaded as transitive dependency
Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #1761:
URL: https://github.com/apache/ozone/pull/1761
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai commented on pull request #1761: HDDS-4647. Avoid hadoop-ozone-filesystem-shaded as transitive dependency
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1761:
URL: https://github.com/apache/ozone/pull/1761#issuecomment-756333309
Thanks @elek and @mukul1987 for the review.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org