Daniel Dai created HIVE-20675:
---------------------------------

             Summary: Log pollution from PrivilegeSynchronizer if zk is not 
configured
                 Key: HIVE-20675
                 URL: https://issues.apache.org/jira/browse/HIVE-20675
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2
            Reporter: Daniel Dai
            Assignee: Daniel Dai


Shall stop PrivilegeSynchronizer if "hive.zookeeper.quorum" is not configured. 
Note "hive.privilege.synchronizer" is on by default.

{code}
2018-10-02T16:04:12,488  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_91]
        at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) 
~[?:1.8.0_91]
        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]
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to