-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74380/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-4166
    https://issues.apache.org/jira/browse/RANGER-4166


Repository: ranger


Description
-------

the root cause of this issue is an encoding bug caused by the outdated 
compression library dependency in the assembly-plugin of ranger. I have added 
the detailed analysis and the steps to reproduce the issue stably to this link.

https://issues.apache.org/jira/browse/RANGER-4166


Diffs
-----

  pom.xml de0617e2a 


Diff: https://reviews.apache.org/r/74380/diff/1/


Testing
-------

how to test:
1.To reproduce the error, compile using the following command without making 
any modifications.
mvn clean compile package install assembly:single  -Dmaven.test.skip=true 
-DskipTests=true  -Dfindbugs.skip=true -Dcheckstyle.skip=true   
-Djacoco.skip=true -Dpmd.skip=true -Drat.skip=true  -Dspotbugs.skip=true  
-Dhadoop.version=3.3.4  -Dhbase.version=2.4.13  -Dhive.version=3.1.3  
-Dkafka.version=2.8.1  -Dsolr.version=8.11.2  -Dzookeeper.version=3.6.4

[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 
schema-registry-plugin: IOException when zipping 
rMETA-INF/maven/org.apache.ranger/ranger-distro/pom.properties: invalid code 
lengths set -> [Help 1]

2.apply this patch , and continue to compile using the above command. The error 
disappears and the compilation can proceed smoothly.


Thanks,

jialiang cai

Reply via email to