hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Can't build hbase with hadoop 2.8.0
Date Fri, 14 Apr 2017 17:50:58 GMT
Please see:

https://issues.apache.org/jira/browse/HBASE-17893

> On Apr 14, 2017, at 10:43 AM, Dima Fadeyev <linuxremote@gmail.com> wrote:
> 
> Hello, everyone,
> 
> I'm trying to build HBase 1.3.0 with Hadoop 2.8.0.
> 
> mvn clean package assembly:single -DskipTests -Dhadoop-two.version=2.8.0
> 
> The build process was working fine with Hadoop 2.7.3.
> 
> It fails in this step:
> 
> [INFO] Apache HBase - Assembly ............................ FAILURE [
> 3.164 s]
> 
> This is the exception I get:
> 
> [ERROR] Error invoking method 'get(java.lang.Integer)' in
> java.util.ArrayList at META-INF/LICENSE.vm[line 1671, column 8]
> java.lang.reflect.InvocationTargetException
>    at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:498)
>    at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>    at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>    at
> org.apache.velocity.runtime.parser.node.ASTIndex.execute(ASTIndex.java:149)
>    at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>    at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
>    at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>    at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>    at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>    at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>    at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>    at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>    at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>    at
> org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
>    at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>    at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>    at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>    at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>    at org.apache.velocity.Template.merge(Template.java:356)
>    at org.apache.velocity.Template.merge(Template.java:260)
>    at
> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:354)
>    at
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles(ProcessRemoteResourcesMojo.java:1164)
>    at
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:520)
>    at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>    at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>    at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>    at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>    at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:498)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>    at java.util.ArrayList.get(ArrayList.java:429)
>    ... 47 more
> 
> Please, can anyone help me resolve this.
> 
> Thanks in advance and best regards,
> Dima Fadeyev

Mime
View raw message