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-unsubscr...@ranger.apache.org

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

Reply via email to