This section applies to MRS 3.x or later clusters.
This section describes how to set lease isolation for user hiveuser for existing HiveServer instances.
beeline -u "jdbc:hive2://10.5.159.13:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2_zk;sasl.qop=auth-conf;auth=KERBEROS;principal=hive/hadoop.<System domain name>@<System domain name>"
In the command, 10.5.159.13 is replaced with the IP address of any ZooKeeper instance, which can be viewed through Cluster > Name of the desired cluster > Services > ZooKeeper > Instance.
hiveserver2_zk following zooKeeperNamespace= is set to the value of hive.server2.zookeeper.namespace in 4.