[ https://issues.apache.org/jira/browse/HDFS-11593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991573#comment-15991573 ]
Xiaobing Zhou commented on HDFS-11593: -------------------------------------- Posted initial patch for review. > Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug > -------------------------------------------------------------------------- > > Key: HDFS-11593 > URL: https://issues.apache.org/jira/browse/HDFS-11593 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Reporter: Xiaoyu Yao > Assignee: Xiaobing Zhou > Priority: Minor > Labels: newbie > Attachments: HDFS-11593.000.patch > > > A busy datanode may have many client disconnect exception logged with stack > like below, which does not provide much useful information. Propose to reduce > the log level from info to debug. > {code} > 2017-03-29 20:28:55,225 INFO web.DatanodeHttpServer > (SimpleHttpProxyHandler.java:exceptionCaught(147)) - Proxy for / failed. > cause: > java.io.IOException: Connection reset by peer > at sun.nio.ch.FileDispatcherImpl.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) > at sun.nio.ch.IOUtil.read(IOUtil.java:192) > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) > at > io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:446) > at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) > at > io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:225) > at > io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) > at > io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) > at > io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) > at > io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) > at > io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) > at > io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org