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

Review request for ranger and Madhan Neethiraj.


Repository: ranger


Description
-------

After integrating ranger2.4 into hbase2.4.13, the class loading order issue of 
jersey-core-1.9.3.jar causes the HBase master to crash immediately after 
startup.
The specific environment, reproduction steps, and analysis process are all 
described in the issue link's description. 
The issue can be resolved by removing the jersey-core jar package from the 
assembly descriptor.
https://issues.apache.org/jira/browse/RANGER-4201


Diffs
-----

  distro/src/main/assembly/hbase-agent.xml ff53ca2c2 


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


Testing
-------

1.pass all the unit tests: mvn clean compile package install -Drat.skip=true 

2.After removing jersey-core from distro/src/main/assembly/hbase-agent.xml and 
compiling, I reinstalled the Hadoop and HBase cluster, integrated Ranger 2.4, 
configured and enabled Ranger in hbase-site.xml file as follows:

Set hbase.coprocessor.master.classes to 
org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor
Set hbase.coprocessor.region.classes to 
org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint,org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor
Set hbase.coprocessor.regionserver.classes to 
org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor

After restarting HBase, no more exception messages were observed and the master 
is running smoothly.


Thanks,

jialiang cai

Reply via email to