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 4DC4819CCA for ; Mon, 7 Mar 2016 16:44:41 +0000 (UTC) Received: (qmail 49363 invoked by uid 500); 7 Mar 2016 16:44:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 49309 invoked by uid 500); 7 Mar 2016 16:44:40 -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 49279 invoked by uid 99); 7 Mar 2016 16:44:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 16:44:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BA93E2C1F62 for ; Mon, 7 Mar 2016 16:44:40 +0000 (UTC) Date: Mon, 7 Mar 2016 16:44:40 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9887) WebHdfs socket timeouts should be configurable 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-9887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183241#comment-15183241 ] Xiaoyu Yao commented on HDFS-9887: ---------------------------------- Agree, this is a bug. Webhdfs with ssl configuration exception will not honor the configurable webhdfs connect/read timeout. It will always be {{DEFAULT_TIMEOUT_CONN_CONFIGURATOR}} the default value (1 min). > WebHdfs socket timeouts should be configurable > ---------------------------------------------- > > Key: HDFS-9887 > URL: https://issues.apache.org/jira/browse/HDFS-9887 > Project: Hadoop HDFS > Issue Type: Improvement > Components: fs, webhdfs > Environment: all > Reporter: Austin Donnelly > Assignee: Austin Donnelly > Labels: easyfix, newbie > Fix For: 2.8.0 > > Attachments: HADOOP-12827.001.patch, HADOOP-12827.002.patch, HADOOP-12827.002.patch, HADOOP-12827.002.patch, HADOOP-12827.003.patch, HADOOP-12827.004.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > WebHdfs client connections use sockets with fixed timeouts of 60 seconds to connect, and 60 seconds for reads. > This is a problem because I am trying to use WebHdfs to access an archive storage system which can take minutes to hours to return the requested data over WebHdfs. > The fix is to add new configuration file options to allow these 60s defaults to be customised in hdfs-site.xml. > If the new configuration options are not present, the behavior is unchanged from before. -- This message was sent by Atlassian JIRA (v6.3.4#6332)