Chao Sun created HDFS-13267:
-------------------------------

             Summary: Fix TestWebHdfsTimeouts
                 Key: HDFS-13267
                 URL: https://issues.apache.org/jira/browse/HDFS-13267
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test, webhdfs
            Reporter: Chao Sun
            Assignee: Chao Sun


{{TestWebHdfsTimeouts}} fails on Linux, in my case, 

{code}
Linux version 4.4.38 (jenkins@debbuilder02-sjc1) (gcc version 4.9.2 (Debian 
4.9.2-10) ) #1 SMP Mon Dec 12 09:01:31 UTC 2016)
{code}

However, the test succeeds on Mac. It seems this is due to a change on backlog 
queue implementation since Linux 2.2. See 
http://veithen.github.io/2014/01/01/how-tcp-backlog-works-in-linux.html. 
Therefore, 
[{{consumeConnectionBacklog}}|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java#L353]
 doesn't work as intended under Linux. We should figure out a way to fix this 
or disable the relevant tests.



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

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

Reply via email to