iwasakims commented on PR #916:
URL: https://github.com/apache/bigtop/pull/916#issuecomment-1159653255
Building Hadoop fails if jars of ZooKeeper built by Bigtop exists in local
repository (~/.m2/repository).
```
$ ./gradlew zookeeper-pkg hadoop-pkg
...
[ERROR] Found artifact with unexpected contents:
'/home/rocky/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.3.3-src/hadoop-client-modules/hadoop-client-minicluster/target/hadoop-client-minicluster-3.3.3.jar'
Please check the following and either correct the build or update
the allowed list with reasoning.
edu/
edu/umd/
edu/umd/cs/
edu/umd/cs/findbugs/
edu/umd/cs/findbugs/annotations/
edu/umd/cs/findbugs/annotations/NonNull.class
edu/umd/cs/findbugs/annotations/CheckForNull.class
edu/umd/cs/findbugs/annotations/DefaultAnnotationForFields.class
...
```
Since this issue can be fixed by `rm -rf
~/.m2/repository/org/apache/zookeeper` before building Hadoop, ZooKeeper jar
built by Bigtop looks containing unexpected classes which are not appear in
jars pulled from public Maven repositories.
The patch of https://github.com/apache/bigtop/pull/890 fixes this issue.
--
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]