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

Gergely Novák commented on HDFS-10270:
--------------------------------------

So [~kihwal], are you suggesting to have a wait/assert for checking if the 
number of connections is equal to 2 (datanode, client)? And to fulfil this to 
increase the ipc client idle timeout? 
If so, can you (or the original author of the test) explain why we need to test 
if the client is still connected?

> TestJMXGet:testNameNode() fails
> -------------------------------
>
>                 Key: HDFS-10270
>                 URL: https://issues.apache.org/jira/browse/HDFS-10270
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 2.8.0
>            Reporter: Andras Bokor
>            Assignee: Gergely Novák
>            Priority: Minor
>         Attachments: HDFS-10270.001.patch, TestJMXGet.log, TestJMXGetFails.log
>
>
> It fails with java.util.concurrent.TimeoutException. Actually the problem 
> here is that we expect 2 as NumOpenConnections metric but it is only 1. So 
> the test waits 60 sec then fails.
> Please find maven output so the stack trace attached ([^TestJMXGetFails.log]).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to