You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "JiaLiangC (via GitHub)" <gi...@apache.org> on 2023/04/27 09:04:23 UTC

[GitHub] [ranger] JiaLiangC opened a new pull request, #249: RANGER-4201: fix Hbase master can't start due to ranger-hbase-plugin …

JiaLiangC opened a new pull request, #249:
URL: https://github.com/apache/ranger/pull/249

   ## 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
   
   
   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [ranger] JiaLiangC commented on pull request #249: RANGER-4201: fix Hbase master can't start due to ranger-hbase-plugin …

Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC commented on PR #249:
URL: https://github.com/apache/ranger/pull/249#issuecomment-1562382529

   @spolavarapu1 @kumaab 
   Could you kindly help review this PR, please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org