Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CEAD18C53 for ; Thu, 5 Nov 2015 21:17:28 +0000 (UTC) Received: (qmail 28500 invoked by uid 500); 5 Nov 2015 21:17:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28401 invoked by uid 500); 5 Nov 2015 21:17:28 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 28338 invoked by uid 99); 5 Nov 2015 21:17:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 21:17:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CEF262C1F6A for ; Thu, 5 Nov 2015 21:17:27 +0000 (UTC) Date: Thu, 5 Nov 2015 21:17:27 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9384) TestWebHdfsContentLength intermittently hangs and fails due to TCP conversation mismatch between client and server. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992491#comment-14992491 ] Arpit Agarwal commented on HDFS-9384: ------------------------------------- And +1 from Jenkins too! I can't recall the last time I saw that. > TestWebHdfsContentLength intermittently hangs and fails due to TCP conversation mismatch between client and server. > ------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-9384 > URL: https://issues.apache.org/jira/browse/HDFS-9384 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Minor > Attachments: HDFS-9384.001.patch, HDFS-9384.002.patch > > > {{TestWebHdfsContentLength}} runs a simple hand-coded HTTP server in a background thread to simulate some WebHDFS server responses. In some environments (notably Windows), I have observed that the test can hang and fail intermittently. The root cause is that the server fails to fully consume the client's input. This causes a mismatch in the TCP conversation state, and ultimately the client side hangs, then aborts after the 60-second socket timeout. -- This message was sent by Atlassian JIRA (v6.3.4#6332)