6.2. HBase

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:

  1. In the Ambari console, go to the HBase Config tab.

  2. At Advance hbase-site configuration:

    1. Change parameter value for "hbase.security.authorization" to true .

    2. Change the parameter value for "hbase.coprocessor.master.classes" to com.xasecure.authorization.hbase.XaSecureAuthorizationCoprocessor .

    3. Change the parameter value for "hbase.coprocessor.region.classes" to com.xasecure.authorization.hbase.XaSecureAuthorizationCoprocessor .

  3. If this is a secured cluster, go to custom hdfs-site and do the following:

    1. Add a new parameter value for "hbase.rpc.protection" and set it to PRIVACY .

    2. And a new parameter value for "hbase.rpc.engine" and set it to org.apache.hadoop.hbase.ipc.SecureRpcEngine .

  4. Restart HBase via Ambari. The changes you just made are effective immediately, and the Ranger HBase plug-in is enabled.


loading table of contents...