How To: Configure Hive View 2.0 to view Ranger Policies associated with a Table.
We can configure Hive View 2.0 to view Ranger Policies associated with any Table. It will not be configured by default (as of HDP 2.6.3) and we need to follow the below steps:
1. Go to Ambari Dasboard -> admin -> Manage Ambari
2. In the Manage Ambari page under Views section, expand Hive and then click on Hive View 2.0
3. Under the setting section, please provide the details as below:

- Ranger Service Name: Go to Ranger Admin UI and check the Ranger Service Name which is configured for Hive (shown as below). Here it is tsk_hive

- Provide the Ranger Admin username and password as you have configured
- WebHDFS Authentication for kerberos enabled cluster: auth=KERBEROS;proxyuser=<proxyuser>
Provide the ambari user principal name in place of <proxyuser>
4. After adding the above details, click on "Save". Leave the other settings as default.
Additional Steps (only when you are not using local cluster):
- If you are using the Local Cluster, then it is not required to change any parameters in "cluster configuration" section.
- If you are using custom settings, then please provide the details as below:

Once you provide the details, follow the below steps:
5. Go to Hive View 2.0 -> Tables -> click on the Table for which you want to view the Ranger Policies
6. Then click on "Authorization" Tab to view the Ranger Policies as below:


