[ https://issues.apache.org/jira/browse/HBASE-27103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552277#comment-17552277 ]
Andrew Kyle Purtell edited comment on HBASE-27103 at 6/9/22 3:46 PM: --------------------------------------------------------------------- To reproduce, check out branch-2.5, apply the patch from your PR, then do {{mvn clean install assembly:single -DskipTests -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.3}} and this is the result: {noformat} [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) on project hbase-assembly: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. {noformat} {noformat} [INFO] --- maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) @ hbase-assembly --- [WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed with message: License errors detected, for more detail find ERROR in /home/apurtell/src/hbase/hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE {noformat} And in the LICENSE file: {noformat} This product includes leveldbjni-all licensed under the The BSD 3-Clause License. ERROR: Please check ^^^^^^^^^^^^ this License for acceptability here: https://www.apache.org/legal/resolved If it is okay, then update the list named 'non_aggregate_fine' in the LICENSE.vm file. If it isn't okay, then revert the change that added the dependency. More info on the dependency: <groupId>org.openlabtesting.leveldbjni</groupId> <artifactId>leveldbjni-all</artifactId> <version>1.8</version> maven central search g:org.openlabtesting.leveldbjni AND a:leveldbjni-all AND v:1.8 project website http://leveldbjni.fusesource.org/leveldbjni-all project source https://github.com/theopenlab/leveldbjni/leveldbjni-all -- {noformat} was (Author: apurtell): To reproduce, check out branch-2.5, apply the patch from your PR, then do {{ mvn clean install assembly:single -DskipTests -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.3 }} and this is the result: {noformat} [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) on project hbase-assembly: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. {noformat} {noformat} [INFO] --- maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) @ hbase-assembly --- [WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed with message: License errors detected, for more detail find ERROR in /home/apurtell/src/hbase/hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE {noformat} And in the LICENSE file: {noformat} This product includes leveldbjni-all licensed under the The BSD 3-Clause License. ERROR: Please check ^^^^^^^^^^^^ this License for acceptability here: https://www.apache.org/legal/resolved If it is okay, then update the list named 'non_aggregate_fine' in the LICENSE.vm file. If it isn't okay, then revert the change that added the dependency. More info on the dependency: <groupId>org.openlabtesting.leveldbjni</groupId> <artifactId>leveldbjni-all</artifactId> <version>1.8</version> maven central search g:org.openlabtesting.leveldbjni AND a:leveldbjni-all AND v:1.8 project website http://leveldbjni.fusesource.org/leveldbjni-all project source https://github.com/theopenlab/leveldbjni/leveldbjni-all -- {noformat} > All MR UTs are broken because of ClassNotFound > ---------------------------------------------- > > Key: HBASE-27103 > URL: https://issues.apache.org/jira/browse/HBASE-27103 > Project: HBase > Issue Type: Bug > Components: hadoop3, test > Reporter: Duo Zhang > Assignee: Andrew Kyle Purtell > Priority: Critical > Fix For: 2.5.0, 3.0.0-alpha-3 > > > It seems we must include leveldbjni-all when starting a MiniYARNCluster. -- This message was sent by Atlassian Jira (v8.20.7#820007)