You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by jialiang cai <ji...@gmail.com> on 2023/04/27 08:50:43 UTC
Review Request 74419: RANGER-4201: Hbase master can't start due to ranger-hbase-plugin jersey jar class loading order
-----------------------------------------------------------
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
Re: Review Request 74419: RANGER-4201: Hbase master can't start due to ranger-hbase-plugin jersey jar class loading order
Posted by jialiang cai <ji...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74419/
-----------------------------------------------------------
(Updated May 4, 2023, 2:10 a.m.)
Review request for ranger and Madhan Neethiraj.
Bugs: RANGER-4201
https://issues.apache.org/jira/browse/RANGER-4201
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