Apache Hive protection via Apache Ranger is configured The connection goes through the zookeeper quorum, for example:
jdbc:hive2://d01.test.local:2181,d 02.test.local:2181,d 03.test.local:2181/;service Discovery Mode=zooKeeper;zooKeeperNamespace=hiveserver2
Users have the ability to connect to Hive2 by specifying a direct connection to the host, for example:
jdbc:hive2://d01.test.local:10000
But in the policy setting for Have Service Name there can be only one (file ranger-hive-security.xml )
How then to protect hive from such a direct connection?
If the policy is configured via zookeeper then the direct connection is not secured and the audit does not work