sodonnel commented on PR #5460:
URL: https://github.com/apache/hadoop/pull/5460#issuecomment-1458896438
Not sure what to do about this checkstyle error:
```
./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/InvalidBlockReportLeaseException.java:1:/**:
Missing package-info.java file. [JavadocPackage]
```
If I add the file:
```
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/package-info.java
```
I get an enforcer error:
```
[INFO] -------< org.apache.hadoop:hadoop-client-check-test-invariants
>--------
[INFO] Building Apache Hadoop Client Packaging Invariants for Test
3.4.0-SNAPSHOT [106/113]
[INFO] --------------------------------[ pom
]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
hadoop-client-check-test-invariants ---
[INFO] Deleting
/Users/sodonnell/source/upstream_hadoop/hadoop-client-modules/hadoop-client-check-test-invariants/target
[INFO] Deleting
/Users/sodonnell/source/upstream_hadoop/hadoop-client-modules/hadoop-client-check-test-invariants
(includes = [dependency-reduced-pom.xml], excludes = [])
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @
hadoop-client-check-test-invariants ---
[INFO] Executing tasks
main:
[mkdir] Created dir:
/Users/sodonnell/source/upstream_hadoop/hadoop-client-modules/hadoop-client-check-test-invariants/target/test-dir
[INFO] Executed tasks
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-banned-dependencies)
@ hadoop-client-check-test-invariants ---
[INFO] Adding ignore: module-info
[INFO] Adding ignore: META-INF/versions/*/module-info
[INFO] Adding ignorable dependency: org.apache.hadoop:hadoop-annotations:null
[INFO] Adding ignore: *
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses
failed with message:
Duplicate classes found:
Found in:
org.apache.hadoop:hadoop-client-minicluster:jar:3.4.0-SNAPSHOT:compile
org.apache.hadoop:hadoop-client-api:jar:3.4.0-SNAPSHOT:compile
Duplicate classes:
org/apache/hadoop/hdfs/server/protocol/package-info.class
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]