Hi! I'm trying to install the Ranger Hive Plugin from sources, and I'm getting an error message from HS2.
I've installed a not HA HiveServer2 (not Zookeeper needed AFAIK) that it's working fine, however when I install the ranger-hive-plugin from (ranger-3.0.0-SNAPSHOT-hive-plugin.tar.gz) the HS2 is trying to connect to Zookeeper with the error message: 2022-04-15T12:42:37,234 INFO [main] zookeeper.ZooKeeper: Initiating client connection, connectString=:2181 sessionTimeout=1200000 watcher=org.apache.curator.ConnectionState@530ee28b 2022-04-15T12:42:37,239 DEBUG [main] zookeeper.ClientCnxn: zookeeper.disableAutoWatchReset is false 2022-04-15T12:42:37,285 INFO [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/ 127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2022-04-15T12:42:37,286 WARN [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_322] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716) ~[?:1.8.0_322] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar:3.4.6-1569965] 2022-04-15T12:42:38,389 INFO [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/ 127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2022-04-15T12:42:38,389 WARN [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused It looks like the HS2 is thinking that it is in HA, or something similar, when the ranger plugin is enabled. Any idea, Is this an error? -- Javi Roman Twitter: @javiromanrh GitHub: github.com/javiroman Linkedin: es.linkedin.com/in/javiroman Big Data Blog: dataintensive.info