ok, thank you for the answer, very helpful.

Are the parameters to mvn correct? I got a build error (mvn 3.9.6, java
11.0.16):

 Michael


[INFO] Reactor Summary for Apache HBase 2.5.6:
[INFO]
[INFO] Apache HBase ....................................... SUCCESS [
12.053 s]
[INFO] Apache HBase - Checkstyle .......................... SUCCESS [
2.031 s]
[INFO] Apache HBase - Annotations ......................... SUCCESS [
1.255 s]
[INFO] Apache HBase - Build Configuration ................. SUCCESS [
0.205 s]
[INFO] Apache HBase - Logging ............................. SUCCESS [
1.454 s]
[INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [
43.482 s]
[INFO] Apache HBase - Common .............................. SUCCESS [
14.674 s]
[INFO] Apache HBase - Metrics API ......................... SUCCESS [
1.911 s]
[INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [
2.600 s]
[INFO] Apache HBase - Metrics Implementation .............. SUCCESS [
1.843 s]
[INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [
3.423 s]
[INFO] Apache HBase - Protocol ............................ SUCCESS [
14.304 s]
[INFO] Apache HBase - Client .............................. SUCCESS [
13.120 s]
[INFO] Apache HBase - Zookeeper ........................... SUCCESS [
3.584 s]
[INFO] Apache HBase - Replication ......................... SUCCESS [
2.597 s]
[INFO] Apache HBase - Resource Bundle ..................... SUCCESS [
0.197 s]
[INFO] Apache HBase - HTTP ................................ SUCCESS [
5.986 s]
[INFO] Apache HBase - Asynchronous FileSystem ............. SUCCESS [
4.986 s]
[INFO] Apache HBase - Procedure ........................... SUCCESS [
3.859 s]
[INFO] Apache HBase - Server .............................. SUCCESS [
53.384 s]
[INFO] Apache HBase - MapReduce ........................... SUCCESS [
9.302 s]
[INFO] Apache HBase - Testing Util ........................ SUCCESS [
4.897 s]
[INFO] Apache HBase - Thrift .............................. SUCCESS [
13.517 s]
[INFO] Apache HBase - RSGroup ............................. SUCCESS [
6.774 s]
[INFO] Apache HBase - Shell ............................... SUCCESS [
5.111 s]
[INFO] Apache HBase - Coprocessor Endpoint ................ SUCCESS [
6.976 s]
[INFO] Apache HBase - Integration Tests ................... SUCCESS [
11.474 s]
[INFO] Apache HBase - Rest ................................ SUCCESS [
7.699 s]
[INFO] Apache HBase - Examples ............................ SUCCESS [
6.130 s]
[INFO] Apache HBase - Shaded .............................. SUCCESS [
0.490 s]
[INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SUCCESS [
27.708 s]
[INFO] Apache HBase - Shaded - Client ..................... SUCCESS [
14.487 s]
[INFO] Apache HBase - Shaded - MapReduce .................. SUCCESS [
23.678 s]
[INFO] Apache HBase - External Block Cache ................ SUCCESS [
2.998 s]
[INFO] Apache HBase - HBTop ............................... SUCCESS [
2.455 s]
[INFO] Apache HBase - Compression ......................... SUCCESS [
0.076 s]
[INFO] Apache HBase - Compression - Aircompressor ......... SUCCESS [
3.604 s]
[INFO] Apache HBase - Compression - Brotli ................ SUCCESS [
3.058 s]
[INFO] Apache HBase - Compression - LZ4 ................... SUCCESS [
3.512 s]
[INFO] Apache HBase - Compression - Snappy ................ SUCCESS [
3.368 s]
[INFO] Apache HBase - Compression - XZ .................... SUCCESS [
3.046 s]
[INFO] Apache HBase - Compression - ZStandard ............. SUCCESS [
3.436 s]
[INFO] Apache HBase - Assembly ............................ SUCCESS [
16.603 s]
[INFO] Apache HBase - Shaded - Testing Util ............... SUCCESS [
59.956 s]
[INFO] Apache HBase - Shaded - Testing Util Tester ........ SUCCESS [
4.324 s]


[INFO] Apache HBase Shaded Packaging Invariants ........... FAILURE [
2.297 s]


[INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled)
SKIPPED
[INFO] Apache HBase - Archetypes .......................... SKIPPED
[INFO] Apache HBase - Exemplar for hbase-client archetype . SKIPPED
[INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SKIPPED
[INFO] Apache HBase - Archetype builder ................... SKIPPED
[INFO]

------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  07:18 min
[INFO] Finished at: 2023-12-18T17:04:00+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (check-jar-contents) on
project hbase-shaded-check-invariants: Command execution failed.:
Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <args> -rf :hbase-shaded-check-invariants





On 18.12.23 15:09, 张铎(Duo Zhang) wrote:
>
> The command is like this
>
> mvn -DskipTests -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.6
> clean install && mvn -DskipTests -Dhadoop.profile=3.0
> -Dhadoop-three.version=3.3.6 package assembly:single
>

Reply via email to