Apache Ranger2.1.0 installation

The installation documentation on the official website and most other version installation blogs show that Ranger is compiled with the following statement

# mvn clean compile package assembly:assembly install -DskipTests -Drat.skip=true But this maven compilation command is not applicable in version 2.1.0 and the exception message will appear

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

The git source code shows that there is this problem issue Ranger-2721 and it has been fixed and fixed without compiling with the assemb:assembly plugin

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324164302&siteId=291194637