Starting HBase via Ambari overrides certain parameters in hbase-site.xml. To reinstate the lost Ranger parameters so that the HDFS plug-in can function, do the following:
In the Ambari console, go to the HBase Config tab.
At Advance hbase-site configuration:
Change parameter value for "hbase.security.authorization" to true .
Change the parameter value for "hbase.coprocessor.master.classes" to com.xasecure.authorization.hbase.XaSecureAuthorizationCoprocessor .
Change the parameter value for "hbase.coprocessor.region.classes" to com.xasecure.authorization.hbase.XaSecureAuthorizationCoprocessor .
If this is a secured cluster, go to custom hdfs-site and do the following:
Add a new parameter value for "hbase.rpc.protection" and set it to PRIVACY .
And a new parameter value for "hbase.rpc.engine" and set it to org.apache.hadoop.hbase.ipc.SecureRpcEngine .
Restart HBase via Ambari. The changes you just made are effective immediately, and the Ranger HBase plug-in is enabled.