Ranger Ambari Installation
Also available as:
PDF

Hive

[Important]Important

You should not use the Hive CLI after enabling the Ranger Hive plugin. The Hive CLI is not supported in HDP-2.2.0 and higher versions, and may break the install or lead to other unpredictable behavior. Instead, you should use the HiveServer2 Beeline CLI.

Use the following steps to enable the Ranger Hive plugin.

  1. Select Hive from the Services tab in the top menu.

  2. Click the Configs tab, then click the Settings tab. Use the drop-down in the Security box to select Ranger.

  3. On the Advanced tab, click to open Advanced hive-site. Click inside the hive.conf.restricted.list box. Use the right-arrow button to scroll to the end of the comma-separated list of properties. Add the hive.security.authorization.enabled property to the end of the list.

  4. To save the configuration, click the green Save button on the black menu bar at the top of the page.

  5. A Save Configuration pop-up appears. Type in a note describing the changes you just made, then click Save.

  6. The configuration changes will be listed on the Dependent Configurations pop-up. Click OK to confirm the changes.

  7. Click OK on the Save Configuration Changes pop-up.

  8. A Restart Required message will be displayed at the top of the page. Click Restart, then select Restart All Affected to restart the Hive service and load the new configuration.

  9. Click Confirm Restart All on the confirmation pop-up to confirm the Hive restart.

  10. After Hive has been restarted, the Ranger plugin for Hive will be enabled.