Thank you. I'll try everything you've told me. ________________________________________ 보낸 사람: OpenInx <open...@gmail.com> 보낸 날짜: 2019년 7월 13일 토요일 00:22 받는 사람: Hbase-User 제목: Re: HBase Build Failed (License errors detected)
Kang Yeah, better to have a check as Sean suggested. If you're just building the repo, and really want to skip the license check. you can try to comment the check-aggregate-license part as the following: diff --git a/pom.xml b/pom.xml index ebd97f7d0c..d36479d01c 100755 --- a/pom.xml +++ b/pom.xml @@ -1153,6 +1153,7 @@ </rules> </configuration> </execution> + <!-- <execution> <id>check-aggregate-license</id> <!-- must check after LICENSE is built at 'generate-resources' --> @@ -1188,6 +1189,7 @@ <skip>${skip.license.check}</skip> </configuration> </execution> + --> </executions> On Fri, Jul 12, 2019 at 8:48 PM Sean Busbey <bus...@apache.org> wrote: > To get the error details you have to open the file mentioned: > > /ws/build/hbase2/rpm/BUILD/hbase-2.1.5-src/hbase-shaded/hbas > e-shaded-client/target/maven-shared-archive-resources/META-INF/LICENSE > > And then search for the details around the text "ERROR" > > On Fri, Jul 12, 2019, 00:46 Kang Minwoo <minwoo.k...@outlook.com> wrote: > > > I try to build HBase 2.1.5 > > error is.. > > > > [WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell > > failed with message: > > License errors detected, for more detail find ERROR in > > > > > /ws/build/hbase2/rpm/BUILD/hbase-2.1.5-src/hbase-shaded/hbase-shaded-client/target/maven-shared-archive-resources/META-INF/LICENSE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary for Apache HBase 2.1.5: > > [INFO] > > [INFO] Apache HBase ....................................... FAILURE > [02:29 > > min] > > [INFO] Apache HBase - Checkstyle .......................... SKIPPED > > [INFO] Apache HBase - Annotations ......................... SKIPPED > > [INFO] Apache HBase - Build Configuration ................. SKIPPED > > [INFO] Apache HBase - Shaded Protocol ..................... SKIPPED > > [INFO] Apache HBase - Common .............................. SKIPPED > > [INFO] Apache HBase - Metrics API ......................... SKIPPED > > [INFO] Apache HBase - Hadoop Compatibility ................ SKIPPED > > [INFO] Apache HBase - Metrics Implementation .............. SKIPPED > > [INFO] Apache HBase - Hadoop Two Compatibility ............ SKIPPED > > [INFO] Apache HBase - Protocol ............................ SKIPPED > > [INFO] Apache HBase - Client .............................. SKIPPED > > [INFO] Apache HBase - Zookeeper ........................... SKIPPED > > [INFO] Apache HBase - Replication ......................... SKIPPED > > [INFO] Apache HBase - Resource Bundle ..................... SKIPPED > > [INFO] Apache HBase - HTTP ................................ SKIPPED > > [INFO] Apache HBase - Procedure ........................... SKIPPED > > [INFO] Apache HBase - Server .............................. SKIPPED > > [INFO] Apache HBase - MapReduce ........................... SKIPPED > > [INFO] Apache HBase - Testing Util ........................ SKIPPED > > [INFO] Apache HBase - Thrift .............................. SKIPPED > > [INFO] Apache HBase - RSGroup ............................. SKIPPED > > [INFO] Apache HBase - Shell ............................... SKIPPED > > [INFO] Apache HBase - Coprocessor Endpoint ................ SKIPPED > > [INFO] Apache HBase - Integration Tests ................... SKIPPED > > [INFO] Apache HBase - Rest ................................ SKIPPED > > [INFO] Apache HBase - Examples ............................ SKIPPED > > [INFO] Apache HBase - Shaded .............................. SKIPPED > > [INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SKIPPED > > [INFO] Apache HBase - Shaded - Client ..................... SKIPPED > > [INFO] Apache HBase - Shaded - MapReduce .................. SKIPPED > > [INFO] Apache HBase - External Block Cache ................ SKIPPED > > [INFO] Apache HBase - Assembly ............................ SKIPPED > > [INFO] Apache HBase Shaded Packaging Invariants ........... SKIPPED > > [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: 02:31 min > > [INFO] Finished at: 2019-07-12T05:31:20Z > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on > > project hbase: failed to get report for > > org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal > > org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce > > (check-aggregate-license) on project hbase-shaded-client: Some Enforcer > > rules have failed. Look above for specific messages explaining why the > rule > > failed. -> [Help 1] > > > > ________________________________________ > > 보낸 사람: Sean Busbey <bus...@apache.org> > > 보낸 날짜: 2019년 7월 12일 금요일 14:14 > > 받는 사람: user@hbase.apache.org > > 제목: Re: HBase Build Failed (License errors detected) > > > > As a project we can't speak on what your risk tolerance is for open > > source licensing. > > > > what HBase version are you trying to build from source? what's the > > specific error reported in the LICENSE file? > > > > probably the particular Hadoop version you are building added some new > > dependency that we haven't accounted for (or that wasn't accounted for > > in the release you are using) > > > > On Thu, Jul 11, 2019 at 11:38 PM Kang Minwoo <minwoo.k...@outlook.com> > > wrote: > > > > > > Hello, User. > > > > > > While I build HBase from the source. I got an error that is License > > errors detected, for more detail find ERROR in > > > /hbase-shaded/hbase-shaded-client/target/maven-shared-archive-resources/META-INF/LICENSE. > > > > > > My build environment is CentOS 6.3 > > > Command is mvn -DskipTests -Dslf4j.version=1.7.25 -Dhadoop.profile=3.0 > > -Dhadoop-three.version=3.1.2 -Dzookeeper.version=3.4.14 > > -Dcheckstyle.skip=true clean install site assembly:single > > > > > > I think I have an option that does not check the license. > > > Is it okay that do not check license? > > > > > > Best regards, > > > Minwoo Kang > > >