You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2018/10/23 00:37:00 UTC

[jira] [Created] (HADOOP-15873) HBase fails to compile against Hadoop trunk (3.3.0-SNAPSHOT) due to license error

Wei-Chiu Chuang created HADOOP-15873:
----------------------------------------

             Summary: HBase fails to compile against Hadoop trunk (3.3.0-SNAPSHOT) due to license error
                 Key: HADOOP-15873
                 URL: https://issues.apache.org/jira/browse/HADOOP-15873
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Wei-Chiu Chuang


When I compile HBase master trunk against Hadoop trunk
{code}
$ mvn package -Dhadoop.profile=3.0 -Dhadoop-three.version=3.3.0-SNAPSHOT -DskipTests=true
{code}
, it fails to compile:
{quote}
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (check-aggregate-license) @ hbase-shaded-client ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed with message:
License errors detected, for more detail find ERROR in
                    /Users/weichiu/sandbox/hbase/hbase-shaded/hbase-shaded-client/target/maven-shared-archive-resources/META-INF/LICENSE
{quote}
Checking the error in the file,  I saw

{quote}
--
This product includes JavaBeans Activation Framework API jar licensed under the CDDL/GPLv2+CE.

CDDL or GPL version 2 plus the Classpath Exception
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>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
{quote}

It looks like the dependency was added in HADOOP-15775. [~ajisakaa] [~tasanuma0829] could you check? We'll need to understand the license of this library

https://github.com/javaee/activation/blob/master/LICENSE.txt



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org