You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ivanzlenko (via GitHub)" <gi...@apache.org> on 2025/02/15 11:28:31 UTC
[PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
ivanzlenko opened a new pull request, #7887:
URL: https://github.com/apache/ozone/pull/7887
## What changes were proposed in this pull request?
Fixed checkstyle for license header and imports for hdds-container-service module.
Enabled new checkstyle for hdds-container-service module.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12259
## How was this patch tested?
Tested using standard verification pipeline.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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
Re: [PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #7887:
URL: https://github.com/apache/ozone/pull/7887#issuecomment-2660899188
Thanks @ivanzlenko for the patch.
_compile_ check caught some javadoc problems, which were apparently triggered by converting some license headers from javadoc to regular block comment. Looks like javadoc missed these problems earlier, when there were two javadoc comments on the same element.
`>` and `<` need to be wrapped in `{@literal}` or replaced with HTML entity.
```
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/report/package-info.java:52: warning - invalid usage of tag >
...
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/report/package-info.java:62: warning - invalid usage of tag <
...
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/states/datanode/package-info.java:18: warning - invalid usage of tag >
```
https://github.com/ivanzlenko/ozone/actions/runs/13344483975/job/37273599339#step:8:7305
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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
Re: [PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #7887:
URL: https://github.com/apache/ozone/pull/7887#issuecomment-2660953390
> I wonder how it slip away locally. Shall we eventually enable failure on warnings during compilation?
Javadoc is off by default, enabled as part of `-Pdist`.
`failOnWarnings` is disabled by default, because Java 8 reports false warnings, e.g.:
```
[WARNING] hadoop-hdds/test-utils/src/main/java/org/apache/ozone/test/GenericTestUtils.java:105: warning - Tag @link: reference not found: org.junit.jupiter.api.io.TempDir
```
Javadoc is verified by _compile_ check in CI (with Java 11/17/21), not by _build_ check, to save time (allow dependent checks to start sooner) and space (the tarball is downloaded by several other checks).
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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
Re: [PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
Posted by "ivanzlenko (via GitHub)" <gi...@apache.org>.
ivanzlenko commented on PR #7887:
URL: https://github.com/apache/ozone/pull/7887#issuecomment-2660946346
I wonder how it slip away locally. Shall we eventually enable failure on warnings during compilation?
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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
Re: [PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
Posted by "ivanzlenko (via GitHub)" <gi...@apache.org>.
ivanzlenko commented on PR #7887:
URL: https://github.com/apache/ozone/pull/7887#issuecomment-2660953913
Thanks for clarification. Hope we move away from 1.8 sooner rather than later.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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
Re: [PR] HDDS-12259. Fix imports and copyright headers for hdds-container-service [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #7887:
URL: https://github.com/apache/ozone/pull/7887
--
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.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
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