Eric Yang created YARN-8216:
-------------------------------

             Summary: Reduce RegistryDNS port ping logging
                 Key: YARN-8216
                 URL: https://issues.apache.org/jira/browse/YARN-8216
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.1.0
         Environment: System monitoring software usually send a tcp packet to 
test if port is alive.  This can cause RegistryDNS to throw 
BufferUnderflowException.

{code}
2018-04-26 17:07:55,846 WARN org.apache.hadoop.util.concurrent.ExecutorHelper: 
Execution exception when running task in RegistryDNS 3
2018-04-26 17:07:55,847 WARN org.apache.hadoop.util.concurrent.ExecutorHelper: 
Caught exception in thread RegistryDNS 3:
java.nio.BufferUnderflowException
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)
        at 
org.apache.hadoop.registry.server.dns.RegistryDNS.nioTCPClient(RegistryDNS.java:771)
        at 
org.apache.hadoop.registry.server.dns.RegistryDNS$3.call(RegistryDNS.java:846)
        at 
org.apache.hadoop.registry.server.dns.RegistryDNS$3.call(RegistryDNS.java:843)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
{code}

This is perfectly normal, but it would be nice to hide this error message to 
reduce verbose logging on port ping.
            Reporter: Eric Yang
            Assignee: Eric Yang






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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to