RANGER-4201: fix Hbase master can't start due to ranger-hbase-plugin …
issue:
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.
What changes were proposed in this pull request?
removing jersey-core from distro/src/main/assembly/hbase-agent.xml
The detailed analysis and verification process can be found in this issue. https://issues.apache.org/jira/browse/RANGER-4201
How was this patch tested?
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.
@spolavarapu1 @kumaab Could you kindly help review this PR, please?