ZooKeeperHiveLockManager calls the below method to construct the connection string for ZooKeeper connection.
HIVE_ZOOKEEPER_QUORUM=node1, node2, node3
Connection string given to ZooKeeper object is "node1, node2, node3:9999". ZooKeeper consider the default port as 2181 for hostnames that don't have any port.
This works fine as long as HIVE_ZOOKEEPER_CLIENT_PORT is 2181. If it is different then ZooKeeper client object tries to connect to node1 and node2 on port 2181 which always fails. So it has only one choice the last host which receives all the load from Hive.