Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 889862009F8 for ; Fri, 20 May 2016 01:13:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86EB8160A1D; Thu, 19 May 2016 23:13:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CDD2C160A0D for ; Fri, 20 May 2016 01:13:13 +0200 (CEST) Received: (qmail 99341 invoked by uid 500); 19 May 2016 23:13:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 99315 invoked by uid 99); 19 May 2016 23:13:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 23:13:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE5242C1F58 for ; Thu, 19 May 2016 23:13:12 +0000 (UTC) Date: Thu, 19 May 2016 23:13:12 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7766) Add a flag to WebHDFS op=CREATE to not respond with a 307 redirect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 May 2016 23:13:14 -0000 [ https://issues.apache.org/jira/browse/HDFS-7766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash updated HDFS-7766: ------------------------------- Attachment: HDFS-7766.06.patch Here's a patch with some improvements to the documentation. I would really like to get this into the 2.8.0 release. If we can get over this hump, we would be able to include file uploading and preview functionality into 2.8.0. > Add a flag to WebHDFS op=CREATE to not respond with a 307 redirect > ------------------------------------------------------------------ > > Key: HDFS-7766 > URL: https://issues.apache.org/jira/browse/HDFS-7766 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Ravi Prakash > Assignee: Ravi Prakash > Attachments: HDFS-7766.01.patch, HDFS-7766.02.patch, HDFS-7766.03.patch, HDFS-7766.04.patch, HDFS-7766.04.patch, HDFS-7766.05.patch, HDFS-7766.06.patch > > > Please see https://issues.apache.org/jira/browse/HDFS-7588?focusedCommentId=14276192&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14276192 > A backwards compatible manner we can fix this is to add a flag on the request which would disable the redirect, i.e. > {noformat} > curl -i -X PUT "http://:/webhdfs/v1/?op=CREATE[&noredirect=] > {noformat} > returns 200 with the DN location in the response. > This would allow the Browser clients to get the redirect URL to put the file to. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org