You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/10/29 21:05:25 UTC

[jira] [Updated] (HIVE-5670) annoying ZK exceptions are annoying

     [ https://issues.apache.org/jira/browse/HIVE-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HIVE-5670:
-----------------------------------

    Attachment: HIVE-5670.patch

Fix the first one by supplying the non-null watcher.
Fix the 2nd one by log configuration.

There's ZK SASL exception still logged (w/o stack), at warn, but I guess it's too dangerous to suppress.

> annoying ZK exceptions are annoying
> -----------------------------------
>
>                 Key: HIVE-5670
>                 URL: https://issues.apache.org/jira/browse/HIVE-5670
>             Project: Hive
>          Issue Type: Task
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>         Attachments: HIVE-5670.patch
>
>
> when I run tests locally (or on cluster IIRC) there are bunch of ZK-related exceptions in Hive log, such as
> {noformat}
> 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)
> {noformat}
> 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...



--
This message was sent by Atlassian JIRA
(v6.1#6144)