[ 
https://issues.apache.org/jira/browse/HIVE-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806993#comment-13806993
 ] 

Brock Noland commented on HIVE-5670:
------------------------------------

I think we should either fix the ZK NPE or upgrade to a version that has it 
fixed.

> 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
>
> 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)

Reply via email to