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 6FF3710CAA for ; Tue, 22 Oct 2013 00:05:42 +0000 (UTC) Received: (qmail 30536 invoked by uid 500); 22 Oct 2013 00:05:42 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 30502 invoked by uid 500); 22 Oct 2013 00:05:42 -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 30493 invoked by uid 99); 22 Oct 2013 00:05:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 00:05:42 +0000 Date: Tue, 22 Oct 2013 00:05:42 +0000 (UTC) From: "Haohui Mai (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5363) Create SPENGO-authenticated connection in URLConnectionFactory instead of WebHdfsFileSystem 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-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haohui Mai updated HDFS-5363: ----------------------------- Attachment: HDFS-5363.004.patch Updated patch to address Jing's comments. For setTimeout(), it will be used in the SWebHDFS / hsftp, thus it becomes a public method. > Create SPENGO-authenticated connection in URLConnectionFactory instead of WebHdfsFileSystem > ------------------------------------------------------------------------------------------- > > Key: HDFS-5363 > URL: https://issues.apache.org/jira/browse/HDFS-5363 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Haohui Mai > Assignee: Haohui Mai > Attachments: HDFS-5363.000.patch, HDFS-5363.001.patch, HDFS-5363.002.patch, HDFS-5363.003.patch, HDFS-5363.004.patch > > > Currently the WebHdfsSystem class creates the http connection of urls that require SPENGO authentication. This patch moves the above logic to URLConnectionFactory, which is the factory class that supposes to create all http connection of WebHdfs client. -- This message was sent by Atlassian JIRA (v6.1#6144)