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 B4A4E90A0 for ; Sat, 9 Jun 2012 02:21:23 +0000 (UTC) Received: (qmail 26840 invoked by uid 500); 9 Jun 2012 02:21:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26761 invoked by uid 500); 9 Jun 2012 02:21:23 -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 26603 invoked by uid 99); 9 Jun 2012 02:21:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2012 02:21:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 30789142860 for ; Sat, 9 Jun 2012 02:21:23 +0000 (UTC) Date: Sat, 9 Jun 2012 02:21:23 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1624334328.55545.1339208483201.JavaMail.jiratomcat@issues-vm> In-Reply-To: <991657810.50350.1339109843075.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3516) Check content-type in 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-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-3516: ----------------------------------------- Status: Patch Available (was: Open) > Check content-type in WebHdfsFileSystem > --------------------------------------- > > Key: HDFS-3516 > URL: https://issues.apache.org/jira/browse/HDFS-3516 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs client > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h3516_20120607.patch, h3516_20120608.patch > > > WebHdfsFileSystem currently tries to parse the response as json. It may be a good idea to check the content-type before parsing it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira