Help Center > > User Guide> FusionInsight Manager Operation Guide (Applicable to 3.x)> Cluster> Managing a Service> Other Service Management Operations> Switching Ranger Authentication

Switching Ranger Authentication

Updated at: Oct 21, 2021 GMT+08:00

Scenarios

By default, the Ranger service is installed and Ranger authentication is enabled for a newly installed cluster in security mode. You can set fine-grained security access policies for accessing component resources through the permission plug-in of the component. If Ranger authentication is not required, the administrator can manually disable Ranger authentication on the service page. After Ranger authentication is disabled, the system continues to perform permission control based on the role model of FusionInsight Manager when accessing component resources.

In a cluster upgraded from an earlier version, Ranger authentication is not used by default when users access component resources. The administrator can manually enable Ranger authentication after installing the Ranger service.

  • In a cluster in security mode, the following components support Ranger authentication: HDFS, Yarn, Kafka, Hive, HBase, Storm, Spark2x, Impala.
  • In a cluster in non-security mode, the Ranger supports permission control on component resources based on OS users. The following components support Ranger authentication: HBase, HDFS, Hive, Spark2x, and Yarn.
  • After Ranger authentication is enabled, all authentication of the component will be managed by Ranger. The permissions set by the original authentication plug-in will become invalid (The ACL rules of HDFS and Yarn components still take effect). Exercise caution when performing this operation. You are advised to deploy permissions on Ranger in advance. Please restart the service for the modification to take effect.
  • After Ranger authentication is disabled, all authentication of the component will be managed by the permission plug-in of the component. The permission set on Ranger will become invalid. Exercise caution when performing this operation. You are advised to deploy permissions on Manager in advance. Please restart the service for the modification to take effect.

Enabling Ranger Authentication

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Services.
  3. Click the specified service name on the service management page.
  4. On the service details page, expand the More drop-down list and select Enable Ranger.
  5. In the displayed dialog box, enter the password of the current login user and click OK.
  6. In the service list, restart the service whose configuration has expired.

Disabling Ranger Authentication

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Services.
  3. Click the specified service name on the service management page.
  4. On the service details page, expand the More drop-down list and select Disable Ranger.
  5. In the displayed dialog box, enter the password of the current login user and click OK. In the displayed dialog box, click OK.
  6. In the service list, restart the service whose configuration has expired.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel