Ranger Ambari Installation
Also available as:
PDF

HDFS

Use the following steps to enable the Ranger HDFS plugin.

  1. On the Ranger Configs page, select the Ranger Plugin tab.

  2. Under HDFS Ranger Plugin, select On, then click Save in the black menu bar.

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

  4. A Dependent Configuration pop-up appears. Click OK to confirm the configuration updates.

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

  6. Select HDFS in the navigation menu, then select Restart > Restart All Affected to restart the HDFS service and load the new configuration.

  7. Click Confirm Restart All on the confirmation pop-up to confirm the HDFS restart.

  8. After HDFS has restarted, the Ranger plugin for HDFS is enabled.

[Note]Note

In order to access HDFS folders in previous versions of HDP, access permissions also had to be granted in Ranger to the applicable parent folders. As of HDP-2.3, it is no longer required to grant access permissions to the parent folder.

For example, for the folder path ../customer/data/marketing:

  • In previous versions, to grant access to the /customer/data/marketing folder, you were required to grant Execute permission in Ranger for both the /customer and /customer/data folders, along with a Read or Write permission for the /customer/data/marketing folder.

  • As of HDP-2.3, it is no longer necessary to grant Execute permission to the parent folders.

For more details, see RANGER-357.