ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李远锋 (Jira) <j...@apache.org>
Subject [jira] [Comment Edited] (RANGER-3072) Build Ranger2.1.0 encounter error with Apache Maven 3.6.3
Date Fri, 13 Nov 2020 02:49:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231118#comment-17231118
] 

李远锋 edited comment on RANGER-3072 at 11/13/20, 2:48 AM:
--------------------------------------------------------

[~nevi_me] Thank you a lot! I will have a try~


was (Author: 未知的证明):
[~nevi_me] Thank you a lot! I will have a try~

> Build Ranger2.1.0 encounter error with Apache Maven 3.6.3
> ---------------------------------------------------------
>
>                 Key: RANGER-3072
>                 URL: https://issues.apache.org/jira/browse/RANGER-3072
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 2.1.0
>         Environment: CentOS Linux release 7.8.2003 (Core)
>            Reporter: 李远锋
>            Priority: Major
>             Fix For: 2.1.0
>
>
> [INFO] Building tar: /home/liyuanfeng/software/apache-ranger-2.1.0/target/ranger-2.1.0-admin.tar.gz
> [WARNING] When creating tar entry
> java.lang.reflect.UndeclaredThrowableException
>  at com.sun.proxy.$Proxy55.getContents (Unknown Source)
>  at org.codehaus.plexus.components.io.resources.Deferred.getContents (Deferred.java:60)
>  at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke
(ResourceInvocationHandler.java:62)
>  at com.sun.proxy.$Proxy55.getContents (Unknown Source)
>  at org.codehaus.plexus.archiver.ArchiveEntry.getInputStream (ArchiveEntry.java:126)
>  at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile (TarArchiver.java:316)
>  at org.codehaus.plexus.archiver.tar.TarArchiver.execute (TarArchiver.java:171)
>  at org.codehaus.plexus.archiver.AbstractArchiver.createArchive (AbstractArchiver.java:916)
>  at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive
(AssemblyProxyArchiver.java:445)
>  at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive (DefaultAssemblyArchiver.java:181)
>  at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute (AbstractAssemblyMojo.java:484)
>  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
>  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>  at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>  at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>  at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>  at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>  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:497)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
> Caused by: java.lang.reflect.InvocationTargetException
>  at sun.reflect.GeneratedMethodAccessor154.invoke (Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:497)
>  at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke
(ResourceInvocationHandler.java:78)
>  at com.sun.proxy.$Proxy55.getContents (Unknown Source)
>  at org.codehaus.plexus.components.io.resources.Deferred.getContents (Deferred.java:60)
>  at org.codehaus.plexus.components.io.resources.proxy.ResourceInvocationHandler.invoke
(ResourceInvocationHandler.java:62)
>  at com.sun.proxy.$Proxy55.getContents (Unknown Source)
>  at org.codehaus.plexus.archiver.ArchiveEntry.getInputStream (ArchiveEntry.java:126)
>  at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile (TarArchiver.java:316)
>  at org.codehaus.plexus.archiver.tar.TarArchiver.execute (TarArchiver.java:171)
>  at org.codehaus.plexus.archiver.AbstractArchiver.createArchive (AbstractArchiver.java:916)
>  at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive
(AssemblyProxyArchiver.java:445)
>  at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive (DefaultAssemblyArchiver.java:181)
>  at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute (AbstractAssemblyMojo.java:484)
>  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
>  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>  at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>  at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>  at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>  at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>  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:497)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
> Caused by: java.io.IOException: jar:file:/home/liyuanfeng/software/apache-ranger-2.1.0/security-admin/target/security-admin-web-2.1.0.war!/META-INF/MANIFEST.MF
>  at org.codehaus.plexus.components.io.resources.PlexusIoURLResource.getContents (PlexusIoURLResource.java:44)
>  at sun.reflect.GeneratedMethodAccessor154.invoke (Unknown Source)
> ...
> [INFO] Apache Ranger Examples Distribution ................ SUCCESS [ 2.744 s]
> [INFO] Ranger Tools ....................................... SUCCESS [ 3.609 s]
> [INFO] Atlas Security Plugin .............................. SUCCESS [ 2.390 s]
> [INFO] SchemaRegistry Security Plugin ..................... SUCCESS [ 5.267 s]
> [INFO] Sqoop Security Plugin .............................. SUCCESS [ 3.319 s]
> [INFO] Sqoop Security Plugin Shim ......................... SUCCESS [ 1.765 s]
> [INFO] Kylin Security Plugin .............................. SUCCESS [ 3.976 s]
> [INFO] Kylin Security Plugin Shim ......................... SUCCESS [ 2.378 s]
> [INFO] Presto Security Plugin ............................. SUCCESS [ 3.579 s]
> [INFO] Presto Security Plugin Shim ........................ SUCCESS [ 2.207 s]
> [INFO] Elasticsearch Security Plugin Shim ................. SUCCESS [ 1.148 s]
> [INFO] Elasticsearch Security Plugin ...................... SUCCESS [ 2.334 s]
> [INFO] Apache Ranger Distribution ......................... SUCCESS [01:17 min]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 07:05 min
> [INFO] Finished at: 2020-11-05T14:05:51+08:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single
(default) on project ranger-distro: Failed to create assembly: Error creating assembly archive
admin: Problem creating TAR: entry 'ranger-2.1.0-admin/ews/webapp/META-INF/MANIFEST.MF' closed
at '0' before the '129' bytes specified in the header were written -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <args> -rf :ranger-distro
> You have new mail in /var/mail/root



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message