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

Eric Yang commented on YARN-8211:
---------------------------------

System monitoring software usually send a tcp packet to test if port is alive. 
This can cause RegistryDNS to throw BufferUnderflowException.  This is 
perfectly normal, but it would be nice to hide this error message to reduce 
verbose logging on port ping.

> Yarn registry dns log finds BufferUnderflowException
> ----------------------------------------------------
>
>                 Key: YARN-8211
>                 URL: https://issues.apache.org/jira/browse/YARN-8211
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-native-services
>    Affects Versions: 3.1.0
>            Reporter: Yesha Vora
>            Assignee: Eric Yang
>            Priority: Major
>
> Yarn registry dns server is constantly getting BufferUnderflowException. 
> {code:java}
> 2018-04-25 01:36:56,139 WARN  concurrent.ExecutorHelper 
> (ExecutorHelper.java:logThrowableFromAfterExecute(50)) - Execution exception 
> when running task in RegistryDNS 76
> 2018-04-25 01:36:56,139 WARN  concurrent.ExecutorHelper 
> (ExecutorHelper.java:logThrowableFromAfterExecute(63)) - Caught exception in 
> thread RegistryDNS 76:
> java.nio.BufferUnderflowException
>         at java.nio.Buffer.nextGetIndex(Buffer.java:500)
>         at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:135)
>         at 
> org.apache.hadoop.registry.server.dns.RegistryDNS.getMessgeLength(RegistryDNS.java:820)
>         at 
> org.apache.hadoop.registry.server.dns.RegistryDNS.nioTCPClient(RegistryDNS.java:767)
>         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 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