Raj, Is it a kerberized cluster? Were you able to connect to hiveserver2 with the parameters which is there in the cluster_hive?
Note that test connection is only for the looking up the hive tables and columns while maintaining ranger policies for hive. It doesn't stop you from creating policies and using ranger hive plugin as such. Thanks, Ramesh From: Raj Pravin <raj.p...@gmail.com<mailto:raj.p...@gmail.com>> Date: Tuesday, May 17, 2016 at 9:48 PM To: Ramesh Mani <rm...@hortonworks.com<mailto:rm...@hortonworks.com>> Subject: Fwd: Ranger HIve plugin Test Connection fails (Under Policy) Hi Ramesh Mani, I am using Ambari -2.4 and also i have installed ranger--> 0.5.0.2.4 and hive--> 1.2.1.2.4,while enabling the hive plugin,the default policy is being created in ranger under the name of <clustername>_hive.while viewing the policy there is some parameters is already filled automatically in that while i am giving test connection, I am getting the following errors.could you help me Connection Failed. Unable to connect repository with given config for cluster_hive Unable to connect repository with given config for cluster_hive Show Less..OK Thanks & Regards RAJPRAVIN S