hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17820) Fail build with hadoop-2.6.0
Date Thu, 23 Mar 2017 14:37:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938461#comment-15938461

Sean Busbey commented on HBASE-17820:

excellent! I apologize in advance; handling licensing errors are still a bit rough.

First, you should switch to the master branch and see if building with Hadoop 2.6.0 fails
there as well. If it doesn't, then check branch-1, then branch-1.3, etc.

Next, to find what's causing the problem:

# Run the build, e.g. {{mvn clean install -Dhadoop-two.version=2.6.0 -DskipTests}} (or {{assembly:single}}
or whatever)
# Examine the output for the module that failed, e.g. hbase-assembly in the description of
this jira
# Open the failed generated license file for that module ({{find %module%/target -name LICENSE}},
e.g. {{find hbase-assembly/target -name LICENSE}})
# The very end of that file should be the entry for the dependency that didn't have proper
license information.

The next step will depend on what specific dependency is showing up. You should

* Make sure that in the maven log output there wasn't a warning about being unable to get
a pom for the dependency named
* Make sure you haven't cached in your local maven repository an old / invalid pom for the
dependency (the easiest way to do this is to delete the dependency from your local maven repository)

If the problem persists after that, you need to know what kind of error you have. If the license
is not one of our whitelisted licenses, there'll be a note about "make sure this license is
fine to make use of". Sometimes the license will just be missing.

 I can answer questions about the former issue once you have a particular license identified.
If the license is missing, there's a heuristic for figuring out what it ought to be; I can
walk through that if it turns out to be the problem.

> Fail build with hadoop-2.6.0
> ----------------------------
>                 Key: HBASE-17820
>                 URL: https://issues.apache.org/jira/browse/HBASE-17820
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.2.4
>         Environment: hadoop-2.6.0, java 8
>            Reporter: Reid Chan
>            Assignee: Reid Chan
> I used this command "mvn clean install -Dhadoop-two.version=2.6.0 -DskipTests" to build
hbase-1.2.4 source code. 
> Build failed at hbase-assembly module.
> This is the fail message: 
> "Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(default) on project hbase-assembly: Error rendering velocity resource. Error invoking method
'get(java.lang.Integer)' in java.util.ArrayList at META-INF/LICENSE.vm[line 1671, column 8]:
InvocationTargetException: Index: 0, Size: 0 -> [Help 1]".

This message was sent by Atlassian JIRA

View raw message