Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55BCD1844F for ; Mon, 14 Sep 2015 19:44:47 +0000 (UTC) Received: (qmail 55744 invoked by uid 500); 14 Sep 2015 19:44:46 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 55577 invoked by uid 500); 14 Sep 2015 19:44:46 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 55367 invoked by uid 99); 14 Sep 2015 19:44:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2015 19:44:46 +0000 Date: Mon, 14 Sep 2015 19:44:46 +0000 (UTC) From: "Bob Hansen (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9078) WebHDFS does not support HTTP-keepalive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bob Hansen created HDFS-9078: -------------------------------- Summary: WebHDFS does not support HTTP-keepalive Key: HDFS-9078 URL: https://issues.apache.org/jira/browse/HDFS-9078 Project: Hadoop HDFS Issue Type: Improvement Reporter: Bob Hansen Since the inclusion of HDFS-7279, the netty back-end for WebHDFS is using HTTP 1.0, which does not support HDFS-keepalive. In the same use case as HDFS-8855, where a WebHDFS client is seeking around a file, this creates a tremendous amount of connections to the datanode, leaving tens of thousands of connections in a TIME_WAIT state. In some circumstances, all of the available ephemeral ports can be consumed with such connections and the datanode can fail. Configuring netty to support HTTP 1.1 and HTTP-keepalive would allow clients to re-use a single connection (much like HDFS-8855) and keep the number of used ports constrained. -- This message was sent by Atlassian JIRA (v6.3.4#6332)