Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5670

annoying ZK exceptions are annoying

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      when I run tests locally (or on cluster IIRC) there are bunch of ZK-related exceptions in Hive log, such as

      2013-10-28 09:50:50,851 ERROR zookeeper.ClientCnxn (ClientCnxn.java:processEvent(523)) - Error while calling watcher 
      java.lang.NullPointerException
         at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:521)
         at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:497)
         
         2013-10-28 09:51:05,747 DEBUG server.NIOServerCnxn (NIOServerCnxn.java:closeSock(1024)) - ignoring exception during input shutdown
      java.net.SocketException: Socket is not connected
         at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
         at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:633)
         at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
         at org.apache.zookeeper.server.NIOServerCnxn.closeSock(NIOServerCnxn.java:1020)
         at org.apache.zookeeper.server.NIOServerCnxn.close(NIOServerCnxn.java:977)
         at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:347)
         at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:224)
         at java.lang.Thread.run(Thread.java:680)
      

      They are annoying when you look for actual problems in logs.

      Those on DEBUG level should be silenced via log levels for ZK classes by default. Not sure what to do with ERROR level one(s?), I'd need to look if they can be silenced/logged as DEBUG on hive side, or maybe file a bug for ZK...

      Attachments

        1. HIVE-5670.patch
          4 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: